From 95ac9a6f3a2fa3d83f60bcc8b2e29b6135184337 Mon Sep 17 00:00:00 2001 From: Yash-Vashishth Date: Tue, 8 Oct 2024 19:38:29 +0530 Subject: [PATCH] Changes in pages.tsx --- src/app/page.tsx | 97 +++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 50 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6fe62d1..34a354d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,25 @@ import Image from "next/image"; +import Link from 'next/link'; + +// Reusable component for links +const LinkButton = ({ href, target, rel, text, iconSrc, iconAlt, className }: any) => ( + + + {iconAlt} + {text} + + +); export default function Home() { return ( @@ -22,80 +43,56 @@ export default function Home() {
  • Save and see your changes instantly.
  • -
    - - Vercel logomark - Deploy now - - + - Read our docs - + text="Read our docs" + iconSrc="https://nextjs.org/icons/file.svg" + iconAlt="File icon" + />
    ); -} +} \ No newline at end of file