diff --git a/src/components/generators/LotteryGenerator.astro b/src/components/generators/LotteryGenerator.astro new file mode 100644 index 0000000..a055a9a --- /dev/null +++ b/src/components/generators/LotteryGenerator.astro @@ -0,0 +1,179 @@ +--- +// Interactive lottery generator — runs on the client via inline script +--- + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+
+ + +
+ +
+ +
+
+ + diff --git a/src/data/generators.ts b/src/data/generators.ts index 7579d87..012f729 100644 --- a/src/data/generators.ts +++ b/src/data/generators.ts @@ -33,7 +33,7 @@ export const generators: Generator[] = [ title: 'Lottery', description: 'Draw a set of unique numbers for lottery-style picks.', icon: 'ticket', - status: 'coming-soon', + status: 'live', }, { slug: 'dice', diff --git a/src/pages/generators/lottery.astro b/src/pages/generators/lottery.astro new file mode 100644 index 0000000..a27974f --- /dev/null +++ b/src/pages/generators/lottery.astro @@ -0,0 +1,63 @@ +--- +import BaseLayout from '../../layouts/BaseLayout.astro'; +import LotteryGenerator from '../../components/generators/LotteryGenerator.astro'; +import AdBanner from '../../components/AdBanner.astro'; +import { generators } from '../../data/generators'; + +const generator = generators.find((g) => g.slug === 'lottery')!; +--- + + +
+ + +
+
+ + randify +
+

+ {generator.title} Generator +

+

{generator.description}

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