Commit graph

13 commits

Author SHA1 Message Date
104cef06d8
Merge pull request #2 from GoranSalzmann/vercel/install-vercel-speed-insights-sfnft4
Install Vercel Speed Insights for Next.js
2026-02-13 10:17:54 +01:00
f56db46d98 feat: add About, Contact, and Projects pages with basic layout
refactor(Header): fix header positioning for better layout
refactor(Home): simplify main structure and adjust section padding
2026-02-13 10:17:13 +01:00
Vercel
74ebc52437 Install Vercel Speed Insights for Next.js
## Vercel Speed Insights Implementation

Successfully installed and configured Vercel Speed Insights for this Next.js portfolio project.

### What was implemented:

1. **Installed @vercel/speed-insights package**
   - Used npm (the project's package manager) to install `@vercel/speed-insights` v1.3.1
   - Updated package.json and package-lock.json with the new dependency

2. **Added SpeedInsights component to root layout**
   - Modified `app/layout.tsx` to import SpeedInsights from '@vercel/speed-insights/next'
   - Added the `<SpeedInsights />` component inside the `<body>` tag, after the main content
   - Placement follows Next.js App Router best practices for Next.js 15.5.12

### Files Modified:
- `app/layout.tsx` - Added import and component
- `package.json` - Added @vercel/speed-insights dependency
- `package-lock.json` - Updated with new dependency tree

### Implementation Details:
- The project uses Next.js 15.5.12 with App Router, which is newer than 13.5+
- Used the simplified approach: imported from '@vercel/speed-insights/next'
- No 'use client' directive needed as the package handles this internally
- The component is placed at the end of the body tag for optimal performance

### Verification:
- Build completed successfully with `npm run build`
- No errors or warnings introduced
- All changes have been staged with git

The Speed Insights component will now automatically track Core Web Vitals and send analytics data to Vercel when deployed.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-02-13 09:12:29 +00:00
f8cefe4a67 feat(Home): implement job rotation animation using framer-motion 2026-02-08 22:55:26 +01:00
5d38f54317 refactor(NavItem): enhance link highlighting and update layout structure 2026-02-08 22:20:47 +01:00
4e1d55aba1 logo & favicon 2026-02-08 21:22:34 +01:00
71b3c190df layout 2026-02-08 19:40:39 +01:00
c72cdfed53 bg fixed 2026-02-08 19:11:30 +01:00
f62310b201 WIP 2026-02-07 23:02:18 +01:00
7b115e8202 Take 2: background 2026-02-07 13:42:12 +01:00
81b57128b5 Refactor FootBar and global styles for improved layout and visual consistency; simplify social link structure and update styling in Navbar and Section components for a cleaner interface. 2025-10-28 16:17:54 +01:00
b26390bffc Refactor layout and styling; add Navbar and FootBar components, update Home page structure, and remove unused SVG files. 2025-10-18 22:37:07 +02:00
aa367b3b2a Initial commit from Create Next App 2025-10-17 20:22:21 +02:00