Change
This commit is contained in:
16
app/page.tsx
16
app/page.tsx
@@ -13,15 +13,13 @@ import {
|
||||
|
||||
export default function Home() {
|
||||
const options = [
|
||||
"KW2",
|
||||
"KW3",
|
||||
"KW9",
|
||||
"KW14",
|
||||
"KW8",
|
||||
"KW15",
|
||||
"NH Hannover",
|
||||
"Motel One Hannover",
|
||||
"Premier Inn Hannover City University",
|
||||
"June Six Hotel Hannover City",
|
||||
]
|
||||
const correctAnswer = "KW8";
|
||||
const nextLink = "https://three.christian.miniquiz.your-apps.dev";
|
||||
const correctAnswer = "June Six Hotel Hannover City";
|
||||
const nextLink = "https://four.christian.miniquiz.your-apps.dev";
|
||||
|
||||
const [selectedAnswer, setSelectedAnswer] = React.useState<string | null>(null);
|
||||
const [showNextLink, setShowNextLink] = React.useState<boolean>(false);
|
||||
@@ -53,7 +51,7 @@ export default function Home() {
|
||||
<div className="flex flex-col items-center justify-center h-screen p-10 gap-4">
|
||||
<div className="flex flex-col items-center justify-center max-w-2xl w-full gap-8">
|
||||
<h1 className="text-4xl font-bold">18. Geburtstag</h1>
|
||||
<p className="text-lg text-zinc-500">In welcher Kalenderwoche finden die Faschingsferien in Bayern 2026 statt?</p>
|
||||
<p className="text-lg text-zinc-500">Welches Hotel in Hannover hat den Namen wie das Datum was im Sommer und in der Mitte des Jahres liegt?</p>
|
||||
<RadioGroup onValueChange={handleAnswerChange} value={selectedAnswer} className="flex flex-col items-start justify-start w-full">
|
||||
{options.map((option) => (
|
||||
<div key={option} className="text-2xl font-bold flex items-center justify-start border border-zinc-300 gap-2 rounded-md p-4 w-full">
|
||||
|
||||
Reference in New Issue
Block a user