diff --git a/src/app/(marketing)/page.tsx b/src/app/(marketing)/page.tsx index 943e8c7..4f23741 100644 --- a/src/app/(marketing)/page.tsx +++ b/src/app/(marketing)/page.tsx @@ -1,3 +1,4 @@ +import { LandingFeaturesSection2 } from "@/components/landing/LandingFeatureSection2"; import { LandingFeaturesSection1 } from "@/components/landing/LandingFeaturesSection1"; import { LandingHeroSection } from "@/components/landing/LandingHeroSection"; @@ -8,6 +9,7 @@ export default function Home() { <> + ); } diff --git a/src/components/landing/LandingFeatureGrid.tsx b/src/components/landing/LandingFeatureGrid.tsx index 4575b9e..b5a5a07 100644 --- a/src/components/landing/LandingFeatureGrid.tsx +++ b/src/components/landing/LandingFeatureGrid.tsx @@ -11,7 +11,7 @@ export function LandingFeatureGrid({ className }: LandingFeatureGridProps) { const setActiveFeature = useFeaturePreviewStore((state) => state.setActiveFeature); return ( -
+
{FEATURES.map((feature) => ( + + + + ); +} diff --git a/src/components/landing/LandingFeatureText.tsx b/src/components/landing/LandingFeatureText.tsx new file mode 100644 index 0000000..c9f4bf2 --- /dev/null +++ b/src/components/landing/LandingFeatureText.tsx @@ -0,0 +1,19 @@ +"use client"; + +import { cn } from "@/lib/utils"; +import type { LandingFeatureTextProps } from "@/types/landing"; + +export function LandingFeatureText({ className }: LandingFeatureTextProps) { + return ( +
+

+ 모듈을 +
+ 자유롭게 배치하세요 +

+

+ 드래그 앤 드롭으로 나만의 대시보드를 완성하세요. +

+
+ ); +} diff --git a/src/components/landing/LandingLayoutPreview.tsx b/src/components/landing/LandingLayoutPreview.tsx new file mode 100644 index 0000000..a37afde --- /dev/null +++ b/src/components/landing/LandingLayoutPreview.tsx @@ -0,0 +1,23 @@ +"use client"; + +import { cn } from "@/lib/utils"; +import type { LandingLayoutPreviewProps } from "@/types/landing"; +import Image from "next/image"; + +export function LandingLayoutPreview({ className }: LandingLayoutPreviewProps) { + return ( +
+
+
+ 여러 모듈을 자유롭게 배치한 대시보드 레이아웃 예시 +
+
+
+ ); +} diff --git a/src/types/landing.ts b/src/types/landing.ts index b5e46a5..fc2c528 100644 --- a/src/types/landing.ts +++ b/src/types/landing.ts @@ -64,3 +64,13 @@ export interface FeatureItem { iconName: FeatureIconName; previewImageSrc: string; } + +/* ------------------------------------------------- + 기능 소개 섹션 2 + ------------------------------------------------- */ + +export type LandingFeaturesSection2Props = WithClassName; + +export type LandingLayoutPreviewProps = WithClassName; + +export type LandingFeatureTextProps = WithClassName;