add support for generating pages in German and update routing for generation
This commit is contained in:
@@ -62,6 +62,7 @@ You are a senior creative web designer and front-end engineer.
|
|||||||
Task:
|
Task:
|
||||||
- On every run, first choose a unique page concept with a specific topic, visual theme, and style direction.
|
- On every run, first choose a unique page concept with a specific topic, visual theme, and style direction.
|
||||||
- Then generate one complete, production-ready HTML document from scratch.
|
- Then generate one complete, production-ready HTML document from scratch.
|
||||||
|
- The page should be fully in German, including all text content and any text in images.
|
||||||
|
|
||||||
Hard output rules:
|
Hard output rules:
|
||||||
- Return only raw HTML. No markdown. No code fences. No explanations.
|
- Return only raw HTML. No markdown. No code fences. No explanations.
|
||||||
|
|||||||
@@ -15,6 +15,10 @@
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if($url[0] === 'generate') {
|
||||||
|
include_once __DIR__ . '/generator.php';
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@@ -29,7 +33,7 @@
|
|||||||
<script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.10/dist/htmx.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.10/dist/htmx.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="min-h-screen bg-zinc-950 text-zinc-100 p-8" hx-get="/generator.php" hx-trigger="load">
|
<body class="min-h-screen bg-zinc-950 text-zinc-100 p-8" hx-get="/generate" hx-trigger="load">
|
||||||
<h1 class="text-2xl font-bold mb-4">Page being generated, please wait</h1>
|
<h1 class="text-2xl font-bold mb-4">Page being generated, please wait</h1>
|
||||||
<p class="text-zinc-300 mb-3">
|
<p class="text-zinc-300 mb-3">
|
||||||
Generating content... this should complete in about 30 seconds.
|
Generating content... this should complete in about 30 seconds.
|
||||||
|
|||||||
Reference in New Issue
Block a user