From 8953cecd40e9024d99dfda31d910309253c88f3d Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Sat, 29 Mar 2025 10:30:05 +0000 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Prefetch=20subscription=20?= =?UTF-8?q?data=20+=20Upgrade=20framer=20motion=20(#1647)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/landing/src/app/[locale]/layout.tsx | 217 +- .../src/components/home/bonus-item.tsx | 6 +- apps/landing/src/components/home/hero.tsx | 10 +- apps/landing/src/components/marketing.tsx | 10 +- apps/web/package.json | 1 + apps/web/src/app/[locale]/layout.tsx | 50 +- apps/web/src/app/providers.tsx | 32 - apps/web/src/components/cookie-consent.tsx | 3 +- apps/web/src/components/pay-wall-dialog.tsx | 2 +- apps/web/src/components/poll/mobile-poll.tsx | 3 +- .../web/src/components/poll/score-summary.tsx | 3 +- apps/web/src/utils/dayjs.tsx | 2 + package.json | 1 - packages/emails/package.json | 2 +- packages/posthog/src/client/index.ts | 2 + yarn.lock | 1799 ++++++----------- 16 files changed, 749 insertions(+), 1394 deletions(-) delete mode 100644 apps/web/src/app/providers.tsx diff --git a/apps/landing/src/app/[locale]/layout.tsx b/apps/landing/src/app/[locale]/layout.tsx index f123f58ca..13ac3e675 100644 --- a/apps/landing/src/app/[locale]/layout.tsx +++ b/apps/landing/src/app/[locale]/layout.tsx @@ -11,6 +11,7 @@ import { } from "@rallly/ui/dropdown-menu"; import { Analytics } from "@vercel/analytics/react"; import { ChevronRightIcon, MenuIcon } from "lucide-react"; +import { domAnimation, LazyMotion } from "motion/react"; import type { Viewport } from "next"; import Image from "next/image"; import Link from "next/link"; @@ -44,112 +45,118 @@ export default async function Root({ return ( - -
-
-
- - rallly.co - - -
-
- - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+
+
+ + rallly.co + +
-
-
-
{children}
-
-
-
-
-
-
+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
{children}
+
+