Skip to content

Commit b63fb54

Browse files
committed
登録完了ページを作成
1 parent 8d5dcd3 commit b63fb54

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

src/pages/user/registered.vue

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<template>
2+
<bottom-sheet-layer title="登録されました!" title-en="THANK YOU!">
3+
<template v-slot:LayerContents>
4+
<div class="Registered-Contents">
5+
<v-icon color="white" class="Registered-Icon">
6+
mdi-clipboard-account
7+
</v-icon>
8+
<p class="Registered-Text">あなたのクラスIDです</p>
9+
<div class="Registered-Id">ほげほげほげ</div>
10+
</div>
11+
</template>
12+
<template v-slot:LayerFooter>
13+
<action-button
14+
theme="primary"
15+
text="授業を追加・編集する"
16+
class="Registered-Button"
17+
/>
18+
<action-button theme="secondary" text="クラスIDを共有する" />
19+
</template>
20+
</bottom-sheet-layer>
21+
</template>
22+
23+
<script lang="ts">
24+
import Vue from 'vue'
25+
import BottomSheetLayer from '@/components/BottomSheetLayer.vue'
26+
import ActionButton from '@/components/ActionButton.vue'
27+
28+
export default Vue.extend({
29+
components: { BottomSheetLayer, ActionButton },
30+
layout: 'background'
31+
})
32+
</script>
33+
34+
<style lang="scss" scoped>
35+
.Registered-Contents {
36+
display: flex;
37+
flex-direction: column;
38+
justify-content: center;
39+
align-items: center;
40+
padding: 24px 0;
41+
}
42+
.Registered-Icon {
43+
font-size: 50px;
44+
}
45+
.Registered-Text {
46+
font-size: 16px;
47+
font-weight: bold;
48+
color: $color-white;
49+
margin: 24px 0 12px;
50+
}
51+
.Registered-Id {
52+
max-width: 9em;
53+
padding: 16px 24px;
54+
text-align: center;
55+
background-color: $color-white;
56+
border: 2px solid $color-base-color-01;
57+
border-radius: 14px;
58+
letter-spacing: 0.2em;
59+
line-height: 1.25;
60+
font-size: 30px;
61+
color: $color-gray;
62+
}
63+
.Registered-Button {
64+
margin-bottom: 16px;
65+
}
66+
</style>

0 commit comments

Comments
 (0)