kaguranana-birthday-project/src/index.handlebars

254 lines
7.3 KiB
Handlebars
Raw Normal View History

2021-12-13 02:49:32 +00:00
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Kagura Nana 2022 Birthday Project</title>
<meta name="description" content="Kagura Nana BDay Project desu.">
2022-01-08 14:27:16 +00:00
<!-- The Modal -->
<div id="myModal" class="modal">
<span class="close">&times;</span>
<img class="modal-content" id="img01">
<div id="caption"></div>
</div>
2021-12-13 02:49:32 +00:00
<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=Yomogi&display=swap" rel="stylesheet">
<link href="./style.css" rel="stylesheet">
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/granim/2.0.0/granim.min.js"
integrity="sha512-CmlPTWm5+a1Gt2YSNk2rGZVvbH3Zge6imS7M4/vrhC8d+A1RcehmLxWMqUdv8aEu7pwfTo74EtnrR+8Cf8KdCA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js"></script>
</head>
2021-12-17 19:13:08 +00:00
2021-12-13 02:49:32 +00:00
<body>
<div id="particles-js" class="w-screen h-full fixed -z-10"></div>
<div class="absolute top-0 right-0">
<img src="./img/chili_7.png" width="50" height="50" class="transform -translate-x-2 rotate-12"
title="大好きだぁ゛">
</div>
2021-12-17 19:13:08 +00:00
<div class="container mx-auto pt-6 z-10">
<section class="container flex flex-col justify-center">
2021-12-18 01:52:41 +00:00
<h1 class="text-center font-sans text-7xl font-bold p-6" data-aos="fade-in" data-aos-duration="1500"
2021-12-17 19:13:08 +00:00
style="font-family: 'Yomogi', cursive;">
ナナちゃん、<br>
お誕生日おめでとう!
</h1>
<h1 class="text-center text-4xl font-normal" data-aos="fade-in">
2021-12-13 02:49:32 +00:00
Happy Birthday, Nana-chan!
</h1>
<p>
<section class="container pt-12 pb-6">
<h1 class="text-center text-3xl font-normal">Messages from Chililians</h1>
2021-12-13 22:18:28 +00:00
<h3 class="text-center text-3xl font-normal" style="font-family: 'Yomogi', cursive;">なな辛軍からのメッセージ</h3>
2021-12-13 02:49:32 +00:00
<div class="container grid grid-cols-1 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 place-items-center">
{{#each messages}}
<!-- Card -->
<div class="w-11/12 md:w-md lg:w-md xl:w-lg rounded shadow-lg bg-white mt-4 mb-4" data-aos="fade-up" data-aos-anchor-placement="center-bottom">
<div class="px-4 py-4">
<div class="flex flex-row flex-nowrap justify-between">
<div class="flex flex-col">
<p class="font-bold text-xl">{{ name }}</p>
<p class="text-gray-500 text-sm font-mono">{{ twitter }}</p>
</div>
<img src="./img/chili_7.png" width="50" height="50"
class="transition transform rotate-12 translate-x-4 -translate-y-4 hover:scale-125">
</div>
2022-01-08 14:27:16 +00:00
<img class="myImages" id="myImg" src="{{ image_link }}">
2022-01-11 00:02:22 +00:00
{{ video_link }}
2021-12-13 02:49:32 +00:00
<p class="text-gray-700 text-base mt-2">
{{ breaklines content }}
</p>
</div>
</div>
{{/each}}
</div>
</section>
</div>
2021-12-13 22:16:56 +00:00
2021-12-15 13:53:47 +00:00
<footer class="pt-6 pb-6 backdrop-filter backdrop-brightness-50 backdrop-blur-lg mix-blend-darker w-full text-white" data-aos="fade-in">
2021-12-14 02:32:33 +00:00
<h2 class="text-center text-3xl font-normal" data-aos="fade-in">
Credit
</h2>
<h3 class="text-center text-2xl font-normal" data-aos="fade-in">
クレジット
</h3>
<br>
2021-12-18 01:52:41 +00:00
<div class="grid grid-flow-col grid-cols-3 justify-center" data-aos="fade-in">
2021-12-14 02:32:33 +00:00
<div class="text-center">
<h4 class="text-2xl">Art</h4>
2021-12-15 16:43:58 +00:00
<h4 class="text-lg" style="font-family: 'Yomogi', cursive;">イラスト</h4>
2022-01-07 01:54:08 +00:00
<a href="https://www.youtube.com/channel/UCH8iKou-ecNiJhTqGFfjqWQ">- 五十嵐苺</a> 背景background
2021-12-14 02:32:33 +00:00
<br>
2022-01-07 01:54:08 +00:00
<a href="https://twitter.com/terminusashbell">- Terminus Ashbell</a>バナナBaNana
2021-12-15 16:43:58 +00:00
</div>
<div class="text-center">
<h4 class="text-2xl">Site</h4>
2021-12-14 02:32:33 +00:00
<h4 class="text-xl" style="font-family: 'Yomogi', cursive;">サイト</h4>
2021-12-15 16:43:58 +00:00
<a href="https://twitter.com/amedayooooo">- ame。</a>
2021-12-14 02:32:33 +00:00
</div>
2021-12-18 01:52:41 +00:00
2021-12-18 01:55:27 +00:00
<div class="text-center">
2021-12-18 01:52:41 +00:00
<h4 class="text-2xl">Thanks</h4>
2022-01-07 01:54:08 +00:00
<a href="https://twitter.com/suiutoko">- すいうとこ</a>日本語翻訳JPN TL
2021-12-18 01:52:41 +00:00
</div>
2021-12-14 02:32:33 +00:00
</div>
</footer>
</body>
2021-12-13 22:16:56 +00:00
2021-12-13 02:49:32 +00:00
<script>
2022-01-08 14:27:16 +00:00
// create references to the modal...
var modal = document.getElementById('myModal');
// to all images -- note I'm using a class!
var images = document.getElementsByClassName('myImages');
// the image in the modal
var modalImg = document.getElementById("img01");
// and the caption in the modal
var captionText = document.getElementById("caption");
// Go through all of the images with our custom class
for (var i = 0; i < images.length; i++) {
var img = images[i];
// and attach our click listener for this image.
img.onclick = function(evt) {
modal.style.display = "block";
modalImg.src = this.src;
captionText.innerHTML = this.alt;
}
}
2021-12-13 02:49:32 +00:00
2022-01-08 14:27:16 +00:00
var span = document.getElementsByClassName("close")[0];
span.onclick = function() {
modal.style.display = "none";
}
2021-12-17 19:13:08 +00:00
2021-12-13 02:49:32 +00:00
AOS.init({
once: true
});
2022-01-11 14:34:40 +00:00
{
2021-12-13 02:49:32 +00:00
"particles": {
"number": {
2022-01-11 14:40:41 +00:00
"value": 160,
2021-12-13 02:49:32 +00:00
"density": {
"enable": true,
2022-01-11 14:40:41 +00:00
"value_area": 800
2021-12-13 02:49:32 +00:00
}
},
"color": {
2022-01-11 14:40:41 +00:00
"value": "#ffffff"
2021-12-13 02:49:32 +00:00
},
"shape": {
"type": "circle",
"stroke": {
"width": 0,
"color": "#000000"
},
"polygon": {
"nb_sides": 5
},
"image": {
"src": "img/github.svg",
"width": 100,
"height": 100
}
},
"opacity": {
"value": 1,
"random": true,
"anim": {
"enable": true,
"speed": 1,
"opacity_min": 0,
"sync": false
}
},
"size": {
"value": 3,
"random": true,
"anim": {
"enable": false,
"speed": 4,
"size_min": 0.3,
"sync": false
}
},
"line_linked": {
"enable": false,
"distance": 150,
"color": "#ffffff",
"opacity": 0.4,
"width": 1
},
"move": {
"enable": true,
"speed": 1,
"direction": "none",
"random": true,
"straight": false,
"out_mode": "out",
"bounce": false,
"attract": {
"enable": false,
"rotateX": 600,
"rotateY": 600
}
}
},
"interactivity": {
"detect_on": "canvas",
"events": {
"onhover": {
"enable": true,
"mode": "bubble"
},
"onclick": {
2022-01-11 14:40:41 +00:00
"enable": false,
2021-12-13 02:49:32 +00:00
"mode": "repulse"
},
"resize": true
},
"modes": {
"grab": {
"distance": 400,
"line_linked": {
"opacity": 1
}
},
"bubble": {
"distance": 250,
"size": 0,
"duration": 2,
"opacity": 0,
"speed": 3
},
"repulse": {
"distance": 400,
"duration": 0.4
},
"push": {
"particles_nb": 4
},
"remove": {
"particles_nb": 2
}
}
},
"retina_detect": true
2022-01-11 14:40:41 +00:00
}
2022-01-08 14:27:16 +00:00
2021-12-13 02:49:32 +00:00
</script>
</body>
</html>