Hey guys this is a nextjs project. Inspired By @Huzaifa Khan Portfolio.
Modify the constant.ts
file to update your personal details, social links, experiences, projects, services, and contact information.
./constants.ts
- Hero Section (name, title, subtitle, resume, social links)
- About Section (description, expertise)
- Projects (titles, descriptions, technologies, links, images)
- Services (offered services, descriptions, icons)
- Contact Info (email, phone, address)
- Year (Current year is dynamically set)
Modify the layout.tsx
file to update metadata and site information.
src/app/layout.tsx
APP_NAME
(Your name)APP_DEFAULT_TITLE
(Page title)APP_TITLE_TEMPLATE
(Page title format)APP_DESCRIPTION
(Portfolio description)APP_KEYWORDS
(SEO keywords)manifest
(Ensure the path is/manifest.json
)
Modify the manifest.json
file in the public
folder to reflect your portfolio details.
public/manifest.json
name
(Your name)short_name
(Short version of your name)description
(Short description of your portfolio)start_url
(Keep/
for the root directory)theme_color
(Primary color of the PWA)background_color
(Background color of the PWA)icons
(Ensure icons are properly defined)
For contact form email functionality, set up a Google App Password in the .env
file in the root directory.
.env
GMAIL_APP_PASSWORD=your-google-app-password
🚨 Note: Ensure that "Less Secure Apps" is disabled, and use App Passwords if required by Google.
To integrate Google Analytics and track page views, simply add your Google Analytics Measurement ID to the .env
file.
.env
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX
🔎 Note: Replace G-XXXXXXXXXX
with your actual Google Analytics Measurement ID.
To deploy your portfolio:
- Run the local development server:
npm i npm run dev
- Build for production:
npm run build
- Deploy using Vercel, Netlify, or any preferred hosting provider.
This Next.js PWA Portfolio template allows easy customization and efficient deployment. Follow the above steps to personalize it according to your needs.
Happy Coding! 🚀