diff --git a/apps/landing/app.config.ts b/apps/landing/app.config.ts index 93a4700f..4b3c2cbf 100644 --- a/apps/landing/app.config.ts +++ b/apps/landing/app.config.ts @@ -10,7 +10,7 @@ const waitlistEndpoint = new URL( ).toString(); export default defineConfig({ - ssr: false, + ssr: true, server: { prerender: { crawlLinks: true, diff --git a/apps/landing/src/entry-server.tsx b/apps/landing/src/entry-server.tsx index ec20e1f3..d8f253a0 100644 --- a/apps/landing/src/entry-server.tsx +++ b/apps/landing/src/entry-server.tsx @@ -1,5 +1,6 @@ // @refresh reload import { StartServer, createHandler } from "@solidjs/start/server"; +import { NoHydration } from "solid-js/web"; export default createHandler( () => ( @@ -16,7 +17,9 @@ export default createHandler( {assets} -
{children}
+
+ {children} +
{scripts} diff --git a/apps/landing/src/routes/index.tsx b/apps/landing/src/routes/index.tsx index 2185e4c5..50c64656 100644 --- a/apps/landing/src/routes/index.tsx +++ b/apps/landing/src/routes/index.tsx @@ -21,6 +21,7 @@ import { import type { JSX } from "solid-js"; import { z } from "zod"; import DashboardImg from "../assets/dashboard.png"; +import { Hydration } from "solid-js/web"; // TODO: Setup unplugin icons function PhLaptop(props: JSX.IntrinsicElements["svg"]) { @@ -115,7 +116,9 @@ export default function Page() {

- + + +