From 3467eaa3a11f747d1482ec439f97cb0e7e3901a9 Mon Sep 17 00:00:00 2001 From: anusbutt Date: Fri, 14 Aug 2026 05:05:09 +0500 Subject: [PATCH] feat(portfolio): add highlights section Add a server-rendered eight-card Highlights section with responsive layout, typed content, professional icons, and focused browser coverage. --- next-env.d.ts | 4 +- src/app/page.tsx | 2 + src/components/sections/about/About.tsx | 2 +- src/components/sections/contact/Contact.tsx | 2 +- .../sections/education/Education.tsx | 2 +- .../sections/highlights/HighlightCard.tsx | 56 ++++++++++++++++ .../sections/highlights/Highlights.tsx | 23 +++++++ src/components/sections/skills/Skills.tsx | 2 +- src/content/highlights.ts | 67 +++++++++++++++++++ tests/homepage.spec.ts | 9 +++ 10 files changed, 163 insertions(+), 6 deletions(-) create mode 100644 src/components/sections/highlights/HighlightCard.tsx create mode 100644 src/components/sections/highlights/Highlights.tsx create mode 100644 src/content/highlights.ts diff --git a/next-env.d.ts b/next-env.d.ts index ce4e94a..a419cbe 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,7 +1,7 @@ /// /// -import "./.next/types/routes.d.ts"; -import "./.next/types/root-params.d.ts"; +import "./.next/dev/types/routes.d.ts"; +import "./.next/dev/types/root-params.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/src/app/page.tsx b/src/app/page.tsx index 0c0a43a..4055494 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -4,6 +4,7 @@ import Navbar from "@/components/layout/Navbar"; import Hero from "@/components/sections/hero/Hero"; import About from "@/components/sections/about/About"; import Projects from "@/components/sections/projects/Projects"; +import Highlights from "@/components/sections/highlights/Highlights"; import Skills from "@/components/sections/skills/Skills"; import Education from "@/components/sections/education/Education"; import Contact from "@/components/sections/contact/Contact"; @@ -30,6 +31,7 @@ export default function Home() { + diff --git a/src/components/sections/about/About.tsx b/src/components/sections/about/About.tsx index fc21161..d6653e4 100644 --- a/src/components/sections/about/About.tsx +++ b/src/components/sections/about/About.tsx @@ -29,7 +29,7 @@ export default function About() {
diff --git a/src/components/sections/contact/Contact.tsx b/src/components/sections/contact/Contact.tsx index a81ad14..18510e0 100644 --- a/src/components/sections/contact/Contact.tsx +++ b/src/components/sections/contact/Contact.tsx @@ -8,7 +8,7 @@ export default function Contact() {