2018-02-10 07:56:33 +02:00
|
|
|
|
<template>
|
2018-02-10 12:57:37 +02:00
|
|
|
|
<div class="mk-welcome">
|
2018-02-10 07:56:33 +02:00
|
|
|
|
<main>
|
|
|
|
|
<div>
|
2018-02-10 08:06:11 +02:00
|
|
|
|
<h1>Share<br>Everything!</h1>
|
2018-02-10 07:56:33 +02:00
|
|
|
|
<p>ようこそ! <b>Misskey</b>はTwitter風ミニブログSNSです――思ったこと、共有したいことをシンプルに書き残せます。タイムラインを見れば、皆の反応や皆がどう思っているのかもすぐにわかります。<a>詳しく...</a></p>
|
|
|
|
|
<p><button class="signup" @click="signup">はじめる</button><button class="signin" @click="signin">ログイン</button></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</main>
|
|
|
|
|
<mk-forkit/>
|
|
|
|
|
<footer>
|
|
|
|
|
<div>
|
2018-02-11 05:42:02 +02:00
|
|
|
|
<mk-nav :class="$style.nav"/>
|
|
|
|
|
<p class="c">{{ copyright }}</p>
|
2018-02-10 07:56:33 +02:00
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
2018-02-10 12:57:37 +02:00
|
|
|
|
<modal name="signup" width="500px" height="auto" scrollable>
|
|
|
|
|
<header :class="$style.signupFormHeader">新規登録</header>
|
2018-02-11 05:08:43 +02:00
|
|
|
|
<mk-signup :class="$style.signupForm"/>
|
|
|
|
|
</modal>
|
|
|
|
|
<modal name="signin" width="500px" height="auto" scrollable>
|
|
|
|
|
<header :class="$style.signinFormHeader">ログイン</header>
|
|
|
|
|
<mk-signin :class="$style.signinForm"/>
|
2018-02-10 09:22:14 +02:00
|
|
|
|
</modal>
|
2018-02-10 07:56:33 +02:00
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
<script lang="ts">
|
|
|
|
|
import Vue from 'vue';
|
2018-02-11 05:42:02 +02:00
|
|
|
|
import { copyright } from '../../../config';
|
2018-02-10 09:22:14 +02:00
|
|
|
|
|
|
|
|
|
export default Vue.extend({
|
2018-02-11 05:42:02 +02:00
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
copyright
|
|
|
|
|
};
|
|
|
|
|
},
|
2018-02-10 09:22:14 +02:00
|
|
|
|
methods: {
|
|
|
|
|
signup() {
|
|
|
|
|
this.$modal.show('signup');
|
2018-02-11 05:08:43 +02:00
|
|
|
|
},
|
|
|
|
|
signin() {
|
|
|
|
|
this.$modal.show('signin');
|
2018-02-10 09:22:14 +02:00
|
|
|
|
}
|
2018-02-10 07:56:33 +02:00
|
|
|
|
}
|
2018-02-10 09:22:14 +02:00
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
#wait {
|
|
|
|
|
right: auto;
|
|
|
|
|
left: 15px;
|
|
|
|
|
}
|
2018-02-10 07:56:33 +02:00
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style lang="stylus" scoped>
|
2018-03-03 06:47:55 +02:00
|
|
|
|
@import '~const.styl'
|
|
|
|
|
|
2018-02-10 12:57:37 +02:00
|
|
|
|
.mk-welcome
|
2018-02-10 09:22:14 +02:00
|
|
|
|
display flex
|
|
|
|
|
flex-direction column
|
|
|
|
|
flex 1
|
|
|
|
|
background #eee
|
|
|
|
|
$width = 1000px
|
|
|
|
|
|
|
|
|
|
> main
|
2018-02-10 07:56:33 +02:00
|
|
|
|
display flex
|
|
|
|
|
flex 1
|
2018-02-10 09:22:14 +02:00
|
|
|
|
max-width $width
|
|
|
|
|
margin 0 auto
|
|
|
|
|
padding 80px 0 0 0
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
> div:first-child
|
|
|
|
|
margin 0 auto 0 0
|
|
|
|
|
width calc(100% - 500px)
|
|
|
|
|
color #777
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
> h1
|
|
|
|
|
margin 0
|
|
|
|
|
font-weight normal
|
|
|
|
|
font-variant small-caps
|
|
|
|
|
letter-spacing 12px
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
> p
|
|
|
|
|
margin 0.5em 0
|
|
|
|
|
line-height 2em
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
button
|
|
|
|
|
padding 8px 16px
|
|
|
|
|
font-size inherit
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
.signup
|
|
|
|
|
color $theme-color
|
|
|
|
|
border solid 2px $theme-color
|
|
|
|
|
border-radius 4px
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
&:focus
|
|
|
|
|
box-shadow 0 0 0 3px rgba($theme-color, 0.2)
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
&:hover
|
|
|
|
|
color $theme-color-foreground
|
|
|
|
|
background $theme-color
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
&:active
|
|
|
|
|
color $theme-color-foreground
|
|
|
|
|
background darken($theme-color, 10%)
|
|
|
|
|
border-color darken($theme-color, 10%)
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
.signin
|
|
|
|
|
&:focus
|
|
|
|
|
color #444
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
&:hover
|
|
|
|
|
color #444
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
&:active
|
|
|
|
|
color #333
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
> div:last-child
|
|
|
|
|
margin 0 0 0 auto
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
> footer
|
2018-02-11 05:42:02 +02:00
|
|
|
|
color #666
|
2018-02-10 09:22:14 +02:00
|
|
|
|
background #fff
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
> div
|
|
|
|
|
max-width $width
|
|
|
|
|
margin 0 auto
|
2018-02-11 05:42:02 +02:00
|
|
|
|
padding 42px 0
|
2018-02-10 09:22:14 +02:00
|
|
|
|
text-align center
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
2018-02-10 09:22:14 +02:00
|
|
|
|
> .c
|
2018-02-11 05:42:02 +02:00
|
|
|
|
margin 16px 0 0 0
|
2018-02-10 09:22:14 +02:00
|
|
|
|
font-size 10px
|
2018-02-10 07:56:33 +02:00
|
|
|
|
|
|
|
|
|
</style>
|
2018-02-10 12:57:37 +02:00
|
|
|
|
|
|
|
|
|
<style lang="stylus" module>
|
|
|
|
|
.signupForm
|
|
|
|
|
padding 24px 48px 48px 48px
|
|
|
|
|
|
|
|
|
|
.signupFormHeader
|
|
|
|
|
padding 48px 0 12px 0
|
|
|
|
|
margin: 0 48px
|
|
|
|
|
font-size 1.5em
|
|
|
|
|
color #777
|
|
|
|
|
border-bottom solid 1px #eee
|
2018-02-11 05:08:43 +02:00
|
|
|
|
|
|
|
|
|
.signinForm
|
|
|
|
|
padding 24px 48px 48px 48px
|
|
|
|
|
|
|
|
|
|
.signinFormHeader
|
|
|
|
|
padding 48px 0 12px 0
|
|
|
|
|
margin: 0 48px
|
|
|
|
|
font-size 1.5em
|
|
|
|
|
color #777
|
|
|
|
|
border-bottom solid 1px #eee
|
2018-02-11 05:42:02 +02:00
|
|
|
|
|
|
|
|
|
.nav
|
|
|
|
|
a
|
|
|
|
|
color #666
|
2018-02-10 12:57:37 +02:00
|
|
|
|
</style>
|