Skip to content

Commit 862d226

Browse files
authored
Merge branch 'development' into feature/classes-index
2 parents c1bf5bc + 8ac922b commit 862d226

File tree

6 files changed

+280
-3
lines changed

6 files changed

+280
-3
lines changed

src/assets/svgs/prj_logo.svg

Lines changed: 30 additions & 0 deletions
Loading

src/components/ActionButton.vue

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<template>
2+
<button :class="`ActionButton ActionButton-${theme}`" @click="onClick">
3+
<span>{{ text }}</span>
4+
</button>
5+
</template>
6+
7+
<script lang="ts">
8+
import { Vue, Component, Prop } from 'vue-property-decorator'
9+
10+
type Theme = 'primary' | 'secondary' | 'border' | 'transparent'
11+
12+
@Component
13+
export default class ActionButton extends Vue {
14+
@Prop({ default: 'primary' })
15+
theme!: Theme
16+
17+
@Prop({ default: '' })
18+
text!: string | undefined
19+
20+
onClick(): void {
21+
this.$router.push('/')
22+
}
23+
}
24+
</script>
25+
26+
<style lang="scss" scoped>
27+
.ActionButton {
28+
width: 100%;
29+
border-radius: 3em;
30+
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
31+
0 1px 10px 0 rgba(0, 0, 0, 0.12);
32+
text-align: center;
33+
font-size: 20px;
34+
font-weight: bold;
35+
padding: 12px 16px;
36+
37+
&-primary {
38+
background-color: $color-yellow;
39+
color: $color-gray;
40+
}
41+
42+
&-secondary {
43+
background-color: $color-white;
44+
color: $color-gray;
45+
}
46+
47+
&-border {
48+
background-color: $color-white;
49+
border: 1px solid $color-base-color-01;
50+
color: $color-base-color-01;
51+
box-shadow: none;
52+
}
53+
54+
&-transparent {
55+
border: 1px solid $color-white;
56+
color: $color-white;
57+
box-shadow: none;
58+
}
59+
}
60+
</style>

src/layouts/simple.vue

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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+
<HeaderLogo />
10+
<v-spacer />
11+
<v-btn outlined rounded color="#0071C2">
12+
<v-icon left>mdi-arrow-left</v-icon>
13+
もどる
14+
</v-btn>
15+
</v-app-bar>
16+
<v-content class="content">
17+
<v-container class="px-4 py-8">
18+
<nuxt />
19+
</v-container>
20+
</v-content>
21+
</v-app>
22+
</template>
23+
24+
<script lang="ts">
25+
import Vue from 'vue'
26+
import HeaderLogo from '@/assets/svgs/header_logo.svg'
27+
28+
type LocalData = {
29+
loading: boolean
30+
}
31+
32+
export default Vue.extend({
33+
components: { HeaderLogo },
34+
data(): LocalData {
35+
return {
36+
loading: true
37+
}
38+
},
39+
mounted(): void {
40+
this.loading = false
41+
}
42+
})
43+
</script>
44+
45+
<style scoped lang="scss">
46+
.date-icon {
47+
margin-right: 15px;
48+
}
49+
.bar {
50+
background-color: rgba(0, 0, 0, 0);
51+
color: #fff;
52+
text-align: center;
53+
}
54+
.content {
55+
background-color: $color-base-color-01;
56+
}
57+
.loader {
58+
color: $color-white;
59+
}
60+
</style>

src/pages/policy.vue

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<template>
2+
<div class="MainPage">
3+
<div class="Logo-outer">
4+
<prj-logo class="Logo" />
5+
</div>
6+
<div class="PolicyText-outer">
7+
<p>
8+
一般社団法人コード・フォー・ジャパン(以下、「弊団体」といいます)は、個人情報に関する法令を遵守し、個人情報の適切な取り扱いを実現致します。
9+
</p>
10+
<p>
11+
なお、弊団体が、参加者等(弊団体が運営するイベントやWebページ等への参加者や訪問者をいいます。以下同じ。)から取得した個人情報は、本プライバシーポリシーに従って管理され、参加者等は、弊団体が提供する各種イベントやWebページ(以下、総称して「弊社イベント等」という)を利用する際には、本プライバシーポリシーに定める内容を理解し、これに同意した上で利用するものとします。
12+
</p>
13+
</div>
14+
</div>
15+
</template>
16+
17+
<script lang="ts">
18+
import Vue from 'vue'
19+
import PrjLogo from '@/assets/svgs/prj_logo.svg'
20+
21+
export default Vue.extend({
22+
components: { PrjLogo },
23+
layout: 'simple'
24+
})
25+
</script>
26+
27+
<style lang="scss" scoped>
28+
.MainPage {
29+
background-color: $color-white;
30+
border-radius: 14px;
31+
padding: 16px;
32+
}
33+
.Logo-outer {
34+
display: flex;
35+
justify-content: center;
36+
}
37+
.Logo {
38+
width: 115px;
39+
}
40+
.PolicyText-outer {
41+
background-color: $color-back-gray;
42+
border-radius: 14px;
43+
padding: 16px;
44+
}
45+
</style>

0 commit comments

Comments
 (0)