-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: guide and results subpages with mockup content introduec
- Loading branch information
Showing
3 changed files
with
60 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 34 additions & 2 deletions
36
packages/design-system/src/ui/questionCard/questionGuide.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,35 @@ | ||
export function QuestionGuide() { | ||
return <h1>Question guide</h1>; | ||
import { Button } from "@repo/design-system/ui"; | ||
|
||
type Props = { | ||
onClick: (button: ButtonType) => void; | ||
Check warning on line 4 in packages/design-system/src/ui/questionCard/questionGuide.tsx GitHub Actions / Build & lint
|
||
}; | ||
|
||
export function QuestionGuide({ onClick }: Props) { | ||
return ( | ||
<> | ||
<div className="k1-flex k1-w-full k1-flex-col k1-items-center"> | ||
<span className="k1-font-primary k1-text-2xl k1-font-bold k1-tracking-tight k1-text-neutral-strong"> | ||
Krajské volby | ||
<span className="k1-text-base k1-text-neutral"> | ||
Jihomoravský kraj | ||
</span> | ||
</span> | ||
<p className="k1-font-primary k1-text-base"> | ||
Vítejte ve Volební kalkulačce pro krajské volby 2024 pro Jihomoravský | ||
kraj. Čeká vás 25 otázek. Stejné otázky dostaly všechny kandidující | ||
strany. Zodpovězení otázek zabere zhruba 10 minut a na konci se | ||
dozvíte, jak se jednotlivé strany shodují s vašimi názory. | ||
</p> | ||
<p className="k1-font-primary k1-text-base"> | ||
Oslovili jsme všechny strany bez výjimky. Pokud se některá neobjeví ve | ||
výsledcích, je to proto, že (zatím) neposlala svoje odpovědi. | ||
</p> | ||
</div> | ||
<div> | ||
<Button kind="link" onClick={() => onClick("guide")}> | ||
Přeskočit návod ▶▶ | ||
</Button> | ||
</div> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export function QuestionResults() { | ||
return <h1>Question results</h1>; | ||
return <h1>Rekapitulace</h1>; | ||
} |