From da5cf81a65dcfac23efcefc1544d6e3a77f2a72c Mon Sep 17 00:00:00 2001 From: Sourabh Singh Rawat <103349890+Sourabh782@users.noreply.github.com> Date: Fri, 9 Aug 2024 00:07:45 +0530 Subject: [PATCH] feat: added scroll indicator (#418) --- src/app/page.tsx | 2 ++ src/components/ProgressBar/index.tsx | 20 ++++++++++++++++++++ src/components/pages/contribute/index.tsx | 6 ++++-- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 src/components/ProgressBar/index.tsx diff --git a/src/app/page.tsx b/src/app/page.tsx index 5ea22ff4..2ec021bc 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -3,6 +3,7 @@ import Footer from "@/components/core/footer"; import Navbar from "@/components/core/navbar"; import { cookies } from "next/headers"; import { getGithubStars } from "@/helper/getGithubStars"; +import ProgressBar from "@/components/ProgressBar"; export default async function Home() { const starCount: number = await getGithubStars(); @@ -13,6 +14,7 @@ export default async function Home() { return ( <> +