diff --git a/.env.local b/.env.local new file mode 100644 index 000000000..7165ac2be --- /dev/null +++ b/.env.local @@ -0,0 +1,4 @@ +NEXT_PUBLIC_HASHNODE_GQL_ENDPOINT=https://gql.hashnode.com +NEXT_PUBLIC_HASHNODE_PUBLICATION_HOST=finntranter.hashnode.dev # ← Change to your actual Hashnode publication handle (check in Hashnode dashboard → Settings → Domains or Profile) +NEXT_PUBLIC_BASE_URL=/blog # ← This enables subpath mode (change to /articles if preferred) +NEXT_PUBLIC_MODE=production diff --git a/layout.tsx b/layout.tsx new file mode 100644 index 000000000..c72ce8c0b --- /dev/null +++ b/layout.tsx @@ -0,0 +1,140 @@ +import { Analytics } from './analytics'; +import { Integrations } from './integrations'; +import { Meta } from './meta'; +import { Scripts } from './scripts'; + +type Props = { + children: React.ReactNode; +}; + +export const Layout = ({ children }: Props) => { + return ( + <> + + + + {/* ──────────────────────────────────────────────── + Your white sticky nav bar inserted here + ──────────────────────────────────────────────── */} + + +
+
{children}
+
+ + + + + ); +}; \ No newline at end of file