diff --git a/src/components/generators/CardGenerator.astro b/src/components/generators/CardGenerator.astro new file mode 100644 index 0000000..3217ba8 --- /dev/null +++ b/src/components/generators/CardGenerator.astro @@ -0,0 +1,187 @@ +--- +// Interactive card generator — runs on the client via inline script +--- + +
+
+
+ + +
+ +
+ + + +
+
+ + +
+ +
+ +
+
+ + diff --git a/src/data/generators.ts b/src/data/generators.ts index ba12ae7..1a9c824 100644 --- a/src/data/generators.ts +++ b/src/data/generators.ts @@ -47,6 +47,6 @@ export const generators: Generator[] = [ title: 'Card', description: 'Draw a random playing card from a standard deck.', icon: 'square-stack', - status: 'coming-soon', + status: 'live', }, ]; diff --git a/src/pages/generators/cards.astro b/src/pages/generators/cards.astro new file mode 100644 index 0000000..f606a11 --- /dev/null +++ b/src/pages/generators/cards.astro @@ -0,0 +1,63 @@ +--- +import BaseLayout from '../../layouts/BaseLayout.astro'; +import CardGenerator from '../../components/generators/CardGenerator.astro'; +import AdBanner from '../../components/AdBanner.astro'; +import { generators } from '../../data/generators'; + +const generator = generators.find((g) => g.slug === 'cards')!; +--- + + +
+ + +
+
+ + randify +
+

+ {generator.title} Generator +

+

{generator.description}

+
+ +
+ +
+ +
+ + + +
+
+