diff --git a/src/components/ui/banners/AnnouncementBanner.astro b/src/components/ui/banners/AnnouncementBanner.astro index ad9ae4e..98a9e32 100644 --- a/src/components/ui/banners/AnnouncementBanner.astro +++ b/src/components/ui/banners/AnnouncementBanner.astro @@ -2,7 +2,7 @@ const { title, btnId, btnTitle, url } = Astro.props; interface Props { - title: string; + title?: string; btnId: string; btnTitle: string; url: string; @@ -18,13 +18,15 @@ interface Props { >
+ {title &&

{title}

+ } diff --git a/src/pages/index.astro b/src/pages/index.astro index 0c53ad6..353f738 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -21,9 +21,8 @@ const avatarSrcs: Array = [