Skip to content

Commit 04f064a

Browse files
committed
ユーザー登録・ログインまわり用のlayoutを作成
1 parent 74c0098 commit 04f064a

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

src/layouts/background.vue

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<template>
2+
<v-app>
3+
<v-overlay :value="loading" color="#0071C2" opacity="1" z-index="9999">
4+
<div class="loader">
5+
Loading
6+
</div>
7+
</v-overlay>
8+
<v-app-bar fixed app class="bar" elevation="0">
9+
<header-logo />
10+
</v-app-bar>
11+
<v-content class="LayerContent">
12+
<nuxt />
13+
</v-content>
14+
</v-app>
15+
</template>
16+
17+
<script lang="ts">
18+
import Vue from 'vue'
19+
import HeaderLogo from '@/assets/svgs/header_logo.svg'
20+
21+
type DataType = {
22+
loading: boolean
23+
}
24+
25+
export default Vue.extend({
26+
components: {
27+
HeaderLogo
28+
},
29+
data(): DataType {
30+
return {
31+
loading: true
32+
}
33+
},
34+
mounted(): void {
35+
this.loading = false
36+
}
37+
})
38+
</script>
39+
40+
<style scoped lang="scss">
41+
.LayerContent {
42+
background-color: $color-base-color-01;
43+
}
44+
</style>

0 commit comments

Comments
 (0)