Neuralyn — 다크 애널리틱스 SaaS 랜딩 페이지
MIT 라이선스
pulkitxm/claude-directory갤러리에서 가져온 랜딩 페이지입니다.
가상의 분석 대시보드 SaaS인 Neuralyn을 위한 어두운 톤의 전체 너비 랜딩 페이지입니다. 전체 뷰포트 히어로에는 스크롤 연동 시차 효과가 적용된 대시보드가 루핑 배경 비디오 위에 합성되어 있으며, 스크롤에 따라 각 단어가 조명되는 스크롤 구동 추천사가 포함됩니다. 미학은 순수 검정 배경, 흰색 타이포그래피, 단일 이탤릭 세리프 악센트 단어, 그리고 액체 유리 태그 알약입니다. React 18 + Vite 및 TypeScript로 구축되었으며, Tailwind CSS 3 및 shadcn/ui 스타일 프리미티브로 스타일링되었고, Framer Motion (useScroll/useTransform)을 사용하여 스크롤 연동 시차 효과와 단어별 색상 전환 애니메이션이 적용되었습니다. 글꼴은 Fontsource를 통해 자체 호스팅됩니다.
워크플로우
example.html을 사용자의 작업 공간에 작업 파일로 복제합니다.- 플레이스홀더 콘텐츠를 사용자의 실제 브랜드 이름, 헤드라인, 본문 카피, 숫자 및 이미지로 대체합니다. 자산을 교체할 때 기존 이미지 크기를 일치시킵니다.
- 디자인 시스템을 유지합니다. 아래 빌드 사양에 있는 팔레트, 타이포그래피 스케일, 간격 리듬 및 모션은 정체성입니다. 글꼴을 대체하거나, 팔레트 색상을 변경하거나, 장식 요소를 제거하지 마십시오.
- 섹션을 복제하여 확장합니다. 다른 템플릿에서 레이아웃을 가져오지 마십시오. 섹션이 누락된 경우, 이 템플릿의 고유한 어휘로 처음부터 디자인하십시오.
- 모션을 접근 가능하게 유지합니다. 모든 애니메이션은 빌드 사양에서 요구하는 대로
prefers-reduced-motion뒤에 남아 있어야 합니다.
출력 규약
<artifact> 태그 사이에 출력합니다:
<artifact identifier="neuralyn-dark-landing" type="text/html" title="Neuralyn — 다크 애널리틱스 SaaS 랜딩 페이지">
<!doctype html>
<html>...</html>
</artifact>
빌드 사양
이 디자인을 생성한 업스트림 프롬프트를 그대로 옮깁니다.
Neuralyn — 다크 애널리틱스 랜딩 페이지
개요
분석 대시보드 SaaS인 Neuralyn을 위한 어두운 톤의 전체 너비 랜딩 페이지를 구축합니다. 페이지는 두 개의 섹션으로 구성됩니다. 첫 번째는 루핑 배경 비디오 위에 합성된 시차 대시보드가 있는 전체 뷰포트 히어로이고, 두 번째는 스크롤할 때 각 단어가 조명되는 스크롤 구동 추천사입니다. 미학은 순수 검정 배경, 흰색 타이포그래피, 단일 이탤릭 세리프 악센트 단어, 그리고 "액체 유리" 태그 알약입니다.
기술 스택
- 프레임워크: React 18 (
react^18.3.1,react-dom^18.3.1) with Vite (vite^5.4.10,@vitejs/plugin-react^4.3.3) - 언어: TypeScript (
typescript^5.6.3) - 스타일링: Tailwind CSS (
tailwindcss^3.4.14) with PostCSS (postcss^8.4.49) and Autoprefixer (autoprefixer^10.4.20) - 애니메이션: Framer Motion (
framer-motion^11.11.17) —useScroll,useTransform,motioncomponents - 아이콘: Lucide (
lucide-react^0.460.0) —ChevronDown - UI 프리미티브 (shadcn/ui 스타일):
@radix-ui/react-slot^1.1.0,class-variance-authority^0.7.0,clsx^2.1.1,tailwind-merge^2.5.4 - 글꼴 (Fontsource를 통한 자체 호스팅):
- Inter (
@fontsource/inter^5.1.0) — 굵기 400, 500, 600, 700 — 본문/UI - Instrument Serif (
@fontsource/instrument-serif^5.1.0) — 400 및 400-이탤릭 — 이탤릭 악센트 단어용
- Inter (
- 주요 기술:
marginLeft: calc(-50vw + 50%)를 사용한 전체 너비w-screen,mix-blend-mode: luminosity이미지 합성, 스크롤 연동 시차 및 단어별 색상 전환, 마스킹된 의사 요소를 통한 CSS "액체 유리" 테두리.
전역 설정
경로 별칭
@는 vite.config.ts (path.resolve(__dirname, "./src")) 및 tsconfig.json ("@/*": ["./src/*"]) 모두에서 ./src로 확인됩니다.
진입점 (src/main.tsx)
글꼴 CSS, 전역 CSS를 가져온 후 앱을 마운트합니다:
import React from "react";
import ReactDOM from "react-dom/client";
import "@fontsource/inter/400.css";
import "@fontsource/inter/500.css";
import "@fontsource/inter/600.css";
import "@fontsource/inter/700.css";
import "@fontsource/instrument-serif/400.css";
import "@fontsource/instrument-serif/400-italic.css";
import "./index.css";
import App from "./App";
ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<App />
</React.StrictMode>,
);
앱 셸 (src/App.tsx)
import Hero from "@/components/Hero";
import Testimonial from "@/components/Testimonial";
export default function App() {
return (
<main>
<Hero />
<Testimonial />
</main>
);
}
HTML 문서 (index.html)
<html lang="en">,<meta name="theme-color" content="#000000" />- 파비콘:
<link rel="icon" type="image/png" href="/src/assets/logo.png" /> - 메타 설명: "Neuralyn helps teams track metrics, goals, and progress with precision."
- 제목:
Neuralyn — Your Insights. One Clear Overview. - 깜빡임 방지 인라인 스타일:
html { background: #000; }
Tailwind 설정 (tailwind.config.ts)
content: ["./index.html", "./src/**/*.{ts,tsx}"]fontFamily.sans:["Inter", "system-ui", "-apple-system", "sans-serif"]fontFamily.serif:["'Instrument Serif'", "Georgia", "serif"]- 색상은
hsl(var(--...))을 통해 CSS 변수에 매핑됩니다:background,foreground,border,input,ring, 그리고card,primary,secondary,muted,accent,destructive에 대한DEFAULT/foreground쌍.
유틸리티 헬퍼 (src/lib/utils.ts)
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
색상 팔레트
모든 색상은 src/index.css의 :root (기본적으로 다크 모드)에서 정의된 HSL CSS 변수입니다:
| 변수 | 값 | 참고 |
|---|---|---|
--background | 0 0% 0% | 순수 검정 |
--foreground | 0 0% 100% | 순수 흰색 |
--card | 0 0% 5% | |
--card-foreground | 0 0% 100% | |
--primary | 0 0% 100% | |
--primary-foreground | 0 0% 0% | |
--secondary | 0 0% 10% | |
--secondary-foreground | 0 0% 100% | |
--muted | 0 0% 10% | |
--muted-foreground | 0 0% 65% | |
--accent | 0 0% 10% | |
--accent-foreground | 0 0% 100% | |
--destructive | 0 84% 60% | |
--destructive-foreground | 0 0% 100% | |
--border | 0 0% 20% | |
--input | 0 0% 20% | |
--ring | 0 0% 65% | |
--hero-subtitle | 210 17% 95% | 히어로 부제목 색상 |
기본 레이어 (src/index.css)
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
* {
@apply border-border;
}
html {
scroll-behavior: smooth;
}
body {
@apply bg-background font-sans text-foreground antialiased;
}
}
액체 유리 CSS
src/index.css에 추가합니다. 마스킹된 그라데이션 테두리가 있는 서리 낀 알약을 제공합니다:
.liquid-glass {
background: rgba(255, 255, 255, 0.01);
background-blend-mode: luminosity;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border: none;
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
}
.liquid-glass::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
padding: 1.4px;
background: linear-gradient(180deg,
rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
섹션 1 — 히어로 (src/components/Hero.tsx)
전체 섹션은 relative h-screen overflow-hidden (전체 뷰포트 높이)이며 data-testid="hero"입니다. sectionRef (useRef<HTMLElement>)는 스크롤 연동 시차 효과를 구동합니다.
스크롤 설정
const { scrollYProgress } = useScroll({
target: sectionRef,
offset: ["start start", "end start"],
});
const contentY = useTransform(scrollYProgress, [0, 1], [0, -200]);
const contentOpacity = useTransform(scrollYProgress, [0, 0.5], [1, 0]);
const dashboardY = useTransform(scrollYProgress, [0, 1], [0, -250]);
- 히어로 텍스트 콘텐츠 그룹:
y: [0, -200]및opacity: [1, 0](스크롤의 첫 50% 동안 불투명도가 사라짐). - 대시보드 이미지:
y: [0, -250].
내비게이션 바
<header>는 relative z-40 flex items-center justify-between px-8 py-4 md:px-28입니다.
- 왼쪽 클러스터 —
flex items-center gap-12 md:gap-20:- 로고 링크 (
<a href="/">,flex items-center gap-2.5):<img src={logo} alt="Neuralyn logo" className="h-8 w-8" />- 브랜드 텍스트:
<span className="text-xl font-bold tracking-tight">Neuralyn</span>
- 내비게이션 (
hidden items-center gap-1 md:flex,aria-label="Main") —const NAV_LINKS = ["Home", "Services", "Reviews", "Contact us"];에서 렌더링된 링크. 링크는 모바일에서 숨겨집니다. 각 링크:<a href="#">와flex items-center gap-1 rounded-md px-3 py-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground. Services 링크는 레이블 뒤에<ChevronDown className="h-4 w-4" aria-hidden="true" />를 추가로 렌더링합니다.
- 로고 링크 (
- 오른쪽 — 로그인 버튼 (shadcn
Button컴포넌트):rounded-lg bg-foreground text-sm font-semibold text-background transition-opacity hover:bg-foreground hover:opacity-90. 레이블:Sign In.
히어로 콘텐츠
{ y: contentY, opacity: contentOpacity }로 스타일링되고 relative z-20 mt-16 flex flex-col items-center px-4 text-center md:mt-20 클래스가 있는 motion.div (data-testid="hero-content"). 순서대로 다음을 포함합니다:
- 태그 알약 —
liquid-glass mb-6 flex items-center gap-2 rounded-lg px-3 py-2클래스가 있는motion.div:- 내부 "New" 배지:
<span className="rounded-md bg-white px-2 py-0.5 text-sm font-medium text-black">New</span> - 레이블:
<span className="text-sm font-medium text-muted-foreground">Say Hello to Corewave v3.2</span>
- 내부 "New" 배지:
- 제목 —
mb-3 text-5xl font-medium leading-tight tracking-[-2px] md:text-7xl md:leading-[1.15]이 있는motion.h1:- 라인 1:
Your Insights. <br />- 라인 2:
One Clear그 다음 Instrument Serif 이탤릭의 악센트 단어:<span className="font-serif font-normal italic">Overview.</span>
- 라인 1:
- 부제목 —
mb-8 text-lg font-normal leading-6 opacity-90및 인라인style={{ color: "hsl(var(--hero-subtitle))" }}이 있는motion.p(data-testid="hero-subtitle"):Neuralyn helps teams track metrics, goals,<br />and progress with precision.
- CTA 버튼 —
rounded-full bg-foreground px-8 py-3.5 text-base font-medium text-background,whileHover={{ scale: 1.03 }},whileTap={{ scale: 0.98 }}이 있는motion.button. 레이블:Get Started for Free.
대시보드 + 비디오 영역
relative z-10 mt-12 w-screen md:mt-16 및 인라인 style={{ marginLeft: "calc(-50vw + 50%)", aspectRatio: "16 / 9" }}이 있는 motion.div (data-testid="dashboard-area"). 전체 뷰포트 너비로 확장하기 위함입니다.
-
배경 비디오 —
<video>에absolute inset-0 h-full w-full object-cover, 속성autoPlay muted loop playsInline.src는VIDEO_URL:const VIDEO_URL = "/assets/hf_20260307_083826_e938b29f-a43a-41ec-a153-3d4730578ab8.mp4";참고: 원래 프롬프트는 원격 소스
https://d8j0ntlcm91z4.cloudfront.net/user_38xzzbokvigwjottwixh07lwa1p/hf_20260307_083826_e938b29f-a43a-41ec-a153-3d4730578ab8.mp4를 참조했습니다. 이 자산은 이후 로컬public/assets/hf_20260307_083826_e938b29f-a43a-41ec-a153-3d4730578ab8.mp4로 판매되었으며 위의 로컬 경로를 통해 참조됩니다. (원래 URL은 프롬프트에서 모두 대문자로 제공되었습니다. 스킴과 호스트는 여기서 규칙에 따라 소문자로 표기되지만 경로는 그대로 유지됩니다.) -
대시보드 이미지 —
<div className="absolute inset-0 flex items-center justify-center">로 감싸고, 이미지는motion.img(data-testid="dashboard-image")이며src={heroDashboard},alt="Neuralyn analytics dashboard", 클래스w-[90%] max-w-5xl rounded-2xl, 인라인style={{ y: dashboardY, mixBlendMode: "luminosity" }}입니다.
하단 그라데이션 페이드
pointer-events-none absolute bottom-0 left-0 right-0 z-30 h-40 bg-gradient-to-t from-background to-transparent인 <div> (data-testid="hero-fade").
히어로 진입 애니메이션
각 요소는 initial={{ opacity: 0, y }} → animate={{ opacity: 1, y: 0 }}을 사용하며, 지연 시간이 다릅니다:
| 요소 | y | duration | delay |
|---|---|---|---|
| 태그 알약 | 10 | 0.5s | 0 |
| 제목 | 20 | 0.6s | 0.1 |
| 부제목 | 20 | 0.6s | 0.2 |
| CTA | 20 | 0.6s | 0.3 |
| 대시보드 영역 | 40 | 0.8s | 0.4 |
히어로 가져오기
import { useRef } from "react";
import { motion, useScroll, useTransform } from "framer-motion";
import { ChevronDown } from "lucide-react";
import { Button } from "@/components/ui/button";
import logo from "@/assets/logo.png";
import heroDashboard from "@/assets/hero-dashboard.png";
섹션 2 — 추천사 (src/components/Testimonial.tsx)
섹션은 flex min-h-screen items-center justify-center px-8 py-24 md:px-28 md:py-32이며 data-testid="testimonial"입니다. 내부에는 컨테이너 <div ref={containerRef}>가 mx-auto flex w-full max-w-3xl flex-col items-start gap-10 (최대 너비 3xl, 왼쪽 정렬, 요소 간 간격 gap-10)입니다.
인용문 텍스트
const QUOTE =
"Neuralyn revolutionized how we handle financial insights using smart analytics. We are now driving better outcomes quicker than we ever imagined! Neuralyn revolutionized how we handle financial insights using smart analytics.";
레이아웃, 위에서 아래로
- 인용 기호 이미지 —
<img src={quoteSymbol} alt="" aria-hidden="true" className="h-10 w-14 object-contain" />. - 추천사 문단 —
<p data-testid="testimonial-quote" className="flex flex-wrap text-4xl font-medium leading-[1.2] md:text-5xl">. 인용문은 공백으로 분할되고 (QUOTE.split(" ")) 각 단어는<Word>컴포넌트로 렌더링됩니다. 단어 뒤에는 닫는 따옴표:<span className="ml-2 text-muted-foreground">”</span>. - 작성자 행
(이하 생략됨)