From f7b0538ac7a0ee9d0cbd18a23cce04a6beb82acf Mon Sep 17 00:00:00 2001 From: theoleuthardt Date: Sat, 8 Feb 2025 13:35:33 +0100 Subject: [PATCH] feat: start page tool overview with dynamic rendering --- src/app/page.tsx | 15 ++++++++++++++- src/components/Navbar.tsx | 3 ++- src/constants/index.ts | 30 ++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 src/constants/index.ts diff --git a/src/app/page.tsx b/src/app/page.tsx index 1a07204..c7488eb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,9 +1,22 @@ import Navbar from "../components/Navbar"; +import { toolLinks } from "@/constants"; export default function Home() { return ( -
+
+
+
+ {toolLinks.map((tool) => ( + + ))} +
+
); } diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 2104d86..f357f4d 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -3,12 +3,13 @@ import Image from "next/image"; import LOGO from "../assets/logo/icons8-toolbox-64.svg"; interface NavProps { + className?: string; renderHomeLink: boolean; } const navbar = (props: NavProps) => { return ( -
+