chore(publish): replace source tree with static export at repo root
Publish the prerendered static export (index.html, 404.html, cinema/,
c/, about/, for-cinemas/, for-film-lovers/, assets/, images/, og/,
sitemap.xml, robots.txt) as the site root and remove the React Router
+ Nitro source tree from this branch. Source remains available in
history at 0548772.
Note: public/sw.js here reports VERSION v2.0.5 while the removed source
tree (v2.1.0) was newer, and .gitignore was not carried over.
This commit is contained in:
1 parent
05487728a7
commit
e6c4ebff48
394 files changed
+3977
-37891
No files matched your search
@@ -1,35 +0,0 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { LOGO_SPEC } from "@/lib/design-tokens";
|
||||
import { logoClasses } from "@/components/site/Logo";
|
||||
|
||||
/**
|
||||
* กันการเผลอเปลี่ยนโลโก้: สเปกใน DESIGN.md ถูกตรึงไว้ที่นี่
|
||||
* ถ้าเทสต์นี้พัง แปลว่ามีคนแก้สเปกโลโก้ — ต้องขออนุมัติก่อน
|
||||
*/
|
||||
describe("โลโก้ AlterFlixHub (สเปกที่ห้ามเปลี่ยน)", () => {
|
||||
it("ใช้คำว่า AlterFlixHub เท่านั้น", () => {
|
||||
expect(LOGO_SPEC.wordmark).toBe("AlterFlixHub");
|
||||
});
|
||||
|
||||
it("ฟอนต์ต้องเป็น Jersey 15", () => {
|
||||
expect(LOGO_SPEC.fontFamily).toContain("Jersey 15");
|
||||
expect(logoClasses("md")).toContain("font-['Jersey_15']");
|
||||
expect(logoClasses("sm")).toContain("font-['Jersey_15']");
|
||||
});
|
||||
|
||||
it("สีต้องเป็นแดงแบรนด์ #8F0808", () => {
|
||||
expect(LOGO_SPEC.color).toBe("#8F0808");
|
||||
});
|
||||
|
||||
it("header 36px (md) และ footer 24px (sm) เท่านั้น", () => {
|
||||
expect(LOGO_SPEC.sizes.md).toBe("text-4xl");
|
||||
expect(LOGO_SPEC.sizes.sm).toBe("text-2xl");
|
||||
expect(logoClasses("md")).toContain("text-4xl");
|
||||
expect(logoClasses("sm")).toContain("text-2xl");
|
||||
});
|
||||
|
||||
it("ไม่มีตัวเลือกขนาดอื่นนอกเหนือจาก sm/md", () => {
|
||||
expect(Object.keys(LOGO_SPEC.sizes).sort()).toEqual(["md", "sm"]);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user