diff --git a/.gitignore b/.gitignore index e46600e..ae17148 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,6 @@ next-env.d.ts # source media (web versions live in public/) content/*.mp4 content/*.pdf + +# source copies of screen markers (served from public/set/markers) +content/screen_markers/ diff --git a/README.md b/README.md index 8c9fdec..f36becb 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,24 @@ All copy (studio info, services, projects, contact email) lives in - **Logo:** the fox mark is a vector in `components/Fox.tsx` / `public/fox.svg`, traced from `G:\_ADMIN\TWOTALESLOGO.png`. Favicons are `app/icon.png` and `app/apple-icon.png`. +## On-set screen markers (`/set`) + +`twotalesvfx.com/set` is a tool page for production crews (not linked from the site, +not indexed). It lists screen-tracking marker images, highlights the one matching the +device it's opened on, and shows it full-screen in one tap. It works offline after the +first visit. + +To add a device, drop PNGs into `public/set/markers/` named like: + +``` +markers_phone_iPhone-Pro_1179x2556.png # full dot grid +edge-markers_phone_iPhone-Pro_2556x1179_landscape.png # edges only +markers_laptop_1920x1080.png # name is optional +``` + +Kinds: `phone`, `tablet`, `laptop`, `monitor`. Any other PNG shows under "Other". +Bump `CACHE` in `public/set/sw.js` when replacing an existing image so phones fetch the new one. + ## Structure ``` diff --git a/app/(site)/layout.tsx b/app/(site)/layout.tsx new file mode 100644 index 0000000..ab84dca --- /dev/null +++ b/app/(site)/layout.tsx @@ -0,0 +1,13 @@ +import Footer from "@/components/Footer"; +import Header from "@/components/Header"; + +// Marketing pages: header, footer and film grain. Tools like /set live outside this group. +export default function SiteLayout({ children }: { children: React.ReactNode }) { + return ( +
+
+
{children}
+
+ ); +} diff --git a/app/page.tsx b/app/(site)/page.tsx similarity index 100% rename from app/page.tsx rename to app/(site)/page.tsx diff --git a/app/work/[slug]/page.tsx b/app/(site)/work/[slug]/page.tsx similarity index 100% rename from app/work/[slug]/page.tsx rename to app/(site)/work/[slug]/page.tsx diff --git a/app/work/page.tsx b/app/(site)/work/page.tsx similarity index 100% rename from app/work/page.tsx rename to app/(site)/work/page.tsx diff --git a/app/layout.tsx b/app/layout.tsx index d3f46c8..daabcff 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,7 +1,5 @@ import type { Metadata, Viewport } from "next"; import { Geist, Geist_Mono, Josefin_Sans } from "next/font/google"; -import Header from "@/components/Header"; -import Footer from "@/components/Footer"; import { site } from "@/content/site"; import "./globals.css"; @@ -40,11 +38,7 @@ export default function RootLayout({ children }: LayoutProps<"/">) { lang="en" className={`${geistSans.variable} ${geistMono.variable} ${josefin.variable} antialiased`} > - -
-
{children}
-