--- // Import the necessary dependencies import GithubBtn from '@components/ui/buttons/GithubBtn.astro'; // Define props from Astro const { title, subTitle, url } = Astro.props; const btnTitle = Astro.currentLocale === 'fr' ? 'Continuer avec Github' : 'Continue with Github'; // Define TypeScript interface for props interface Props { title: string; subTitle?: string; url?: string; } ---
{/* Decorating SVG elements */}
{/* Hero Section Heading */}

{title}

{/* Hero Section Sub-heading */}
{ subTitle && (

{subTitle}

) }
{/* Github Button */} { url && (
) }