From 85726fe88695cfb7b1d8da982094496421a33cae Mon Sep 17 00:00:00 2001 From: kenneth Date: Sun, 8 Mar 2026 02:31:26 +0000 Subject: [PATCH] feat(waitlist): add footer with bottom progressive blur Co-authored-by: Ona --- .../app/components/progressive-blur.tsx | 23 ++++++++++++++++++- apps/waitlist-website/app/routes/home.tsx | 4 ++-- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/apps/waitlist-website/app/components/progressive-blur.tsx b/apps/waitlist-website/app/components/progressive-blur.tsx index fa78f39..64db1ee 100644 --- a/apps/waitlist-website/app/components/progressive-blur.tsx +++ b/apps/waitlist-website/app/components/progressive-blur.tsx @@ -1,4 +1,25 @@ -export function ProgressiveBlur({ className }: { className?: string }) { +export function ProgressiveBlur({ + className, + direction = "down", +}: { + className?: string + direction?: "down" | "up" +}) { + if (direction === "up") { + return ( +
+
+
+
+
+
+
+
+
+
+ ) + } + return (
diff --git a/apps/waitlist-website/app/routes/home.tsx b/apps/waitlist-website/app/routes/home.tsx index ac8caf5..a84396f 100644 --- a/apps/waitlist-website/app/routes/home.tsx +++ b/apps/waitlist-website/app/routes/home.tsx @@ -1,6 +1,6 @@ import { AnimatePresence, motion } from "motion/react" import React, { useEffect, useLayoutEffect, useRef, useState } from "react" -import { useFetcher } from "react-router" +import { Link, useFetcher } from "react-router" import { Resend } from "resend" import { Streamdown } from "streamdown" @@ -159,7 +159,7 @@ export default function Home() {