From 6fab426b0544b9dc98cf375dad96f67be6e0a892 Mon Sep 17 00:00:00 2001 From: Shiv Bhonde Date: Wed, 21 Feb 2024 00:36:24 +0530 Subject: [PATCH] add scroll to communityGrants and add smooth scroll to html --- packages/nextjs/app/_components/CommunityGrant.tsx | 2 +- packages/nextjs/app/_components/HomepageHero.tsx | 2 +- packages/nextjs/app/layout.tsx | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/nextjs/app/_components/CommunityGrant.tsx b/packages/nextjs/app/_components/CommunityGrant.tsx index 0c47d43..e573927 100644 --- a/packages/nextjs/app/_components/CommunityGrant.tsx +++ b/packages/nextjs/app/_components/CommunityGrant.tsx @@ -3,7 +3,7 @@ import Link from "next/link"; export const CommunityGrant = () => { return ( -
+
{/* Left section(Title, desc and btn) */}
diff --git a/packages/nextjs/app/_components/HomepageHero.tsx b/packages/nextjs/app/_components/HomepageHero.tsx index 87f5bc3..42899bf 100644 --- a/packages/nextjs/app/_components/HomepageHero.tsx +++ b/packages/nextjs/app/_components/HomepageHero.tsx @@ -16,7 +16,7 @@ export const HomepageHero = () => ( just finished SRE or completed one of our batches? This could be the next step in your BuidlGuidl’s journey.

Learn More diff --git a/packages/nextjs/app/layout.tsx b/packages/nextjs/app/layout.tsx index a7e9d9b..70068aa 100644 --- a/packages/nextjs/app/layout.tsx +++ b/packages/nextjs/app/layout.tsx @@ -72,7 +72,10 @@ const spaceGrotesk = Space_Grotesk({ const ScaffoldEthApp = ({ children }: { children: React.ReactNode }) => { return ( - + {children}