File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { Header } from '@/components/landing/LandingHeader' ;
2- import { Hero } from '@/components/landing/LandingHeroSection ' ;
3- import { Feature } from '@/components/landing/LandingFeature ' ;
4- import { Demo } from '@/components/landing/LandingPreview' ;
1+ import { LandingHeader } from '@/components/landing/LandingHeader' ;
2+ import { HeroSection } from '@/components/landing/HeroSection ' ;
3+ import { FeatureList } from '@/components/landing/FeatureList ' ;
4+ import { LandingPreview } from '@/components/landing/LandingPreview' ;
55export default function Home ( ) {
66 return (
77 < div className = "bg-background h-full space-y-60" >
8- < Header />
9- < Hero />
10- < Feature />
11- < Demo />
8+ < LandingHeader />
9+ < HeroSection />
10+ < FeatureList />
11+ < LandingPreview />
1212 </ div >
1313 ) ;
1414}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ type FeatureCardProps = {
66} ;
77export function FeatureCard ( { title, description, icon } : FeatureCardProps ) {
88 return (
9- < div className = "rounded-xl bg-white p-6 pb-2 shadow-sm" >
9+ < div className = "rounded-xl bg-white p-6 pb-2 shadow-sm" >
1010 < div className = "mb-2" >
1111 < div className = "bg-primary/10 text-primary flex h-10 w-10 items-center justify-center rounded-lg" >
1212 { icon }
Original file line number Diff line number Diff line change @@ -19,16 +19,18 @@ const ITEMS = [
1919 } ,
2020] ;
2121
22- export function Contents ( ) {
22+ export function FeatureContent ( ) {
2323 return (
2424 < ul className = "space-y-6" >
2525 { ITEMS . map ( ( item ) => (
2626 < li key = { item . title } >
2727 < div className = "flex gap-3" >
28- < FiCheckCircle className = "text-primary text-2xl " />
29- < p className = "font-medium text-xl" > { item . title } </ p >
28+ < FiCheckCircle className = "text-primary text-2xl" />
29+ < p className = "text-xl font-medium " > { item . title } </ p >
3030 </ div >
31- < p className = "text-text-sub mt-1 text-l text-left pl-10" > { item . description } </ p >
31+ < p className = "text-text-sub text-l mt-1 pl-10 text-left" >
32+ { item . description }
33+ </ p >
3234 </ li >
3335 ) ) }
3436 </ ul >
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ const FEATURES = [
3131 'GitHub 스타일 잔디 그래프로 학습 활동을 한눈에 확인하고 동기부여를 받아보세요.' ,
3232 } ,
3333] ;
34- export function Feature ( ) {
34+ export function FeatureList ( ) {
3535 return (
36- < div className = "h-full flex flex-col items-center justify-center space-y-3 text-center" >
36+ < div className = "flex h-full flex-col items-center justify-center space-y-3 text-center" >
3737 < p className = "bg-surface-alt rounded-mg mt-16 rounded-lg p-1 px-4 text-xs" >
3838 ⚙️ 핵심 기능
3939 </ p >
@@ -42,7 +42,7 @@ export function Feature() {
4242 < div className = "text-xl font-light" >
4343 < h2 > 체계적인 학습과 지속적인 성장을 돕는 강력한 기능들</ h2 >
4444 </ div >
45- < div className = "mt-15 grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-4 px-20 " >
45+ < div className = "mt-15 grid grid-cols-1 gap-6 px-20 sm:grid-cols-2 lg:grid-cols-4" >
4646 { FEATURES . map ( ( feature ) => (
4747 < FeatureCard key = { feature . title } { ...feature } />
4848 ) ) }
Original file line number Diff line number Diff line change 1- export function Hero ( ) {
1+ export function HeroSection ( ) {
22 return (
3- < div className = "pt-30 flex flex-col items-center justify-center space-y-3 text-center" >
3+ < div className = "flex flex-col items-center justify-center space-y-3 pt-30 text-center" >
44 < p className = "bg-surface-alt rounded-mg mt-16 rounded-lg p-1 px-4 text-xs" >
55 🚀 개발자를 위한 성장 플랫폼
66 </ p >
Original file line number Diff line number Diff line change 11import Link from 'next/link' ;
22
3- export function Header ( ) {
3+ export function LandingHeader ( ) {
44 return (
55 < div className = "fixed flex w-full items-center justify-between bg-white" >
66 < h1 className = "flex items-center gap-2 px-10 py-2 text-3xl font-bold" >
Original file line number Diff line number Diff line change 11import Image from 'next/image' ;
2- import { Contents } from '@/components/landing/LandingContent ' ;
3- export function Demo ( ) {
2+ import { FeatureContent } from '@/components/landing/FeatureContent ' ;
3+ export function LandingPreview ( ) {
44 return (
5- < div className = "mt-30 pb-50 flex h-full flex-col items-center justify-center space-y-3 text-center" >
5+ < div className = "mt-30 flex h-full flex-col items-center justify-center space-y-3 pb-50 text-center" >
66 < p className = "bg-surface-alt rounded-mg mt-16 rounded-lg p-1 px-4 text-xs" >
77 🤔 왜 DevFlow를 사용할까요?
88 </ p >
99 < h1 className = "text-4xl font-bold" > 체계적인 학습으로</ h1 >
1010 < h1 className = "text-primary text-4xl font-bold" > 더 빠른 성장</ h1 >
1111 < div className = "mt-10 flex gap-50" >
12- < Contents />
12+ < FeatureContent />
1313 < Image
1414 src = "/PreviewImage.png"
1515 alt = "DevFlow 미리보기"
You can’t perform that action at this time.
0 commit comments