Stellar.ai — AI 생산성 랜딩 히어로
MIT 라이선스
pulkitxm/claude-directory갤러리에서 가져온 히어로 섹션입니다.
AI 생산성 SaaS 랜딩 페이지를 위한 단일 화면 중앙 정렬 히어로 섹션. 네비게이션 바, 검정-회색 그라디언트 헤드라인, 기본 CTA, 4가지 워크플로우 단계(분석, 학습, 테스트, 배포)가 자동 순환되는 탭 바, 루핑 배경 비디오와 탭 기반 오버레이 카드, 회사 로고 행이 포함되며, 모든 요소가 지연된 페이드인-업 애니메이션으로 나타납니다. React 18, Vite, Tailwind CSS 3, Lucide 아이콘 및 Inter 글꼴로 구축되었습니다.
워크플로우
example.html을 사용자의 작업 공간에 작업 파일로 복제합니다.- 플레이스홀더 콘텐츠를 사용자의 실제 브랜드 이름, 헤드라인, 본문, 숫자 및 이미지로 교체합니다. 에셋을 교체할 때 기존 이미지 크기를 일치시킵니다.
- 디자인 시스템을 유지합니다. 아래 빌드 사양의 팔레트, 서체 크기, 간격 리듬 및 모션은 정체성입니다. 글꼴을 대체하거나, 팔레트 색상을 변경하거나, 장식 요소를 제거하지 마십시오.
- 섹션을 복제하여 확장하고, 다른 템플릿에서 레이아웃을 가져오지 마십시오. 섹션이 누락된 경우 이 템플릿의 고유한 방식으로 처음부터 디자인하십시오.
- 모션을 접근 가능하게 유지합니다. 빌드 사양에 따라 모든 애니메이션은
prefers-reduced-motion뒤에 있어야 합니다.
출력 계약
<artifact> 태그 사이에 출력합니다:
<artifact identifier="stellar-ai-landing-hero" type="text/html" title="Stellar.ai — AI Productivity Landing Hero">
<!doctype html>
<html>...</html>
</artifact>
빌드 사양
이 디자인을 생성한 업스트림 프롬프트를 그대로 나타냅니다.
Stellar.ai — 랜딩 페이지 히어로 섹션
개요
"Stellar.ai" AI 생산성 랜딩 페이지의 히어로 섹션을 구축합니다. 단일 화면, 중앙 정렬, 흰색 배경 레이아웃으로 네비게이션 바, 그라디언트 헤드라인, CTA, 자동 순환 탭 바, 4개의 탭 기반 오버레이 카드가 있는 루핑 배경 비디오 및 회사 로고 행이 포함됩니다. 모든 항목이 지연된 페이드인-업 효과로 애니메이션됩니다.
기술 스택
- 프레임워크: React 18 (
react^18.3.1,react-dom^18.3.1),React.StrictMode로 부트스트래핑. - 빌드 도구: Vite (
vite^5.4.11) 및@vitejs/plugin-react(^4.3.4). - 스타일링: Tailwind CSS (
tailwindcss^3.4.17) 및postcss(^8.4.49),autoprefixer(^10.4.20). 기본 설정, 테마 확장 없음. - 아이콘: Lucide React (
lucide-react^0.468.0). - 글꼴: Inter (두께 400, 500, 600, 700) Google Fonts에서 가져옴.
- 테스트 도구: Playwright (
playwright^1.60.0). - 주목할 만한 기술: 지연된 인라인
animationDelay를 사용한 사용자 정의 CSS 키프레임 애니메이션,setInterval을 통한 자동 순환 탭 상태, 활성 탭을 기준으로 하는 조건부 오버레이 컴포넌트.
글로벌 설정
글꼴
index.html에서 Google Fonts로부터 Inter(두께 400, 500, 600, 700)를 가져옵니다 (preconnect 힌트 포함):
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
src/index.css에서 본문 글꼴을 설정합니다:
body {
font-family: 'Inter', sans-serif;
}
index.html
lang="en",charset="UTF-8", viewportwidth=device-width, initial-scale=1.0.<title>:Stellar.ai — Work Smarter. Move Faster.<meta name="description">:Intelligent automation syncs with the tools you love to streamline tasks, boost output, and save time.- 루트 마운트:
<div id="root"></div>및<script type="module" src="/src/main.jsx"></script>.
진입점 (src/main.jsx)
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.jsx'
import './index.css'
ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<App />
</React.StrictMode>,
)
Tailwind 설정 (tailwind.config.js)
사용자 정의 테마 확장이 없는 기본 설정입니다. 콘텐츠 경로:
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,jsx}'],
theme: {
extend: {},
},
plugins: [],
}
PostCSS 설정 (postcss.config.js)
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
Vite 설정 (vite.config.js)
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
})
애니메이션
Tailwind 레이어(@tailwind base; @tailwind components; @tailwind utilities;) 위에 src/index.css에 정의됩니다.
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fadeInUp 0.6s ease-out forwards;
}
@keyframes fadeInOverlay {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.animate-fade-in-overlay {
animation: fadeInOverlay 0.4s ease-out forwards;
}
@keyframes fadeInDialog {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.animate-slide-up-overlay {
animation: fadeInDialog 0.5s ease-out forwards;
transform: translate(-50%, -50%);
}
fadeInUp→from { opacity: 0; transform: translateY(30px) }에서{ opacity: 1; transform: translateY(0) }로..animate-fade-in-up클래스는0.6s ease-out forwards로 실행합니다.fadeInOverlay→from { opacity: 0 }에서{ opacity: 1 }로..animate-fade-in-overlay클래스는0.4s ease-out forwards로 실행합니다.fadeInDialog→from { opacity: 0 }에서{ opacity: 1 }로..animate-slide-up-overlay클래스는0.5s ease-out forwards로 실행하고transform: translate(-50%, -50%)를 적용합니다(중앙 정렬 대화 상자 카드용).- 모든 주요 섹션은 지연된 인라인
animationDelay(0.1s부터 시작하여0.1s씩 증가)와 함께.animate-fade-in-up을 사용합니다. 각 요소는 인라인opacity: 0으로 시작하여 애니메이션이 표시되도록 채웁니다.
레이아웃
- 루트 래퍼:
bg-white min-h-screen text-black. - 페이지는
<Navigation />헤더와 중앙 정렬<main>으로 구성됩니다. <main>클래스:px-6 pt-24 pb-32 max-w-7xl mx-auto text-center.
네비게이션 바
animate-fade-in-up 및 인라인 style={{ opacity: 0, animationDelay: '0.1s' }}가 있는 <header>로 래핑됩니다. <nav>는 px-6 py-4 flex items-center justify-between max-w-7xl mx-auto를 사용합니다.
- 왼쪽 (로고): Lucide
Star아이콘(w-5 h-5 fill-black text-black)과 브랜드 텍스트Stellar.ai를<span className="text-lg font-semibold">안에 포함하는<a href="#" className="flex items-center gap-2">. - 중앙 (모바일에서 숨김):
hidden md:flex items-center gap-8. 4개의 링크:Solutions및ChevronDown아이콘(w-4 h-4), 링크 클래스flex items-center gap-1 text-sm text-gray-700 hover:text-black transition-colors.For Teams및ChevronDown아이콘(w-4 h-4), 동일한 링크 클래스.About Us—text-sm text-gray-700 hover:text-black transition-colors.Learn Hub—text-sm text-gray-700 hover:text-black transition-colors.
- 오른쪽:
flex items-center gap-4.Login링크 —text-sm text-gray-700 hover:text-black transition-colors.Get started free버튼 —bg-black text-white px-5 py-2.5 rounded-full text-sm font-medium hover:bg-gray-800 transition-colors.
히어로
모든 히어로 요소는 <main> 안에 있으며 지연된 인라인 딜레이와 함께 animate-fade-in-up을 사용합니다.
리뷰 배지 (딜레이 0.2s)
- 래퍼:
inline-flex items-center gap-2 mb-8. - 테두리가 있는 사각형:
w-6 h-6 border border-gray-300 rounded flex items-center justify-center로 채워진Star아이콘(w-3.5 h-3.5 fill-black text-black) 포함. - 텍스트:
4.9 rating from 18.3K+ users를text-sm font-medium text-black로.
주요 헤드라인 (딜레이 0.3s)
<h1>클래스:text-6xl md:text-7xl lg:text-[80px] font-normal leading-[1.1] tracking-tight mb-5.- 첫 번째 줄:
Work Smarter. Move Faster. <br />- 두 번째 줄(그라디언트 텍스트):
AI Powers You Up.을bg-gradient-to-r from-black via-gray-500 to-gray-400 bg-clip-text text-transparent가 있는<span>으로 래핑.
부제목 (딜레이 0.4s)
<p>클래스:text-lg md:text-xl text-gray-600 mb-8 max-w-2xl mx-auto.- 텍스트:
Intelligent automation syncs with the tools you love to streamline tasks, boost output, and save time.
CTA 버튼 (딜레이 0.5s)
animate-fade-in-up및 인라인style={{ opacity: 0, animationDelay: '0.5s' }}가 있는div로 래핑.- 버튼 클래스:
bg-black text-white px-8 py-3 rounded-full text-base font-medium hover:bg-gray-800 transition-colors mb-12. - 텍스트:
Begin Free Trial.
탭 바 (딜레이 0.6s)
래퍼: animate-fade-in-up flex justify-center mb-8 및 인라인 style={{ opacity: 0, animationDelay: '0.6s' }}.
TABS 상수로 정의된 4개의 탭:
const TABS = [
{ id: 'analyse', label: 'Analyse', icon: BarChart3 },
{ id: 'train', label: 'Train', icon: BookOpen },
{ id: 'testing', label: 'Testing', icon: Users },
{ id: 'deploy', label: 'Deploy', icon: Rocket },
]
- 모바일 (
md:hidden): 2×2 그리드 —md:hidden grid grid-cols-2 gap-1 bg-gray-100 rounded-lg p-1— 4개의 버튼 모두 렌더링. - 데스크톱 (
hidden md:flex): 행 —hidden md:flex items-center bg-gray-100 rounded-lg p-1— 첫 번째 버튼을 제외한 각 버튼 앞에 세로 구분선:<div className="w-px h-5 bg-gray-300 mx-1" />. - 각 탭 버튼:
flex items-center justify-center gap-2 px-5 py-2 rounded-md text-sm font-medium transition-colors, Lucide 아이콘(w-4 h-4) 및 레이블 포함.- 활성:
bg-white text-black shadow-sm. - 비활성:
text-gray-600.
- 활성:
- 탭은
setInterval을 통해useEffect내부에서4000ms(4초)마다 자동 순환하며, 다음 탭 id로 이동(순환). 상태:useState('analyse'). 인터벌은 언마운트 시 해제됩니다.
useEffect(() => {
const interval = setInterval(() => {
setActiveTab((current) => {
const index = TABS.findIndex((tab) => tab.id === current)
return TABS[(index + 1) % TABS.length].id
})
}, 4000)
return () => clearInterval(interval)
}, [])
비디오 + 오버레이 섹션 (딜레이 0.7s)
-
컨테이너:
animate-fade-in-up relative rounded-3xl overflow-hidden h-[400px] md:h-[500px]및 인라인style={{ opacity: 0, animationDelay: '0.7s' }}. -
비디오 요소:
autoPlay,loop,muted,playsInline, 클래스w-full h-full object-cover. 소스는VIDEO_SRC상수에서 제공:const VIDEO_SRC = '/assets/hf_20260319_165750_358b1e72-c921-48b7-aaac-f200994f32fb.mp4'참고: 원래 브리프는 원격 CloudFront URL(
https://d8j0ntlcm91z4.cloudfront.net/user_38xzzbokvigwjottwixh07lwa1p/hf_20260319_165750_358b1e72-c921-48b7-aaac-f200994f32fb.mp4)을 참조했습니다. 에셋은 이후 로컬로 가져와졌으며 소스는 이제/assets/hf_20260319_165750_358b1e72-c921-48b7-aaac-f200994f32fb.mp4(public/assets/에서 제공)를 가리킵니다. 로컬 경로가 실제 정보입니다. -
활성 오버레이:
<ActiveOverlay key={activeTab} />— 오버레이 컴포넌트는 활성 탭 id를 키로 하는OVERLAYS맵에서 선택되며, 탭이 변경될 때마다(key를 통해) 다시 마운트되어 애니메이션을 다시 트리거합니다.
const OVERLAYS = {
analyse: AnalyseOverlay,
train: TrainOverlay,
testing: TestingOverlay,
deploy: DeployOverlay,
}
공유 오버레이 셸 (OverlayCard)
각 오버레이는 재사용 가능한 OverlayCard 컴포넌트로 래핑되며, 이 컴포넌트는 어두운 배경과 중앙 정렬 애니메이션 대화 상자 카드를 렌더링합니다:
function OverlayCard({ children }) {
return (
<div className="absolute inset-0 animate-fade-in-overlay" style={{ opacity: 0 }}>
<div className="absolute inset-0 bg-black/30" />
<div
className="animate-slide-up-overlay absolute top-1/2 left-1/2 w-[calc(100%-3rem)] max-w-sm bg-white rounded-2xl shadow-2xl p-6 text-left"
style={{ opacity: 0 }}
>
{children}
</div>
</div>
)
}
- 외부 래퍼:
absolute inset-0 animate-fade-in-overlay및 인라인opacity: 0. - 배경:
absolute inset-0 bg-black/30. - 내부 카드:
animate-slide-up-overlay absolute top-1/2 left-1/2 w-[calc(100%-3rem)] max-w-sm bg-white rounded-2xl shadow-2xl p-6 text-left및 인라인opacity: 0.
오버레이 A — 분석: "AI 작업 공간 설정"
보라색 진행률 표시줄이 25%인 4단계 설정 마법사.
- 헤더 행(
flex items-center justify-between mb-1): 제목<h3 className="text-base font-semibold text-black">AI 작업 공간 설정</h3>및 단계 카운터<span className="text-xs font-medium text-gray-500">1 / 4단계</span>. - 부텍스트(
text-xs text-gray-500 mb-4):A few quick steps and Stellar.ai is ready to work. - 진행 트랙:
h-1.5 w-full bg-gray-100 rounded-full mb-5 overflow-hidden및 채우기h-full w-1/4 bg-purple-600 rounded-full. - 단계 목록(
<ul className="space-y-3">), 4개 항목:도구 연결— 상태active작업 공간 데이터 가져오기— 상태pendingAI 어시스턴트 구성— 상태pending팀 초대— 상태pending
- 각 단계: 번호가 매겨진 배지
w-6 h-6 rounded-full flex items-center justify-center text-xs font-semibold및 레이블.- 활성 배지:
bg-purple-600 text-white; 활성 레이블:font-medium text-black. - 대기 중 배지:
bg-gray-100 text-gray-400; 대기 중 레이블:text-gray-500.
- 활성 배지:
오버레이 B — 학습: "AI 모델 학습"
주황색 진행률 표시줄이 67%이고 4개의 메트릭 카드가 있는 학습 패널.
- 헤더 행(
flex items-center justify-between mb-1): 제목<h3 className="text-base font-semibold text-black">AI 모델 학습</h3>및 상태 알약flex items-center gap-1.5 text-xs font-medium text-orange-600(깜박이는 점(w-1.5 h-1.5 rounded-full bg-orange-500 animate-pulse) 및 텍스트실행 중포함). - 부텍스트(
text-xs text-gray-500 mb-4):Fine-tuning on your data. - 진행 트랙:
h-1.5 w-full bg-gray-100 rounded-full mb-5 overflow-hidden및 채우기h-full w-2/3 bg-orange-500 rounded-full. - 메트릭 그리드:
grid grid-cols-2 gap-3, 4개의 카드. - 각 카드:
bg-orange-50 rounded-lg p-3 text-center.- 레이블:
text-[10px] font-medium text-gray-500 uppercase tracking-wider. - 값:
text-sm font-semibold text-black.
- 레이블:
- 메트릭:
Accuracy→78.4%Loss→0.342Epochs→12 / 20Learning Rate→0.001
오버레이 C — 테스트: "팀 벤치마크"
파란색 진행률 표시줄이 45%이고 4명의 팀원 성과 카드가 있는 테스트 패널.
- 헤더 행:
flex items-center justify-between mb-1. 제목<h3 className="text-base font-semibold text-black">팀 벤치마크</h3>및 시간<span className="text-xs font-medium text-gray-500">방금 업데이트됨</span>. - 부텍스트:
text-xs text-gray-500 mb-4. 텍스트:Tracking team performance. - 진행 트랙:
h-1.5 w-full bg-gray-100 rounded-full mb-5 overflow-hidden및 채우기h-full w-[45%] bg-blue-500 rounded-full. - 팀원 목록:
space-y-3, 4명의 팀원. 각각flex items-center gap-3.- 아바타:
w-7 h-7 rounded-full bg-gray-200 flex items-center justify-center text-xs font-semibold text-gray-600(이니셜 포함). - 정보:
flex-1 min-w-0.- 이름:
text-sm font-medium text-black truncate. - 점수:
text-xs font-medium text-gray-500.
- 이름:
- 상태 배지:
text-[10px] font-semibold px-2 py-0.5 rounded-full.- 통과:
text-green-700 bg-green-100. - 재시도:
text-yellow-700 bg-yellow-100. - 검토 중:
text-blue-700 bg-blue-100.
- 통과:
- 아바타:
- 팀원(이름 및 이니셜, 점수, 상태):
Alex ChenAC92%—PassedSarah KimSK85%—RetakeMarcus LeeML78%—ReviewingEmma DavisED95%—Passed
오버레이 D — 배포: "AI 모델 배포"
녹색 상태 표시줄이 있는 배포 패널 및 4개의 환경 카드.
- 헤더 행:
flex items-center justify-between mb-1. 제목<h3 className="text-base font-semibold text-black">AI 모델 배포</h3>및 녹색 상태 알약flex items-center gap-1.5 text-xs font-medium text-green-600(녹색 점 및Live텍스트 포함). - 부텍스트:
text-xs text-gray-500 mb-4. 텍스트:Your model is live and processing. - 환경 그리드:
grid grid-cols-2 gap-3, 4개의 카드. - 각 카드:
<div>클래스bg-green-50 rounded-lg p-3.- 상단(
flex items-start justify-between mb-1): 환경 이름text-xs font-semibold text-black및 체크 아이콘w-3.5 h-3.5 text-green-600. - 하단 행:
flex items-center justify-between gap-2.- 메트릭:
text-[10px] text-gray-500. - 값:
text-[10px] font-semibold text-black.
- 메트릭:
- 상단(
- 환경:
Production—99.9% 가동 시간,2.3s 응답 시간Staging—99.7% 가동 시간,1.8s 응답 시간Development—98.5% 가동 시간,3.1s 응답 시간API—12.4k 요청,0.8% 오류율
회사 로고 행 (딜레이 0.8s)
- 래퍼:
animate-fade-in-up mt-8 text-center및 인라인style={{ opacity: 0, animationDelay: '0.8s' }}. - 레이블:
<p className="text-xs font-medium text-gray-400 uppercase tracking-widest mb-4">Trusted by industry leaders</p>. - 로고 컨테이너:
flex flex-wrap items-center justify-center gap-x-10 gap-y-4. - 6개의 로고. 각 로고는
<div className="flex items-center gap-2 text-gray-400">.- Lucide 아이콘:
w-5 h-5. - 이름:
text-sm font-medium.
- Lucide 아이콘:
- 로고:
Hexagon아이콘 —VercelShield아이콘 —Auth0Database아이콘 —MongoDBCloud아이콘 —AWSGitBranch아이콘 —GitHubZap아이콘 —Stripe
이 히어로 섹션은 원래 pulkitxm/claude-directory MIT 라이선스 갤러리의 일부로 생성되었습니다.