Skip to content

Commit 4374187

Browse files
committed
indexのv-btnを可能な限りActionButtonに書き換え
1 parent 2335002 commit 4374187

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/pages/index.vue

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,18 @@
3434
<span class="description mb-3">時間割をつくる先生方</span>
3535
</v-row>
3636
<div style="margin: 0 10px;">
37-
<v-btn
38-
color="#FFDB6C"
39-
height="60px"
37+
<action-button
38+
text="ユーザー登録する"
4039
class="registerButton"
41-
to="terms"
42-
block
43-
rounded
44-
>
45-
ユーザー登録する
46-
</v-btn>
40+
@click="$router.push('/terms')"
41+
/>
4742

48-
<v-btn block class="loginButton" color="white" height="50px" rounded>
49-
ログインする
50-
</v-btn>
43+
<action-button
44+
text="ログインする"
45+
class="loginButton"
46+
theme="secondary"
47+
@click="$router.push('/account/login')"
48+
/>
5149
<v-footer color="#004170" padless>
5250
<v-row justify="center" no-gutters>
5351
<v-col class="white--text text-center footerText" cols="12">
@@ -73,6 +71,7 @@
7371
import Vue from 'vue'
7472
import { vxm } from '@/store'
7573
import InputField from '@/components/InputField.vue'
74+
import ActionButton from '@/components/ActionButton.vue'
7675
7776
type DataType = {
7877
classId: string
@@ -84,6 +83,7 @@ type DataType = {
8483
8584
export default Vue.extend({
8685
components: {
86+
ActionButton,
8787
InputField
8888
},
8989
data(): DataType {

0 commit comments

Comments
 (0)