diff --git a/public/icon.svg b/public/icon.svg deleted file mode 100644 index 6bfb986..0000000 --- a/public/icon.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/app/icon.svg b/src/app/icon.svg new file mode 100644 index 0000000..a96a599 --- /dev/null +++ b/src/app/icon.svg @@ -0,0 +1,4 @@ + + + 💌 + diff --git a/src/components/LoveFusion.tsx b/src/components/LoveFusion.tsx index ce349ae..dc63b01 100644 --- a/src/components/LoveFusion.tsx +++ b/src/components/LoveFusion.tsx @@ -1,11 +1,16 @@ 'use client'; import { motion } from 'framer-motion'; +import { Hachi_Maru_Pop } from 'next/font/google'; -// ✉️ + ❤️ = 💌, "envelope" + "love" = "lovelope.app": everything collides, -// contracts into a single point, then bursts into the merged result. Plays -// once, on mount, then holds its final state (no loop). -const times = [0, 0.28, 0.5, 0.58, 0.66, 0.78, 0.88, 1]; +const logoFont = Hachi_Maru_Pop({ weight: '400', subsets: ['latin'] }); + +// 💕 + ✉️ = 💌, "love" + "envelope" = "lovelope.app": the two slide in from +// opposite sides, and the instant they'd overlap they hand off to a white +// flash (bigger + brighter than the glyphs so neither is ever visibly "in +// front of" the other) which then blooms back out into the merged result. +// Plays once, on mount, then holds its final state (no loop). +const times = [0, 0.22, 0.42, 0.52, 0.62, 0.74, 0.88, 1]; const transition = { duration: 2.4, times, ease: 'easeInOut' as const }; export default function LoveFusion({ className = '' }: { className?: string }) { @@ -16,32 +21,32 @@ export default function LoveFusion({ className = '' }: { className?: string }) { style={{ gridRow: 1, gridColumn: 1 }} className="text-8xl" initial={{ x: -72, opacity: 1, scale: 1, rotate: 0 }} - animate={{ x: [-72, -72, 0, 0, 0, 0, 0, 0], opacity: [1, 1, 1, 1, 0, 0, 0, 0], scale: [1, 1, 1, 0.5, 0, 0, 0, 0], rotate: [0, -8, 0, 0, 0, 0, 0, 0] }} + animate={{ x: [-72, -50, 0, 0, 0, 0, 0, 0], opacity: [1, 1, 1, 0.5, 0, 0, 0, 0], scale: [1, 1, 0.95, 0.55, 0, 0, 0, 0], rotate: [0, -10, 0, 0, 0, 0, 0, 0] }} transition={transition} > - ✉️ + 💕 - ❤️ + ✉️ 💌 @@ -51,27 +56,27 @@ export default function LoveFusion({ className = '' }: { className?: string }) { - envelope - - love + envelope + + lovelope