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,29 @@
|
||||
<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; }
|
||||
#o3-shade { position: absolute; left: 0; top: 0; width: 1080px; height: 980px; background: linear-gradient(180deg, rgba(20, 26, 50, 0.5) 0%, rgba(20, 26, 50, 0.25) 55%, rgba(20, 26, 50, 0) 100%); }
|
||||
#o3-icon { position: absolute; left: 400px; top: 420px; width: 280px; height: 280px; border-radius: 64px; box-shadow: 0 24px 60px rgba(20, 26, 50, 0.35); transform-origin: 50% 50%; }
|
||||
#o3-name { position: absolute; left: 0; top: 760px; width: 1080px; margin: 0; text-align: center; font: 400 150px/1 'Jua', sans-serif; letter-spacing: -3px; color: #fff; text-shadow: 0 8px 28px rgba(20, 26, 50, 0.55); }
|
||||
#o3-name .l { display: inline-block; }
|
||||
#o3-sub { position: absolute; left: 90px; top: 950px; width: 900px; margin: 0; text-align: center; font: 700 56px/1.3 'Pretendard', sans-serif; letter-spacing: -1px; color: #fff; text-shadow: 0 4px 18px rgba(20, 26, 50, 0.6); word-break: keep-all; }
|
||||
#o3-sub b { color: #ffb48a; font-weight: 800; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="o3" data-width="1080" data-height="1920">
|
||||
<div id="o3-shade" aria-hidden="true" data-layout-ignore></div>
|
||||
<div id="o3-world" class="clip" data-start="0" data-duration="2.5">
|
||||
<img id="o3-icon" src="assets/img/app-icon.png" alt="" />
|
||||
<h1 id="o3-name"><span class="l">날</span><span class="l">씨</span><span class="l">각</span></h1>
|
||||
<p id="o3-sub">날씨를 <b>할 일</b>로 바꿔요</p>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
tl.fromTo("#o3-icon", { scale: 0.2, opacity: 0 }, { scale: 1, opacity: 1, duration: 0.5, ease: "back.out(1.7)" }, 0.1);
|
||||
tl.fromTo("#o3-name .l", { opacity: 0, filter: "blur(6px)", y: 14 }, { opacity: 1, filter: "blur(0px)", y: 0, duration: 0.2, ease: "power4.out", stagger: 0.1 }, 0.4);
|
||||
tl.fromTo("#o3-sub", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.55);
|
||||
tl.to(["#o3-icon", "#o3-name", "#o3-sub"], { opacity: 0, y: -60, filter: "blur(8px)", duration: 0.25, ease: "power3.in" }, 2.3);
|
||||
window.__timelines["o3"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
Reference in new issue
Block a user