Files

33 lines
2.7 KiB
HTML

<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
#root { position: absolute; inset: 0; overflow: hidden; }
#o6-icon { position: absolute; left: 410px; top: 520px; width: 260px; height: 260px; border-radius: 60px; box-shadow: 0 24px 60px rgba(10, 14, 40, 0.5); transform-origin: 50% 50%; }
#o6-name { position: absolute; left: 0; top: 830px; width: 1080px; margin: 0; text-align: center; font: 400 140px/1 'Jua', sans-serif; letter-spacing: -3px; color: #fff; text-shadow: 0 8px 28px rgba(10, 14, 40, 0.6); }
#o6-claim { position: absolute; left: 90px; top: 1010px; width: 900px; margin: 0; text-align: center; font: 800 64px/1.2 'Pretendard', sans-serif; letter-spacing: -1px; color: #fff; text-shadow: 0 4px 18px rgba(10, 14, 40, 0.6); word-break: keep-all; }
#o6-claim b { color: #ffb48a; }
#o6-url { position: absolute; left: 90px; top: 1125px; width: 900px; margin: 0; text-align: center; font: 700 58px/1.2 'Pretendard', sans-serif; letter-spacing: -1px; color: #9ecbff; text-shadow: 0 4px 18px rgba(10, 14, 40, 0.6); }
#o6-toss { position: absolute; left: 90px; top: 1215px; width: 900px; margin: 0; text-align: center; font: 600 50px/1.2 'Pretendard', sans-serif; letter-spacing: -1px; color: #dfe6ff; text-shadow: 0 4px 18px rgba(10, 14, 40, 0.6); word-break: keep-all; }
</style>
<div id="root" data-composition-id="o6" data-width="1080" data-height="1920">
<div id="o6-world" class="clip" data-start="0" data-duration="3.5">
<img id="o6-icon" src="assets/img/app-icon.png" alt="" />
<h1 id="o6-name">날씨각</h1>
<p id="o6-claim">설치 없이 바로, <b>무료</b></p>
<p id="o6-url">weather.o2o.kr</p>
<p id="o6-toss">토스 앱에서 '날씨각' 검색해도 열려요</p>
</div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
tl.fromTo("#o6-icon", { scale: 0.2, opacity: 0 }, { scale: 1, opacity: 1, duration: 0.5, ease: "back.out(1.7)" }, 0.1);
tl.fromTo("#o6-name", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.4);
tl.fromTo("#o6-claim", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.7);
tl.fromTo("#o6-url", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 1.0);
tl.fromTo("#o6-toss", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 1.3);
tl.to({}, { duration: 0.2 }, 3.3);
window.__timelines["o6"] = tl;
</script>
</template>