diff --git a/src/components/Input.astro b/src/components/Input.astro index d41797c..45bc821 100644 --- a/src/components/Input.astro +++ b/src/components/Input.astro @@ -6,12 +6,13 @@ interface Props { type?: string; value?: string; background?: string; + extraAttributes?: Record; } -const { label, name, placeholder, type = 'text', value, background = 'bg-neutral-800' } = Astro.props; +const { label, name, placeholder, type = 'text', value, background = 'bg-neutral-800', extraAttributes = {} } = Astro.props; ---
{label && } - +
diff --git a/src/pages/index.astro b/src/pages/index.astro index 65ce43f..dde5fdb 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -99,10 +99,10 @@ const groupedGames = validGames.reduce((acc, game) => {
- +
- +