Skip to content

Commit 3048ddd

Browse files
committed
update default ages
1 parent 90a35cc commit 3048ddd

File tree

1 file changed

+25
-23
lines changed

1 file changed

+25
-23
lines changed

pages/dashboards/fra-kaare/raffle.vue

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const { t } = useI18n();
1616
setTitle(() => t("dashboards.title"));
1717
1818
const now = new Date().getFullYear();
19-
const minAge = ref<number>(13);
19+
const minAge = ref<number>(12);
2020
const maxAge = ref<number>(25);
2121
2222
const genders = ["both", "boys", "girls"] as const;
@@ -118,28 +118,30 @@ async function onDrawWinner() {
118118
Født mellom {{ now - maxAge - 1 }} og {{ now - minAge - 1 }}
119119
</span>
120120
</div>
121-
<button
122-
class="type-paragraph-3 shrink-0 rounded-lg bg-background-3 px-3 py-0.5 text-label-3"
123-
@click.stop="
124-
{
125-
minAge = 13;
126-
maxAge = 25;
127-
}
128-
"
129-
>
130-
Sett til 13 - 25
131-
</button>
132-
<button
133-
class="type-paragraph-3 shrink-0 rounded-lg bg-background-3 px-3 py-0.5 text-label-3"
134-
@click.stop="
135-
{
136-
minAge = 12;
137-
maxAge = 36;
138-
}
139-
"
140-
>
141-
Sett til 12 - 36
142-
</button>
121+
<div class="flex gap-2">
122+
<button
123+
class="type-paragraph-3 shrink-0 rounded-lg bg-background-3 px-3 py-0.5 text-label-3"
124+
@click.stop="
125+
{
126+
minAge = 12;
127+
maxAge = 25;
128+
}
129+
"
130+
>
131+
Sett til 12 - 25
132+
</button>
133+
<button
134+
class="type-paragraph-3 shrink-0 rounded-lg bg-background-3 px-3 py-0.5 text-label-3"
135+
@click.stop="
136+
{
137+
minAge = 12;
138+
maxAge = 35;
139+
}
140+
"
141+
>
142+
Sett til 12 - 35
143+
</button>
144+
</div>
143145
</fieldset>
144146

145147
<fieldset

0 commit comments

Comments
 (0)