diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 36900ba9..37a1db29 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -132,6 +132,9 @@ importers: website: dependencies: + '@t3-oss/env-nextjs': + specifier: 0.11.1 + version: 0.11.1(typescript@5.6.3)(zod@3.23.8) class-variance-authority: specifier: 0.7.0 version: 0.7.0 @@ -1517,6 +1520,24 @@ packages: '@swc/helpers@0.5.5': resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==} + '@t3-oss/env-core@0.11.1': + resolution: {integrity: sha512-MaxOwEoG1ntCFoKJsS7nqwgcxLW1SJw238AJwfJeaz3P/8GtkxXZsPPolsz1AdYvUTbe3XvqZ/VCdfjt+3zmKw==} + peerDependencies: + typescript: '>=5.0.0' + zod: ^3.0.0 + peerDependenciesMeta: + typescript: + optional: true + + '@t3-oss/env-nextjs@0.11.1': + resolution: {integrity: sha512-rx2XL9+v6wtOqLNJbD5eD8OezKlQD1BtC0WvvtHwBgK66jnF5+wGqtgkKK4Ygie1LVmoDClths2T4tdFmRvGrQ==} + peerDependencies: + typescript: '>=5.0.0' + zod: ^3.0.0 + peerDependenciesMeta: + typescript: + optional: true + '@tailwindcss/typography@0.5.15': resolution: {integrity: sha512-AqhlCXl+8grUz8uqExv5OTtgpjuVIwFTSXTrh8y9/pw6q2ek7fJ+Y8ZEVw7EB2DCcuCOtEjf9w3+J3rzts01uA==} peerDependencies: @@ -5141,6 +5162,19 @@ snapshots: '@swc/counter': 0.1.3 tslib: 2.8.0 + '@t3-oss/env-core@0.11.1(typescript@5.6.3)(zod@3.23.8)': + dependencies: + zod: 3.23.8 + optionalDependencies: + typescript: 5.6.3 + + '@t3-oss/env-nextjs@0.11.1(typescript@5.6.3)(zod@3.23.8)': + dependencies: + '@t3-oss/env-core': 0.11.1(typescript@5.6.3)(zod@3.23.8) + zod: 3.23.8 + optionalDependencies: + typescript: 5.6.3 + '@tailwindcss/typography@0.5.15(tailwindcss@3.4.14(ts-node@10.9.2(@types/node@22.7.7)(typescript@5.6.3)))': dependencies: lodash.castarray: 4.4.0 diff --git a/website/app/layout.tsx b/website/app/layout.tsx index e3e35b48..4e3f0998 100644 --- a/website/app/layout.tsx +++ b/website/app/layout.tsx @@ -3,6 +3,8 @@ import { RootProvider } from "fumadocs-ui/provider" import { Rubik } from "next/font/google" import type { ReactNode } from "react" import { baseUrl, createMetadata } from "./og/[...slug]/metadata" +import Script from "next/script" +import { env } from "~/env.mjs" const rubik = Rubik({ subsets: ["latin"], @@ -25,6 +27,13 @@ export default function Layout({ children }: { children: ReactNode }) {