💄 (card) smaller h1
This commit is contained in:
20
src/App.vue
20
src/App.vue
@@ -1,21 +1,13 @@
|
|||||||
|
<script lang="ts" setup>
|
||||||
|
import { useGitHubLogin } from '@/hooks/useGitHubLogin.hook'
|
||||||
|
|
||||||
|
const { isReady } = useGitHubLogin()
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<router-view v-if="isReady" class="app" />
|
<router-view v-if="isReady" class="app" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
|
||||||
import { useGitHubLogin } from '@/hooks/useGitHubLogin.hook'
|
|
||||||
import { defineComponent } from 'vue'
|
|
||||||
|
|
||||||
export default defineComponent({
|
|
||||||
name: 'App',
|
|
||||||
setup() {
|
|
||||||
const { isReady } = useGitHubLogin()
|
|
||||||
|
|
||||||
return { isReady }
|
|
||||||
}
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import 'styles/app';
|
@import 'styles/app';
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -6,7 +6,9 @@ defineProps<{ card: Card }>()
|
|||||||
const emit = defineEmits<{ success: []; fail: [] }>()
|
const emit = defineEmits<{ success: []; fail: [] }>()
|
||||||
|
|
||||||
const flipped = ref(false)
|
const flipped = ref(false)
|
||||||
const flip = () => (flipped.value = !flipped.value)
|
const flip = () => {
|
||||||
|
flipped.value = !flipped.value
|
||||||
|
}
|
||||||
|
|
||||||
const success = () => emit('success')
|
const success = () => emit('success')
|
||||||
|
|
||||||
@@ -34,7 +36,7 @@ const fail = () => emit('fail')
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style lang="scss">
|
||||||
$border-radius: 0.5rem;
|
$border-radius: 0.5rem;
|
||||||
|
|
||||||
.flip-card {
|
.flip-card {
|
||||||
@@ -48,7 +50,6 @@ $border-radius: 0.5rem;
|
|||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transform: scale(1.03);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.flip-card-inner {
|
.flip-card-inner {
|
||||||
@@ -89,4 +90,8 @@ $border-radius: 0.5rem;
|
|||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title.is-2 {
|
||||||
|
font-size: 16pt;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user