diff --git a/package.json b/package.json index 36c2c99..47ddf88 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fgo-ta-com-website", "type": "module", - "version": "0.2.2-pre.3", + "version": "0.2.2-pre.4", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/src/components/listings/eventListingLine.astro b/src/components/listings/eventListingLine.astro index eab60df..8922b74 100644 --- a/src/components/listings/eventListingLine.astro +++ b/src/components/listings/eventListingLine.astro @@ -3,7 +3,8 @@ export interface Props { title: string releaseDate: Date shortdescription: string - link: string + link: string, + hlcolor: string, } const options_date: Intl.DateTimeFormatOptions = { @@ -12,7 +13,7 @@ const options_date: Intl.DateTimeFormatOptions = { day: '2-digit', } -const { shortdescription, releaseDate, title, link } = Astro.props +const { shortdescription, releaseDate, title, link, hlcolor } = Astro.props const render_date = releaseDate.toLocaleDateString('en-GB', options_date) --- @@ -25,7 +26,7 @@ const render_date = releaseDate.toLocaleDateString('en-GB', options_date) -