feat: Hero 배경 이미지 추가 (hero_back.webp)
- 원본 9.1MB PNG → 216KB WebP (1920x1047, quality 80) - next/image + priority로 LCP 최적화 - opacity 0.35 + 다크 오버레이로 텍스트 가독성 확보 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
22
app/page.tsx
22
app/page.tsx
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
|
import Image from 'next/image';
|
||||||
import ContactModal from './components/ContactModal';
|
import ContactModal from './components/ContactModal';
|
||||||
import { trackCTAClick } from '../lib/gtag';
|
import { trackCTAClick } from '../lib/gtag';
|
||||||
|
|
||||||
@@ -46,13 +47,24 @@ export default function Home() {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
{/* 1. Hero */}
|
{/* 1. Hero */}
|
||||||
<section
|
<section className="relative px-6 py-24 lg:py-32 overflow-hidden">
|
||||||
className="relative px-6 py-24 lg:py-32"
|
<Image
|
||||||
|
src="/hero_back.webp"
|
||||||
|
alt=""
|
||||||
|
fill
|
||||||
|
priority
|
||||||
|
sizes="100vw"
|
||||||
|
className="object-cover object-center pointer-events-none select-none"
|
||||||
|
style={{ opacity: 0.35 }}
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
className="absolute inset-0 pointer-events-none"
|
||||||
style={{
|
style={{
|
||||||
background: 'radial-gradient(circle at 50% 30%, rgba(156,72,234,0.18) 0%, transparent 70%)',
|
background:
|
||||||
|
'radial-gradient(circle at 50% 30%, rgba(156,72,234,0.28) 0%, transparent 60%), linear-gradient(180deg, rgba(6,14,32,0.35) 0%, rgba(6,14,32,0.85) 75%, var(--kx-surface) 100%)',
|
||||||
}}
|
}}
|
||||||
>
|
/>
|
||||||
<div className="max-w-7xl mx-auto text-center relative">
|
<div className="max-w-7xl mx-auto text-center relative z-10">
|
||||||
<span className="kx-label inline-block mb-6">AI MUSIC CREATOR TOOLKIT · 2026</span>
|
<span className="kx-label inline-block mb-6">AI MUSIC CREATOR TOOLKIT · 2026</span>
|
||||||
<h1 className="kx-display text-4xl md:text-6xl lg:text-7xl font-bold mb-6 leading-[1.05]" style={{ wordBreak: 'keep-all' }}>
|
<h1 className="kx-display text-4xl md:text-6xl lg:text-7xl font-bold mb-6 leading-[1.05]" style={{ wordBreak: 'keep-all' }}>
|
||||||
AI로 음악 + <span className="kx-gradient-text">뮤직비디오까지</span>
|
AI로 음악 + <span className="kx-gradient-text">뮤직비디오까지</span>
|
||||||
|
|||||||
BIN
public/hero_back.webp
Normal file
BIN
public/hero_back.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 217 KiB |
Reference in New Issue
Block a user