From 35aa63fdd8e016c8247e9a58e94366ef9e84688c Mon Sep 17 00:00:00 2001 From: codetorso Date: Mon, 20 May 2024 23:51:19 +0530 Subject: 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(-) (limited to 'apps') 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 (
); diff --git a/apps/web-v2/src/app/(landing)/Hero.tsx b/apps/web-v2/src/app/(landing)/Hero.tsx index a1840fe5..ceb5f545 100644 --- a/apps/web-v2/src/app/(landing)/Hero.tsx +++ b/apps/web-v2/src/app/(landing)/Hero.tsx @@ -23,11 +23,11 @@ function Hero() { <>
-
Follow us on Twitter
+
Follow us on Twitter
+

© 2024 Supermemory.ai

+ + + ) +} + +export default Footer \ No newline at end of file diff --git a/apps/web-v2/src/app/(landing)/linkArrow.tsx b/apps/web-v2/src/app/(landing)/linkArrow.tsx new file mode 100644 index 00000000..d015c9c2 --- /dev/null +++ b/apps/web-v2/src/app/(landing)/linkArrow.tsx @@ -0,0 +1,9 @@ +import React from 'react' + +function LinkArrow({stroke, classname}: {stroke: string, classname?: string}) { + return ( + + ) +} + +export default LinkArrow \ No newline at end of file diff --git a/apps/web-v2/src/app/(landing)/page.tsx b/apps/web-v2/src/app/(landing)/page.tsx index 32c47ce3..5f0787b4 100644 --- a/apps/web-v2/src/app/(landing)/page.tsx +++ b/apps/web-v2/src/app/(landing)/page.tsx @@ -4,6 +4,7 @@ import Navbar from "./Navbar"; import Cta from "./Cta"; import { Toaster } from "@/components/ui/toaster"; import Features from "./Features"; +import Footer from "./footer"; export const runtime = "edge"; @@ -50,14 +51,9 @@ export default function Home() { - +