-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
136 lines (136 loc) · 4.04 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ごちうさエイプリル</title>
<meta name="description" content="We are gochiusa lovers.">
<meta name="robots" content="noindex,nofollow,noarchive">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.11/vue.min.js"></script>
</head>
<body>
<nav class="navbar is-mobile" role="navigation" aria-label="main navigation" style="background-color: #7b5544;">
<div class="container">
<div class="navbar-brand">
<span class="navbar-item">
<h4 class="has-text-white" style="font-weight: bold;">
ごちうさエイプリル
</h4>
</span>
<div class="navbar-item">
<a href="https://illust.gochiusa.team" class="button is-white">
<strong>ごちイラに戻る</strong>
</a>
</div>
</div>
</div>
</nav>
<div id="app">
<section class="section" style="background-size:cover; min-height:95vh; position: relative; height:100%;" v-bind:style="{'background-image': 'url('+bgImage+')' }">
<div class="container is-widescreen">
<div class="columns is-centered is-vcentered is-multiline">
<div v-for="year in years" class="column is-6-tablet is-4-desktop is-3-fullhd">
<a :href="'https://' + year.year + '.gochiusa.team'">
<div class="card">
<div class="card-image">
<figure class="image">
<div class="imgWrap">
<img :src="'image/' + year.year + '.jpg'" :alt="'Aprilfool'+year.year+'Preview'">
</div>
</figure>
</div>
<div class="card-content">
<div class="content has-text-centered">
{{year.year}} {{year.title}}
</div>
</div>
</div>
</a>
</div>
</div>
<div class="columns">
<div class="column has-text-centered is-centered">
<p class="subtitle has-text-white">
※ごちイラにログインしているか、認証キーがある場合のみアクセスできます
</p>
</div>
</div>
</div>
</section>
</div>
</body>
<script>
var app = new Vue({
el: '#app',
data: {
backgrounds: [
"1.jpg",
"2.jpg",
"3.jpg",
"4.jpg",
"5.png",
"6.png",
"7.jpg",
"8.jpg",
"9.jpg",
"10.jpg",
"11.jpg",
"12.jpg"
],
years: [
{
year: 2020,
title: 'REGENE PLAY RABBITS'
},
{
year: 2019,
title: 'CLOCKWORK RABBIT'
},
{
year: 2018,
title: 'DAYDREAM SHOW'
},
{
year: 2017,
title: 'CHIMAME CHRONICLE'
},
{
year: 2016,
title: 'KAITOU LAPIN'
},
{
year: 2015,
title: 'MAGICAL CHINO'
},
{
year: 2014,
title: 'REAL RABBIT'
},
]
},
created: function () {
this.bgImage = 'image/' + this.backgrounds[Math.floor(Math.random() * this.backgrounds.length)]
}
})
</script>
<style>
.card {
display: block;
transition-duration: 0.3s;
}
.card:hover {
transform: scale(1.1);
transition-duration: 0.3s;
}
.section:before{
background-color: rgba(0,0,0,0.3);
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
content: ' ';
}
</style>
</html>