From 7d4089058e85050fc8fd8e868a5700369c0f0a0c Mon Sep 17 00:00:00 2001 From: Park Dahyeon Date: Sat, 15 Nov 2025 14:46:23 +0000 Subject: [PATCH] refactor: Update HomePage component for React Router --- src/components/HomePage.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/HomePage.tsx b/src/components/HomePage.tsx index b5e6a08..0f47d94 100644 --- a/src/components/HomePage.tsx +++ b/src/components/HomePage.tsx @@ -1,12 +1,12 @@ import { Search } from 'lucide-react'; +import { Link } from 'react-router-dom'; import { ImageWithFallback } from './figma/ImageWithFallback'; interface HomePageProps { theme: 'light' | 'dark'; - navigateToDocumentation: () => void; } -export function HomePage({ theme, navigateToDocumentation }: HomePageProps) { +export function HomePage({ theme }: HomePageProps) { const products = [ // Column 1 [ @@ -145,15 +145,15 @@ export function HomePage({ theme, navigateToDocumentation }: HomePageProps) { {products.map((column, columnIndex) => (
{column.map((product, index) => ( - + ))}
))}