feat: 3D 소개 릴스(intro3d) — test-design/weather 디오라마(Three.js 섬·구름·아이콘)를 HyperFrames로, 브랜드 색 하늘 돔, 글 오버레이 6장면; 폰 베젤 띠 제거
This commit is contained in:
1 parent
1e4426f133
commit
615dd27404
63 files changed
+562
-2
No files matched your search
@@ -0,0 +1,31 @@
|
||||
<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; }
|
||||
#o5-title { position: absolute; left: 90px; top: 230px; width: 900px; margin: 0; font: 400 112px/1.18 'Jua', sans-serif; letter-spacing: -2px; color: #fff; text-shadow: 0 6px 22px rgba(20, 26, 50, 0.6); word-break: keep-all; }
|
||||
#o5-title .w { display: inline-block; margin-right: 0.22em; }
|
||||
#o5-note { position: absolute; left: 90px; top: 500px; margin: 0; font: 600 36px/1 'Pretendard', sans-serif; color: #dfe6ff; }
|
||||
#o5-phone { position: absolute; left: 180px; top: 560px; width: 720px; height: 1500px; box-sizing: border-box; border: 12px solid #28304a; border-radius: 88px; background: #28304a; box-shadow: 0 30px 70px rgba(10, 14, 40, 0.5); overflow: hidden; }
|
||||
#o5-phone img { display: block; width: 696px; height: auto; max-width: none; border-radius: 76px; }
|
||||
#o5-chip { position: absolute; left: 560px; top: 480px; padding: 18px 36px; border-radius: 28px; background: #d4552a; color: #fff; font: 800 56px/1 'Pretendard', sans-serif; letter-spacing: -1px; box-shadow: 0 12px 34px rgba(212, 85, 42, 0.35); white-space: nowrap; transform-origin: 50% 50%; z-index: 2; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="o5" data-width="1080" data-height="1920">
|
||||
<div id="o5-world" class="clip" data-start="0" data-duration="3" data-layout-allow-overlap>
|
||||
<h1 id="o5-title"><span class="w">지금</span><span class="w">내</span><span class="w">동네</span><br /><span class="w">1위는?</span></h1>
|
||||
<p id="o5-note">실제 화면 · 10.24 마포구</p>
|
||||
<div id="o5-phone"><img src="assets/img/shot-home.webp" alt="날씨각 홈 화면" /></div>
|
||||
<div id="o5-chip">68가지 각</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
tl.fromTo("#o5-phone", { y: 1400 }, { y: 0, duration: 0.7, ease: "power4.out" }, 0.05);
|
||||
tl.fromTo("#o5-title .w", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.13, ease: "power4.out", stagger: 0.07 }, 0.4);
|
||||
tl.fromTo("#o5-note", { opacity: 0 }, { opacity: 1, duration: 0.2 }, 0.6);
|
||||
tl.fromTo("#o5-chip", { scale: 0.4, opacity: 0, rotate: -8 }, { scale: 1, opacity: 1, rotate: -6, duration: 0.45, ease: "back.out(1.6)" }, 1.2);
|
||||
tl.to("#o5-phone", { y: 1500, duration: 0.3, ease: "power3.in" }, 2.7);
|
||||
tl.to(["#o5-title", "#o5-chip", "#o5-note"], { opacity: 0, filter: "blur(8px)", duration: 0.2, ease: "power3.in" }, 2.75);
|
||||
window.__timelines["o5"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
Reference in new issue
Block a user