diff --git a/apps/landing/src/components/cta-primary-button.tsx b/apps/landing/src/components/cta-primary-button.tsx index 285084679..81241a295 100644 --- a/apps/landing/src/components/cta-primary-button.tsx +++ b/apps/landing/src/components/cta-primary-button.tsx @@ -4,7 +4,11 @@ import Link from 'next/link'; import { ReactNode, useId } from 'react'; import { Platform } from '~/utils/current-platform'; -type CtaButtonProps = { iconComponent?: Icon; glow?: 'lg' | 'sm' | 'none' } & ( +type CtaButtonProps = { + iconComponent?: Icon; + glow?: 'lg' | 'sm' | 'none'; + shrinksOnSmallScreen?: boolean; +} & ( | { href: string; children: ReactNode; @@ -17,6 +21,7 @@ type CtaButtonProps = { iconComponent?: Icon; glow?: 'lg' | 'sm' | 'none' } & ( export function CtaPrimaryButton({ iconComponent: Icon = ArrowCircleDown, glow = 'lg', + shrinksOnSmallScreen = false, ...props }: CtaButtonProps) { const href = @@ -30,7 +35,17 @@ export function CtaPrimaryButton({ : props.platform?.name : undefined; const children = - 'children' in props ? props.children : `Download for ${platformName ?? 'Linux'}`; + 'children' in props ? ( + props.children + ) : ( + <> + Download + + {' '} + for {platformName ?? 'Linux'} + + + ); const id = useId(); @@ -38,9 +53,11 @@ export function CtaPrimaryButton({ {/* Main Navbar */}
{/* End of Gradient Borders */} -
+
{/* Spacedrive Logo and Links */}
@@ -63,7 +62,7 @@ export function NavBar() { /> -
+
{NAVIGATION_ITEMS.map(({ label, href, adornment }) => ( {label}{' '} @@ -78,12 +77,16 @@ export function NavBar() {
{/* Download Button */} -
- +
+
{/* List Icon */} -
+
setIsMenuOpen(!isMenuOpen)}