feat: 인스타 릴스 — 릴스 mp4 저장·공개 주소(/v1/reel)·REELS 게시 API, 관리자 relay, 소개 릴스 HyperFrames 프로젝트·배경 5장, 인스타 올리기 nginx 타임아웃 600s
This commit is contained in:
1 parent
70fe14ae39
commit
7469e58a89
64 files changed
+928
-11
No files matched your search
@@ -0,0 +1,33 @@
|
||||
<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; background: #cfe3fb; color: #fff; }
|
||||
#s1-world { position: absolute; inset: 0; }
|
||||
#s1-cam { position: absolute; inset: 0; transform-origin: 50% 45%; }
|
||||
#s1-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
|
||||
#s1-fog { position: absolute; left: -120px; top: 1450px; width: 620px; filter: blur(6px); opacity: 0.9; }
|
||||
#s1-title { position: absolute; left: 90px; top: 300px; width: 900px; font: 400 120px/1.18 'Jua', sans-serif; letter-spacing: -2px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
|
||||
#s1-title .w { display: inline-block; margin-right: 0.22em; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="s1" data-width="1080" data-height="1920">
|
||||
<div id="s1-world" class="clip" data-start="0" data-duration="2.5">
|
||||
<div id="s1-cam">
|
||||
<img id="s1-bg" src="assets/bg/sky.webp" alt="" />
|
||||
<h1 id="s1-title"><span class="w">오늘</span><span class="w">뭐</span><span class="w">하기</span><br /><span class="w">좋은</span><span class="w">날이지?</span></h1>
|
||||
<img id="s1-fog" src="assets/icons/cloud.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
// 카메라: 천천히 밀어 들어감 (배경 1.0, 해 1.6배, 앞 구름 2.2배로 깊이)
|
||||
tl.fromTo("#s1-cam", { scale: 1.14, y: 0, filter: "blur(0px)" }, { scale: 1.08, duration: 2.25, ease: "power2.inOut" }, 0);
|
||||
tl.fromTo("#s1-fog", { x: 40 }, { x: -70, duration: 2.5, ease: "none" }, 0);
|
||||
// 제목: 단어마다 블러로 맺힘, 착지 뒤엔 멈춤
|
||||
tl.fromTo("#s1-title .w", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.13, ease: "power4.out", stagger: 0.07 }, 0.05);
|
||||
// 휩 아웃: 다음 세상으로
|
||||
tl.to("#s1-cam", { y: -420, filter: "blur(16px)", duration: 0.25, ease: "power3.in" }, 2.25);
|
||||
window.__timelines["s1"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
@@ -0,0 +1,48 @@
|
||||
<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; background: #8e9bb3; color: #fff; }
|
||||
#s2-world { position: absolute; inset: 0; }
|
||||
#s2-cam { position: absolute; inset: 0; transform-origin: 50% 50%; }
|
||||
#s2-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
|
||||
#s2-cloud { position: absolute; left: 640px; top: 250px; width: 300px; }
|
||||
#s2-rain { position: absolute; left: 120px; top: 1420px; width: 220px; }
|
||||
.s2-chip { position: absolute; padding: 18px 40px; border-radius: 28px; background: #fff; color: #28304a; font: 800 60px/1 'Pretendard', sans-serif; letter-spacing: -1px; box-shadow: 0 10px 30px rgba(40, 48, 74, 0.25); white-space: nowrap; }
|
||||
#s2-c1 { left: 90px; top: 420px; }
|
||||
#s2-c2 { left: 330px; top: 560px; }
|
||||
#s2-c3 { left: 150px; top: 700px; }
|
||||
#s2-ask { position: absolute; left: 90px; top: 960px; width: 900px; font: 400 112px/1.18 'Jua', sans-serif; letter-spacing: -2px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
|
||||
#s2-ask .w { display: inline-block; margin-right: 0.22em; }
|
||||
#s2-flood { position: absolute; inset: 0; background: #e3efff; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="s2" data-width="1080" data-height="1920">
|
||||
<div id="s2-world" class="clip" data-start="0" data-duration="3">
|
||||
<div id="s2-cam">
|
||||
<img id="s2-bg" src="assets/bg/rain-city.webp" alt="" />
|
||||
<img id="s2-cloud" src="assets/icons/cloud.png" alt="" />
|
||||
<img id="s2-rain" src="assets/icons/rain.png" alt="" />
|
||||
<div id="s2-c1" class="s2-chip">흐림</div>
|
||||
<div id="s2-c2" class="s2-chip">19°</div>
|
||||
<div id="s2-c3" class="s2-chip">습도 70%</div>
|
||||
<h1 id="s2-ask"><span class="w">…그래서</span><br /><span class="w">오늘</span><span class="w">뭐</span><span class="w">하죠?</span></h1>
|
||||
</div>
|
||||
<div id="s2-flood"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
// 휩 인: 아래서 올라와 맺힘, 그 뒤 느린 드리프트
|
||||
tl.fromTo("#s2-cam", { y: 420, filter: "blur(16px)", scale: 1.1 }, { y: 0, filter: "blur(0px)", duration: 0.25, ease: "expo.out" }, 0);
|
||||
tl.to("#s2-cam", { scale: 1.04, duration: 2.6, ease: "power2.inOut" }, 0.25);
|
||||
tl.fromTo("#s2-cloud", { x: 30, y: 0 }, { x: -40, y: 12, duration: 3, ease: "none" }, 0);
|
||||
tl.fromTo("#s2-rain", { y: -10 }, { y: 30, duration: 3, ease: "none" }, 0);
|
||||
// 날씨 숫자 칩: 위에서 떨어져 튕김 (위치·크기만 튕기고 투명도는 안 튕김)
|
||||
tl.fromTo(["#s2-c1", "#s2-c2", "#s2-c3"], { y: -220, scale: 0.6, opacity: 0 }, { y: 0, scale: 1, opacity: 1, duration: 0.45, ease: "back.out(1.6)", stagger: 0.1 }, 0.2);
|
||||
// …그래서 뭐 하죠?
|
||||
tl.fromTo("#s2-ask .w", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.13, ease: "power4.out", stagger: 0.07 }, 1.3);
|
||||
// 색 플러드: 브랜드 땅이 가운데서 번져 다음 장면으로
|
||||
tl.fromTo("#s2-flood", { clipPath: "circle(0% at 50% 62%)" }, { clipPath: "circle(120% at 50% 62%)", duration: 0.4, ease: "power2.inOut" }, 2.6);
|
||||
window.__timelines["s2"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
@@ -0,0 +1,36 @@
|
||||
<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; background: #e3efff; color: #28304a; }
|
||||
#s3-world { position: absolute; inset: 0; }
|
||||
#s3-icon { position: absolute; left: 390px; top: 560px; width: 300px; height: 300px; border-radius: 68px; box-shadow: 0 24px 60px rgba(40, 48, 74, 0.28); transform-origin: 50% 50%; }
|
||||
#s3-name { position: absolute; left: 0; top: 920px; width: 1080px; text-align: center; font: 400 150px/1 'Jua', sans-serif; letter-spacing: -3px; }
|
||||
#s3-name .l { display: inline-block; }
|
||||
#s3-sub { position: absolute; left: 90px; top: 1120px; width: 900px; text-align: center; font: 700 56px/1.3 'Pretendard', sans-serif; letter-spacing: -1px; word-break: keep-all; }
|
||||
#s3-sub b { color: #d4552a; font-weight: 800; }
|
||||
#s3-rabbit { position: absolute; left: 90px; top: 1520px; width: 260px; }
|
||||
#s3-bear { position: absolute; left: 730px; top: 1540px; width: 260px; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="s3" data-width="1080" data-height="1920">
|
||||
<div id="s3-world" class="clip" data-start="0" data-duration="3">
|
||||
<h1 id="s3-name"><span class="l">날</span><span class="l">씨</span><span class="l">각</span></h1>
|
||||
<p id="s3-sub">날씨를 <b>할 일</b>로 바꿔 주는 앱</p>
|
||||
<img id="s3-rabbit" src="assets/icons/rabbit.png" alt="" />
|
||||
<img id="s3-bear" src="assets/icons/bear.png" alt="" />
|
||||
<img id="s3-icon" src="assets/img/app-icon.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
// 앱 아이콘이 튀어나오고(스프링), 이름이 글자별로, 부제가 맺힘
|
||||
tl.fromTo("#s3-icon", { scale: 0.2, opacity: 0 }, { scale: 1, opacity: 1, duration: 0.5, ease: "back.out(1.7)" }, 0.1);
|
||||
tl.fromTo("#s3-name .l", { opacity: 0.3, filter: "blur(6px)", y: 14 }, { opacity: 1, filter: "blur(0px)", y: 0, duration: 0.2, ease: "power4.out", stagger: 0.1 }, 0.5);
|
||||
tl.fromTo("#s3-sub", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.8);
|
||||
tl.fromTo(["#s3-rabbit", "#s3-bear"], { y: 240 }, { y: 0, duration: 0.6, ease: "expo.out", stagger: 0.08 }, 0.7);
|
||||
// 줌 스루: 아이콘이 화면을 덮으며 다음 세상으로
|
||||
tl.to("#s3-icon", { scale: 9, duration: 0.35, ease: "power3.in" }, 2.65);
|
||||
tl.to(["#s3-name", "#s3-sub"], { opacity: 0, filter: "blur(8px)", duration: 0.2, ease: "power3.in" }, 2.75);
|
||||
window.__timelines["s3"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
@@ -0,0 +1,40 @@
|
||||
<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; background: #cfe3fb; color: #fff; }
|
||||
#s4-world { position: absolute; inset: 0; }
|
||||
#s4-cam { position: absolute; inset: 0; transform-origin: 50% 50%; }
|
||||
#s4-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
|
||||
#s4-drive { position: absolute; left: 120px; top: 1120px; width: 320px; }
|
||||
#s4-chip { position: absolute; left: 90px; top: 560px; display: flex; align-items: center; gap: 22px; padding: 22px 40px 22px 24px; border-radius: 32px; background: #fff; color: #28304a; box-shadow: 0 12px 34px rgba(40, 48, 74, 0.28); transform-origin: 0% 50%; }
|
||||
#s4-chip img { width: 110px; height: 110px; }
|
||||
#s4-chip .n { font: 800 54px/1 'Pretendard', sans-serif; letter-spacing: -1px; white-space: nowrap; }
|
||||
#s4-chip .v { font: 800 92px/1 'Pretendard', sans-serif; color: #d4552a; letter-spacing: -2px; min-width: 120px; text-align: right; }
|
||||
#s4-line { position: absolute; left: 90px; top: 760px; width: 900px; font: 400 76px/1.2 'Jua', sans-serif; letter-spacing: -1px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="s4" data-width="1080" data-height="1920">
|
||||
<div id="s4-world" class="clip" data-start="0" data-duration="2">
|
||||
<div id="s4-cam">
|
||||
<img id="s4-bg" src="assets/bg/beach.webp" alt="" />
|
||||
<img id="s4-drive" src="assets/icons/drive.png" alt="" />
|
||||
<div id="s4-chip"><img src="assets/icons/drive.png" alt="" /><span class="n">드라이브각</span><span class="v" id="s4-score">0</span></div>
|
||||
<p id="s4-line">해안 드라이브 딱 좋은 날</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
// 줌 스루 끝에서 크게 들어와 안착, 그 뒤 살짝 드리프트
|
||||
tl.fromTo("#s4-cam", { scale: 1.2, filter: "blur(6px)" }, { scale: 1.06, filter: "blur(0px)", duration: 0.55, ease: "power3.out" }, 0);
|
||||
tl.to("#s4-cam", { scale: 1.09, duration: 1.2, ease: "power2.inOut" }, 0.55);
|
||||
tl.fromTo("#s4-drive", { x: -40, y: 10 }, { x: 70, y: -6, duration: 2, ease: "none" }, 0);
|
||||
// 오늘 점수 칩: 튕겨 들어오고 숫자가 올라감 (2026-10-24 서울 중구 API 값)
|
||||
tl.fromTo("#s4-chip", { scale: 0.5, x: -80, opacity: 0 }, { scale: 1, x: 0, opacity: 1, duration: 0.45, ease: "back.out(1.6)" }, 0.15);
|
||||
const score = { v: 0 };
|
||||
tl.to(score, { v: 82, duration: 0.6, ease: "power2.out", onUpdate: () => { document.getElementById("s4-score").textContent = Math.round(score.v); } }, 0.25);
|
||||
tl.fromTo("#s4-line", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.28);
|
||||
tl.to("#s4-cam", { y: -420, filter: "blur(16px)", duration: 0.18, ease: "power3.in" }, 1.84);
|
||||
window.__timelines["s4"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
@@ -0,0 +1,39 @@
|
||||
<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; background: #cfe3fb; color: #fff; }
|
||||
#s5-world { position: absolute; inset: 0; }
|
||||
#s5-cam { position: absolute; inset: 0; transform-origin: 50% 50%; }
|
||||
#s5-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
|
||||
#s5-walk { position: absolute; left: 620px; top: 1140px; width: 300px; }
|
||||
#s5-chip { position: absolute; left: 90px; top: 560px; display: flex; align-items: center; gap: 22px; padding: 22px 40px 22px 24px; border-radius: 32px; background: #fff; color: #28304a; box-shadow: 0 12px 34px rgba(40, 48, 74, 0.28); transform-origin: 0% 50%; }
|
||||
#s5-chip img { width: 110px; height: 110px; }
|
||||
#s5-chip .n { font: 800 54px/1 'Pretendard', sans-serif; letter-spacing: -1px; white-space: nowrap; }
|
||||
#s5-chip .v { font: 800 92px/1 'Pretendard', sans-serif; color: #d4552a; letter-spacing: -2px; min-width: 120px; text-align: right; }
|
||||
#s5-line { position: absolute; left: 90px; top: 760px; width: 900px; font: 400 76px/1.2 'Jua', sans-serif; letter-spacing: -1px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="s5" data-width="1080" data-height="1920">
|
||||
<div id="s5-world" class="clip" data-start="0" data-duration="2">
|
||||
<div id="s5-cam">
|
||||
<img id="s5-bg" src="assets/bg/mountain.webp" alt="" />
|
||||
<img id="s5-walk" src="assets/icons/walk.png" alt="" />
|
||||
<div id="s5-chip"><img src="assets/icons/walk.png" alt="" /><span class="n">산책각</span><span class="v" id="s5-score">0</span></div>
|
||||
<p id="s5-line">숲길 산책 딱 좋은 날</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
tl.fromTo("#s5-cam", { y: 420, filter: "blur(16px)", scale: 1.12 }, { y: 0, filter: "blur(0px)", duration: 0.25, ease: "expo.out" }, 0);
|
||||
tl.to("#s5-cam", { scale: 1.06, duration: 1.5, ease: "power2.inOut" }, 0.25);
|
||||
// 산책 아이콘: 걷는 듯 위아래 (유한 반복)
|
||||
tl.fromTo("#s5-walk", { y: 0, x: 20 }, { y: -8, x: -30, duration: 0.4, ease: "sine.inOut", repeat: 4, yoyo: true }, 0);
|
||||
tl.fromTo("#s5-chip", { scale: 0.5, x: -80, opacity: 0 }, { scale: 1, x: 0, opacity: 1, duration: 0.45, ease: "back.out(1.6)" }, 0.2);
|
||||
const score = { v: 0 };
|
||||
tl.to(score, { v: 81, duration: 0.6, ease: "power2.out", onUpdate: () => { document.getElementById("s5-score").textContent = Math.round(score.v); } }, 0.3);
|
||||
tl.fromTo("#s5-line", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.28);
|
||||
tl.to("#s5-cam", { y: -420, filter: "blur(16px)", duration: 0.18, ease: "power3.in" }, 1.84);
|
||||
window.__timelines["s5"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
@@ -0,0 +1,44 @@
|
||||
<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; background: #f7b27a; color: #fff; }
|
||||
#s6-world { position: absolute; inset: 0; }
|
||||
#s6-cam { position: absolute; inset: 0; transform-origin: 50% 50%; }
|
||||
#s6-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
|
||||
#s6-hangang { position: absolute; left: 560px; top: 1080px; width: 340px; }
|
||||
#s6-picnic { position: absolute; left: 110px; top: 1300px; width: 220px; }
|
||||
#s6-chip { position: absolute; left: 90px; top: 560px; display: flex; align-items: center; gap: 22px; padding: 22px 40px 22px 24px; border-radius: 32px; background: #fff; color: #28304a; box-shadow: 0 12px 34px rgba(40, 48, 74, 0.28); transform-origin: 0% 50%; }
|
||||
#s6-chip img { width: 110px; height: 110px; }
|
||||
#s6-chip .n { font: 800 54px/1 'Pretendard', sans-serif; letter-spacing: -1px; white-space: nowrap; }
|
||||
#s6-chip .v { font: 800 92px/1 'Pretendard', sans-serif; color: #d4552a; letter-spacing: -2px; min-width: 120px; text-align: right; }
|
||||
#s6-line { position: absolute; left: 90px; top: 760px; width: 900px; font: 400 76px/1.2 'Jua', sans-serif; letter-spacing: -1px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
|
||||
#s6-flood { position: absolute; inset: 0; background: #e3efff; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="s6" data-width="1080" data-height="1920">
|
||||
<div id="s6-world" class="clip" data-start="0" data-duration="2">
|
||||
<div id="s6-cam">
|
||||
<img id="s6-bg" src="assets/bg/hangang-sunset.webp" alt="" />
|
||||
<img id="s6-hangang" src="assets/icons/hangang.png" alt="" />
|
||||
<img id="s6-picnic" src="assets/icons/picnic.png" alt="" />
|
||||
<div id="s6-chip"><img src="assets/icons/hangang.png" alt="" /><span class="n">한강각</span><span class="v" id="s6-score">0</span></div>
|
||||
<p id="s6-line">노을 보며 돗자리 딱</p>
|
||||
</div>
|
||||
<div id="s6-flood"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
tl.fromTo("#s6-cam", { y: 420, filter: "blur(16px)", scale: 1.12 }, { y: 0, filter: "blur(0px)", duration: 0.25, ease: "expo.out" }, 0);
|
||||
tl.to("#s6-cam", { scale: 1.06, duration: 1.5, ease: "power2.inOut" }, 0.25);
|
||||
tl.fromTo("#s6-hangang", { x: 20, y: 6 }, { x: -30, y: -10, duration: 2, ease: "none" }, 0);
|
||||
tl.fromTo("#s6-picnic", { x: -20 }, { x: 30, duration: 2, ease: "none" }, 0);
|
||||
tl.fromTo("#s6-chip", { scale: 0.5, x: -80, opacity: 0 }, { scale: 1, x: 0, opacity: 1, duration: 0.45, ease: "back.out(1.6)" }, 0.2);
|
||||
const score = { v: 0 };
|
||||
tl.to(score, { v: 85, duration: 0.6, ease: "power2.out", onUpdate: () => { document.getElementById("s6-score").textContent = Math.round(score.v); } }, 0.3);
|
||||
tl.fromTo("#s6-line", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.28);
|
||||
// 브랜드 땅으로 플러드 (폰이 올라올 자리)
|
||||
tl.fromTo("#s6-flood", { clipPath: "circle(0% at 50% 100%)" }, { clipPath: "circle(140% at 50% 100%)", duration: 0.3, ease: "power2.inOut" }, 1.74);
|
||||
window.__timelines["s6"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
@@ -0,0 +1,34 @@
|
||||
<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; background: #e3efff; color: #28304a; }
|
||||
#s7-world { position: absolute; inset: 0; }
|
||||
#s7-title { position: absolute; left: 90px; top: 230px; width: 900px; font: 400 112px/1.18 'Jua', sans-serif; letter-spacing: -2px; word-break: keep-all; }
|
||||
#s7-title .w { display: inline-block; margin-right: 0.22em; }
|
||||
#s7-phone { position: absolute; left: 180px; top: 560px; width: 720px; height: 1500px; padding: 22px; border: 12px solid #28304a; border-radius: 88px; background: #28304a; box-shadow: 0 30px 70px rgba(40, 48, 74, 0.3); overflow: hidden; }
|
||||
#s7-phone img { display: block; width: 100%; border-radius: 52px; }
|
||||
#s7-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; }
|
||||
#s7-note { position: absolute; left: 90px; top: 500px; font: 600 36px/1 'Pretendard', sans-serif; color: #546078; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="s7" data-width="1080" data-height="1920">
|
||||
<div id="s7-world" class="clip" data-start="0" data-duration="3" data-layout-allow-overlap>
|
||||
<h1 id="s7-title"><span class="w">지금</span><span class="w">내</span><span class="w">동네</span><br /><span class="w">1위는?</span></h1>
|
||||
<div id="s7-phone"><img src="assets/img/shot-home.webp" alt="날씨각 홈 화면" /></div>
|
||||
<div id="s7-chip">68가지 각</div>
|
||||
<p id="s7-note">실제 화면 · 10.24 마포구</p>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
// 진짜 홈 화면이 아래서 올라오고, 제목이 맺히고, 68가지 칩이 튕김
|
||||
tl.fromTo("#s7-phone", { y: 1400 }, { y: 0, duration: 0.7, ease: "power4.out" }, 0.05);
|
||||
tl.fromTo("#s7-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("#s7-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.fromTo("#s7-note", { opacity: 0 }, { opacity: 1, duration: 0.2, ease: "power2.out" }, 0.6);
|
||||
// 폰이 아래로 빠지며 엔드카드로
|
||||
tl.to("#s7-phone", { y: 1500, duration: 0.3, ease: "power3.in" }, 2.7);
|
||||
tl.to(["#s7-title", "#s7-chip", "#s7-note"], { opacity: 0, filter: "blur(8px)", duration: 0.2, ease: "power3.in" }, 2.75);
|
||||
window.__timelines["s7"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
@@ -0,0 +1,39 @@
|
||||
<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; background: #e3efff; color: #28304a; }
|
||||
#s8-world { position: absolute; inset: 0; }
|
||||
#s8-icon { position: absolute; left: 410px; top: 520px; width: 260px; height: 260px; border-radius: 60px; box-shadow: 0 24px 60px rgba(40, 48, 74, 0.28); transform-origin: 50% 50%; }
|
||||
#s8-name { position: absolute; left: 0; top: 830px; width: 1080px; text-align: center; font: 400 140px/1 'Jua', sans-serif; letter-spacing: -3px; }
|
||||
#s8-claim { position: absolute; left: 90px; top: 1010px; width: 900px; text-align: center; font: 800 64px/1.2 'Pretendard', sans-serif; letter-spacing: -1px; word-break: keep-all; }
|
||||
#s8-claim b { color: #d4552a; }
|
||||
#s8-url { position: absolute; left: 90px; top: 1125px; width: 900px; text-align: center; font: 700 58px/1.2 'Pretendard', sans-serif; letter-spacing: -1px; color: #2b6cb8; }
|
||||
#s8-toss { position: absolute; left: 90px; top: 1215px; width: 900px; text-align: center; font: 600 50px/1.2 'Pretendard', sans-serif; letter-spacing: -1px; color: #546078; word-break: keep-all; }
|
||||
#s8-rabbit { position: absolute; left: 90px; top: 1520px; width: 260px; }
|
||||
#s8-bear { position: absolute; left: 730px; top: 1540px; width: 260px; }
|
||||
</style>
|
||||
<div id="root" data-composition-id="s8" data-width="1080" data-height="1920">
|
||||
<div id="s8-world" class="clip" data-start="0" data-duration="3.5">
|
||||
<img id="s8-icon" src="assets/img/app-icon.png" alt="" />
|
||||
<h1 id="s8-name">날씨각</h1>
|
||||
<p id="s8-claim">설치 없이 바로, <b>무료</b></p>
|
||||
<p id="s8-url">weather.o2o.kr</p>
|
||||
<p id="s8-toss">토스 앱에서 '날씨각' 검색해도 열려요</p>
|
||||
<img id="s8-rabbit" src="assets/icons/rabbit.png" alt="" />
|
||||
<img id="s8-bear" src="assets/icons/bear.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
tl.fromTo("#s8-icon", { scale: 0.2, opacity: 0 }, { scale: 1, opacity: 1, duration: 0.5, ease: "back.out(1.7)" }, 0.1);
|
||||
tl.fromTo("#s8-name", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.4);
|
||||
tl.fromTo("#s8-claim", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.7);
|
||||
tl.fromTo("#s8-url", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 1.0);
|
||||
tl.fromTo("#s8-toss", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 1.3);
|
||||
tl.fromTo(["#s8-rabbit", "#s8-bear"], { y: 240 }, { y: 0, duration: 0.6, ease: "expo.out", stagger: 0.08 }, 0.3);
|
||||
// 마지막 0.6초는 정지 (마지막 프레임 유지)
|
||||
tl.to({}, { duration: 0.2 }, 3.3);
|
||||
window.__timelines["s8"] = tl;
|
||||
</script>
|
||||
</template>
|
||||
Reference in new issue
Block a user