Skip to content

ChaoyuWang04/Chaoyu-Personal-Web

Repository files navigation

Portfolio with Blog Template for Next.js 16 with App Router, Tailwind CSS 4, TypeScript

Deploy with Vercel

Demo Screenshot

Documentation →

Demo

Features

A modern portfolio website with an integrated blog, supporting seamless AI-assisted coding for easy and highly flexible customization.

  • ⚙️ Quick setup: Get started in minutes by editing the single config file.
  • 📰 Rich portfolio: Showcase news, projects, experiences, and more.
  • 📝 Blog support: Write effortlessly with Markdown in the content/ directory.
  • 🌍 Internationalization: Out-of-the-box I18n for English & Chinese, easily extendable to other languages.
  • 🌗 Light & dark mode: Instantly toggle color themes for the perfect look.
  • 🧭 Intuitive navigation: Clean navbar, stylish footer, and simple language switching.
  • 🌐 Social integration: Plenty of modern social media icons to connect everywhere.
  • 🤖 AI-assisted coding: Seamless with Cursor and Cursor Rules.
  • 📚 Detailed docs: Start fast & customize deep with full documentation.

Built with cutting-edge tech:

  • Next.js 16: Powered by the new App Router for flexibility & speed.
  • 🔥 TypeScript: Full type-checking and safety.
  • 💎 Tailwind CSS 4: Elegant, modern styling out of the box.
  • Strict Mode: Takes advantage of TypeScript strictness and React 19 best practices.
  • 💅 UI magic: Beautiful components via shadcn/ui & magic ui.
  • 🎬 Smooth animation: Powered by Framer Motion.
  • 🚀 Vercel ready: Deploy in seconds with global fast hosting.
  • 📱 Responsive design: Looks stunning on all devices.
  • 🤖 SEO optimized: Includes metadata, JSON-LD, and Open Graph tags for top rankings.
  • 🗺️ Sitemap & robots: SEO and crawling handled automatically.
  • 💯 Lighthouse perfection: Tuned for top performance and best practices.
  • 📊 Analytics ready: Connect Google Analytics 4, Google Tag Manager, and Google Search Console for powerful insights.
  • 💖 Prettier: Effortless code formatting.
  • 📏 ESLint: Linting for code quality and consistency.
  • 🏗️ Inspired by: dillionverma/portfolio
  • 🔒 Security: Follows best practices for security and privacy.

Getting Started 🚀

Spin up your own portfolio site in minutes!

1. Clone & install

git clone https://github.com/zhengzangw/nextjs-portfolio-blog-research
cd nextjs-portfolio-blog-research
pnpm install    # or: npm install | yarn install

2. Launch the dev server

pnpm dev        # or: npm run dev | yarn dev

Visit http://localhost:3000 to view your site.

Static assets on deploy

  • Files in public/ must match their referenced path casing exactly. foo.png and Foo.png are different on Linux/Vercel even if they look identical on macOS.
  • pnpm build now runs a static asset validator before the Next.js build so case-mismatched image paths fail locally instead of only failing after deployment.

Hugo blog on deploy

  • The /blog section is generated from hugo-blog/ with Hugo PaperMod.
  • The Hugo subsite intentionally uses PaperMod's native header, menu, social icons, archive/search pages, and example-site presentation settings; keep local overrides minimal.
  • pnpm build runs pnpm blog:build first. On Linux CI, the blog build downloads a fixed Hugo Extended binary into node_modules/.cache/hugo, so Vercel does not need a globally installed Hugo. On local non-Linux machines, set HUGO_BIN or install Hugo locally.
  • Add posts under hugo-blog/content/posts; the generated public/blog output is ignored and should be rebuilt during deployment.

Optional Vercel monitoring

  • Client-side Vercel Analytics and Speed Insights are now opt-in. Set NEXT_PUBLIC_ENABLE_VERCEL_ANALYTICS=true and/or NEXT_PUBLIC_ENABLE_VERCEL_SPEED_INSIGHTS=true if you want those scripts injected in production.

Default locale and theme

  • The root path / is fixed to the default English locale. Chinese content is available under /zh.
  • Automatic locale detection from browser language and locale cookies is disabled so shared links consistently open in English.
  • The site defaults to light mode on first visit. Users can still switch themes manually in the UI.

3. Customize your portfolio

The repo includes example portfolio data and blog posts so you'll see real content right away.


🚀 Deploy to Vercel Instantly

Click
Deploy with Vercel
Your portfolio will be live in minutes! No config needed. Vercel’s generous free plan is perfect for personal and demo sites.


Find more details and advanced guides in the Documentation.

About

Personal Web Page

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors