Skip to content

Commit

Permalink
Update home with region & senate coming soon
Browse files Browse the repository at this point in the history
  • Loading branch information
krystof-k committed Sep 17, 2024
1 parent d8b05a5 commit 44ce173
Showing 1 changed file with 53 additions and 13 deletions.
66 changes: 53 additions & 13 deletions frontend/src/routes/index/IndexPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,59 @@ const handleSubscribe = async () => {
<BlobComponent color="blue" class="blob1" />
<BlobComponent color="red" class="blob2" />
<StackComponent spacing="medium" centered class="calc-main">
<BodyText size="medium" tag="h1" color="fg-strong">
<strong>Volby do Senátu a zastupitelstev krajů 2024</strong
><br />
20. a 21. září 2024
<br />
</BodyText>
<HeadlineText tag="p" size="small">
Krajské a senátní volby
<span style="color: rgb(var(--color-neutral-fg))"> 2024 </span>
</HeadlineText>
<BodyText size="large"
>Připravujeme pro vás volební kalkulačku pro krajské a senátní volby</BodyText
>
<StackComponent spacing="large" centered space-between>
<BodyText size="medium" tag="h1" color="fg-strong">
<strong>Volby do Senátu a zastupitelstev krajů 2024</strong
><br />
20. a 21. září 2024
<br />
</BodyText>
<HeadlineText tag="p" size="small">
Krajské a senátní volby
<span style="color: rgb(var(--color-neutral-fg))"> 2024 </span>
</HeadlineText>
<StackComponent horizontal spacing="large" wrap style="justify-content: center;">
<StackComponent vertical spacing="small" centered>
<ButtonComponent
kind="filled"
color="primary"
@click="
router.push({
name: appRoutes.districtSelectionHackRegion.name,
params: { ...route.params },
query: { ...route.query },
})
"
>
Vybrat kraj
<template #iconAfter>
<IconComponent :icon="mdiArrowRight" />
</template>
</ButtonComponent>
<BodyText size="small"> 25 otázek, 5–10 minut</BodyText>
</StackComponent>
<StackComponent vertical spacing="small" centered>
<ButtonComponent
kind="filled"
color="primary"
@click="
router.push({
name: appRoutes.districtSelectionHackSenate.name,
params: { ...route.params },
query: { ...route.query },
})
"
disabled
>
Vybrat senátní obvod
<template #iconAfter>
<IconComponent :icon="mdiArrowRight" />
</template>
</ButtonComponent>
<BodyText size="small"> Senátní kalkulačku spustíme již brzy! </BodyText>
</StackComponent>
</StackComponent>
</StackComponent>
<StackComponent class="section" spacing="large" centered>
<ButtonComponent kind="link" @click="scrollDown">
<div class="button-content">
Expand Down

0 comments on commit 44ce173

Please sign in to comment.