From 35aa63fdd8e016c8247e9a58e94366ef9e84688c Mon Sep 17 00:00:00 2001 From: codetorso Date: Mon, 20 May 2024 23:51:19 +0530 Subject: [PATCH] landing page improved for readability and smooth scroll --- apps/web-v2/src/app/(landing)/Cta.tsx | 4 ++-- apps/web-v2/src/app/(landing)/Features.tsx | 9 ++++---- apps/web-v2/src/app/(landing)/Hero.tsx | 10 ++++----- apps/web-v2/src/app/(landing)/Navbar.tsx | 4 ++-- apps/web-v2/src/app/(landing)/page.tsx | 12 +++++++++-- apps/web-v2/src/app/globals.css | 24 ++++++++++++++++++++++ 6 files changed, 48 insertions(+), 15 deletions(-) diff --git a/apps/web-v2/src/app/(landing)/Cta.tsx b/apps/web-v2/src/app/(landing)/Cta.tsx index 0024fbf0..ec726634 100644 --- a/apps/web-v2/src/app/(landing)/Cta.tsx +++ b/apps/web-v2/src/app/(landing)/Cta.tsx @@ -12,7 +12,7 @@ function Cta() { {/* a blue gradient line that's slightly tilted with blur (a lotof blur)*/}
@@ -26,7 +26,7 @@ function Cta() { draggable="false" className="absolute z-[-2] hidden select-none rounded-3xl bg-black md:block lg:w-[80%]" /> -

+

Your bookmarks are collecting dust.

diff --git a/apps/web-v2/src/app/(landing)/Features.tsx b/apps/web-v2/src/app/(landing)/Features.tsx index 24b1a228..675ea515 100644 --- a/apps/web-v2/src/app/(landing)/Features.tsx +++ b/apps/web-v2/src/app/(landing)/Features.tsx @@ -21,12 +21,12 @@ export default function Features() { }, []); return ( -
-
+
+
{/* Carousel */}
{/* Content */} @@ -202,7 +202,7 @@ export default function Features() { {/* Features blocks */}
{/* Block #1 */} @@ -320,6 +320,7 @@ export default function Features() {
+
); diff --git a/apps/web-v2/src/app/(landing)/Hero.tsx b/apps/web-v2/src/app/(landing)/Hero.tsx index 0a4284dd..74300c8b 100644 --- a/apps/web-v2/src/app/(landing)/Hero.tsx +++ b/apps/web-v2/src/app/(landing)/Hero.tsx @@ -20,19 +20,19 @@ const slap = { function Hero() { return ( <> -
+
- Follow us on Twitter + Follow us on Twitter Build your own second brain with Supermemory @@ -58,7 +58,7 @@ function Hero() { width={1512} height={1405} draggable="false" - className="z-[-2] mt-16 h-full w-[80%] select-none" + className="z-[-2] mt-28 h-full w-[80%] select-none" /> ); diff --git a/apps/web-v2/src/app/(landing)/Navbar.tsx b/apps/web-v2/src/app/(landing)/Navbar.tsx index 4c3ea609..375ea544 100644 --- a/apps/web-v2/src/app/(landing)/Navbar.tsx +++ b/apps/web-v2/src/app/(landing)/Navbar.tsx @@ -8,10 +8,10 @@ function Navbar() { return (