This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
サイトの完成(Ver 1.0)
- Loading branch information
Showing
15 changed files
with
1,486 additions
and
953 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang=""> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||
<title><%= htmlWebpackPlugin.options.title %></title> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||
<title>【星彩】22常盤祭 - 横浜国立大学大学祭 準備中</title> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Klee+One&family=Petit+Formal+Script&display=swap" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. | ||
Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<script setup> | ||
import VueCountdown from '@chenfengyuan/vue-countdown'; | ||
// 時間を計算する。 | ||
// 10月28日13:00のUNIX時間(1970年からのミリ秒)は1666929600000 | ||
// 現在のUNIX時間(ミリ秒)を取得してその差をVueCountdownに渡す。 | ||
let remainingTime = 1666929600000 - new Date().getTime(); | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<VueCountdown | ||
:time="remainingTime" v-slot="{ days, hours, minutes, seconds }"> | ||
<div class="countdown-label">常盤祭まであと</div> | ||
<br><span class="count-down"> | ||
<span><span class="number">{{ days }}</span> <span>日</span> | ||
<span class="number">{{ hours }}</span> <span>時間</span></span> | ||
<span><span class="number">{{ minutes }}</span> <span>分</span> | ||
<span class="number">{{ seconds }}</span> <span>秒</span></span> | ||
</span> | ||
</VueCountdown> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "CountDown" | ||
} | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
.countdown-label { | ||
margin-bottom: -1em; | ||
} | ||
.count-down { | ||
> span .number { | ||
display: inline-block; | ||
font-size: 1em; | ||
width: 1em; | ||
text-align: right; | ||
font-family: 'Petit Formal Script', cursive; | ||
} | ||
> span > span { | ||
font-size: 0.5em; | ||
} | ||
> span { | ||
display: inline-block; | ||
} | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.