Skip to content

Commit 8fcd352

Browse files
committed
feature: update to advertisement view (first builtin update to tailwind)
1 parent ff67040 commit 8fcd352

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

src/builtins/advertisement/AdvertisementView.vue

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import { onMounted, ref, onBeforeUnmount } from 'vue'
66
import useViewAPI from '@/core/composables/useViewAPI'
77
const api = useViewAPI()
88
9+
// import UIkit components
10+
import { Button } from '@/uikit/components/ui/button'
11+
912
// animation library
1013
import { animate } from 'motion'
1114
@@ -40,15 +43,15 @@ onBeforeUnmount(() => {
4043
</script>
4144

4245
<template>
43-
<div class="page prevent-select">
46+
<div class="page prevent-select text-center flex flex-col items-center">
4447
<br /><br /><br />
4548
<img ref="logo" src="@/user/assets/brain.svg" width="220" />
4649
<h1 ref="title" class="title is-3">Please help us understand the mind!</h1>
4750
<p>Take part in a short experiment where you play some games.</p>
4851
<br />
49-
<button ref="button" class="button is-warning" id="begintask" @click="finish()">
50-
I'm ready! &nbsp;
51-
<FAIcon icon="fa-solid fa-arrow-right" />
52-
</button>
52+
<Button ref="button" id="begintask" @click="finish()" size="lg">
53+
I'm ready!
54+
<i-lucide-arrow-right />
55+
</Button>
5356
</div>
5457
</template>

0 commit comments

Comments
 (0)