Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat: Add product hunt banner
Richie McIlroyfe4f659d46ef
diff --git a/apps/web/components/Navbar.tsx b/apps/web/components/Navbar.tsxindex 60f47ca92..3134dbae5 100644--- a/apps/web/components/Navbar.tsx+++ b/apps/web/components/Navbar.tsx@@ -38,6 +38,19 @@ export const Navbar = ({ auth }: { auth: boolean }) => {return (<>+ <div className="bg-[#FF6154] text-center flex items-center justify-center p-3 relative z-[999999]">+ <a+ href="https://cap.link/ph"+ target="_blank"+ rel="noopener noreferrer"+ className="text-xs sm:text-sm text-white cursor-pointer"+ >+ Cap is LIVE on Product Hunt!{" "}+ <span className="block sm:inline text-xs sm:text-sm font-bold underline text-white">+ Help us reach #1 Product of the Day →+ </span>+ </a>+ </div><divclassName={`${isHomePage || isSeoPagediff --git a/apps/web/components/pages/HomePage.tsx b/apps/web/components/pages/HomePage.tsxindex 9a3fe1742..0e15afe19 100644--- a/apps/web/components/pages/HomePage.tsx+++ b/apps/web/components/pages/HomePage.tsx@@ -87,10 +87,10 @@ export const HomePage = () => {return (<ParallaxProvider>- <div className="-mt-[80px] custom-bg min-h-screen md:min-h-[calc(100vh+20px)] relative flex items-center">+ <div className="-mt-[73px] custom-bg min-h-screen md:min-h-[calc(100vh+20px)] relative flex items-center"><div className="w-full relative z-10 flex"><div className="wrapper wrapper-sm mx-auto">- <div className="mb-auto text-center px-4 pt-40 pb-52 md:pb-64 -mt-40">+ <div className="mb-auto text-center px-4 pt-60 pb-72 sm:pb-80 -mt-40"><Linkhref="/updates/cap-v03-launch"className="mx-auto mb-4 inline-flex justify-center font-medium transition-colors focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 bg-blue-400 hover:bg-blue-500 h-9 px-4 py-2 rounded-full space-x-2 items-center animate-pulse"@@ -181,7 +181,7 @@ export const HomePage = () => {</div><divid="scrolling-section"- className="pb-32 md:pb-48 fade-in-up animate-delay-2 -mt-40"+ className="pb-32 md:pb-48 fade-in-up animate-delay-2 -mt-24"><ParallaxclassName="cursor-pointer"