diff --git a/apps/web/app/(landing)/layout.tsx b/apps/web/app/(landing)/layout.tsx new file mode 100644 index 00000000..c68a032a --- /dev/null +++ b/apps/web/app/(landing)/layout.tsx @@ -0,0 +1,29 @@ +import { Geist_Mono, Schibsted_Grotesk } from "next/font/google"; +import LaunchBanner from "@/components/launch-banner"; + +const schibstedGrotesk = Schibsted_Grotesk({ + variable: "--font-schibsted-grotesk", + subsets: ["latin"], + display: "swap", +}); + +const geistMono = Geist_Mono({ + variable: "--font-geist-mono", + subsets: ["latin"], + display: "swap", +}); + +export default function MarketingLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( +
+
56 releases shipped
+
{entry.text}
+
{item.a}
+
diff --git a/apps/web/components/homepage/get-started.tsx b/apps/web/components/homepage/get-started.tsx index bca6f15d..ba78c1cd 100644 --- a/apps/web/components/homepage/get-started.tsx +++ b/apps/web/components/homepage/get-started.tsx @@ -19,16 +19,18 @@ const commands: CommandLine[] = [ { type: "info", text: "start shipping with supercode" }, ] -const reduceMotion = - typeof window !== "undefined" - ? window.matchMedia("(prefers-reduced-motion: reduce)").matches - : false - const GetStartedSection = () => { const [visible, setVisible] = useState(false) + const [reduceMotion, setReduceMotion] = useState(false) const [copiedIndex, setCopiedIndex] = useState