Next.jsReact作品集

Portfolio (nipul2626) — Next.js 作品集模板

作者 nipul2626

基于 Next.js App Router 与 Tailwind CSS 的个人作品集网站,以太空探索为主题,包含 Hero、About、Skills、Projects、Testimonials、Contact 等模块,并使用 localStorage 保存联系表单反馈。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-13查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

基于 Next.js App Router 与 Tailwind CSS 构建,组件按区块拆分,结构清晰

02

Canvas 实现的视差星空背景,支持移动端减少星星数量并遵循 prefers-reduced-motion

03

联系表单包含姓名、邮箱、消息的字段级校验,提交后数据存入 localStorage

04

独立的 /transmissions 页面读取 localStorage 数据,支持单条删除与清空全部

05

使用 Orbitron、Rajdhani、Space Mono 字体,并通过 CSS 变量管理太空主题配色

06

包含技能进度条、项目卡片、评价轮播等交互组件,均基于 React 状态驱动

模板详细介绍

这是一个个人作品集网站模板,使用 Next.js App Router 和 Tailwind CSS 构建,主题围绕太空探索展开。页面由多个独立组件组成,包括 Hero、About、Skills、Projects、Testimonials、Contact 和 Footer,每个区块都采用模块化设计。

网站包含 Canvas 实现的视差星空背景、滚动进度条、技能进度条动画、项目卡片、评价轮播以及带字段级校验的联系表单。联系表单提交后,数据会以对象形式存入浏览器 localStorage 的 "spaceFeedback" 键下,并跳转到 /transmissions 页面展示反馈卡片,该页面支持单条删除和清空全部。

项目未使用后端或数据库,所有数据持久化均在客户端完成。仓库采用 MIT 许可证,可免费使用、修改、商用和分发,但需保留版权声明和许可声明。演示图片、字体、图标等第三方素材需单独核对许可,域名、托管等外部服务可能产生费用。

Next.js作品集

适合你的项目吗?

适用场景

  • 开发者搭建个人作品集网站,展示技能、项目与联系方式
  • 学习 Next.js App Router 与 Tailwind CSS 的组件化页面组织方式
  • 参考 Canvas 动画与 localStorage 客户端数据持久化的实现
  • 作为课程作业或练习项目,演示前端状态管理与表单校验

适合人群

  • 需要个人作品集网站的前端开发者或学生
  • 希望学习 Next.js App Router 与 Tailwind CSS 的开发者
  • 对 Canvas 动画和客户端存储实现感兴趣的读者
  • 寻找 MIT 许可可自由修改的模板作为起点的用户

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    仓库未提供依赖安装与启动命令,需参考 Next.js 项目常规流程自行配置

  2. 2

    联系表单数据仅保存在浏览器 localStorage,不会发送到服务器

  3. 3

    第三方字体、图标或演示图片需单独核对许可,不能仅凭 MIT 判断

  4. 4

    部署到 Vercel 等平台时,域名与托管服务可能产生额外费用

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 项目不使用后端或数据库,所有数据持久化均在客户端完成;联系表单反馈仅保存在浏览器 localStorage 中,不会发送到服务器,因此无法跨设备或跨浏览器共享数据。
  • 反馈数据存储在浏览器 localStorage 的 "spaceFeedback" 键下,清除浏览器数据或更换设备后数据会丢失。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

No backend or database is used. All data persistence is handled on the client side.

README 原文

The object is stored in `localStorage` under the key `"spaceFeedback"`.

README 原文
https://github.com/nipul2626/Portfolio/blob/main/LICENSEhttps://github.com/nipul2626/Portfolio/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-13。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 80 / 100
技术栈
Next.js · React
网站类型
作品集
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-02-28
截图检查日期
2026-10-13

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: [email protected] · 2026-10-13

查看当时使用的来源资料

SHA-256: 28404b673aaa55eca5b8feda14ebe6148535331c566ad9c59904f0965f7b1aaa

2026-10-13T07:02:00.459Z

来源文件 / 仓库
# 🌌 Nipul Pramod Rathod – Cosmic Portfolio

This project is my personal portfolio website built using **Next.js (App Router)** and **Tailwind CSS**.  
The theme is inspired by space exploration, where my development journey is represented as a cosmic mission.

The goal of this project was not just to design a portfolio, but to demonstrate:

- Modern frontend architecture
- Client-side state management
- Interactive UI components
- Data persistence using localStorage
- Performance optimization
- Clean and scalable project structure

---

# 🚀 Project Overview

The website is structured into multiple sections, each representing a different part of my professional journey.

It uses:
- Next.js 16 (App Router)
- TypeScript
- Tailwind CSS 4
- Canvas-based animations
- LocalStorage for feedback persistence

All sections are component-based and modular for scalability.

---

# 🧩 Website Sections Explained

## 1️⃣ Hero Section

The Hero section introduces me with an animated heading and call-to-action buttons.

**How it works:**
- Uses animated typography
- Background contains a parallax star field
- CTA buttons use hover and glow animations
- Fully responsive using Tailwind breakpoints

---

## 2️⃣ About Section

This section explains my journey as a developer.

**Features:**
- Glassmorphism card design
- Animated statistics
- Clean typography using Orbitron and Rajdhani fonts
- Responsive grid layout

---

## 3️⃣ Skills Section

Skills are grouped into:
- Frontend
- Backend
- Tools

Each skill uses animated progress bars.

**How it works:**
- Skills stored in an array
- Dynamically mapped using React
- Smooth width animation on scroll
- Tailwind utility classes for styling

---

## 4️⃣ Projects Section

Projects are displayed as planetary-style cards.

Each card includes:
- Title
- Description
- Tech stack tags
- Hover animations

**Implementation details:**
- Data-driven rendering using an array
- Gradient overlays
- Interactive hover scale effects

---

## 5️⃣ Testimonials Section

This section includes a carousel slider.

**How it works:**
- Uses React state to control index
- Auto-rotation with interval
- Manual navigation buttons
- Smooth transition animations

---

## 6️⃣ Contact Section

The contact form validates:
- Name (minimum length, no numbers)
- Email (regex validation)
- Message (minimum characters)

**Technical implementation:**
- Controlled inputs using `useState`
- Field-level validation
- Animated error messages
- Success animation after submission

---

# 📡 Transmission Archive (Feedback Storage System)

To fulfill the assignment requirement of storing feedback, I implemented a **Transmission Archive system** using the browser’s `localStorage`.

## How It Works

1. User submits the contact form.
2. Data is validated.
3. A feedback object is created containing:
  - Name
  - Email
  - Subject (optional)
  - Message
  - Date & Time (`new Date().toLocaleString()`)
4. The object is stored in `localStorage` under the key `"spaceFeedback"`.
5. The user is redirected to:

```
/transmissions
```

---

## Transmissions Page

This page:

- Is a client component (`'use client'`)
- Uses `useEffect()` to safely load localStorage data
- Stores transmissions in React state
- Dynamically renders feedback cards

### Features:
- Persistent storage (data remains after refresh)
- Individual delete button per transmission
- "Clear All Transmissions" option
- Empty state message when no data exists
- Styled using the same cosmic glass theme

This demonstrates:
- Web Storage API usage
- React state synchronization
- Client-side routing using `useRouter()`
- CRUD-style interaction (Create, Read, Delete)

---

# 🎨 Design System

## Color Theme

Primary Colors:
- Deep Space Black: #000000 – #0a0a1a
- Cosmic Purple: #a855f7
- Stellar Blue: #3b82f6
- Pulsar Pink: #ec4899
- Nova Orange: #f97316

All colors are controlled using CSS variables inside `globals.css`.

---

## Typography

Fonts configured in `app/layout.tsx`:

- Orbitron → Headings
- Rajdhani → Body
- Space Mono → Technical / Code sections

---

# 🌠 Parallax Background System

The background star field is rendered using a Canvas component.

**How it works:**
- Uses `requestAnimationFrame`
- Star objects stored in an array
- Different speed layers for depth illusion
- Reduced star count on mobile devices
- Respects `prefers-reduced-motion`

This keeps performance optimized while maintaining visual richness.

---

# ⚡ Performance Optimization

- Canvas rendering optimized for 60fps
- Lazy-loaded components where necessary
- Passive scroll listeners
- Mobile star count reduction (200 instead of 400)
- No heavy external images (CSS & Canvas-based visuals)
- Next.js automatic route-based code splitting

---

# ♿ Accessibility

- Semantic HTML structure
- Proper ARIA labels
- Visible focus states
- High color contrast (WCAG AA compliant)
- Motion reduction support

---

# 🗂 Project Structure

```
app/
  layout.tsx
  globals.css
  page.tsx
  transmissions/page.tsx

components/
  ParallaxBackground.tsx
  ScrollProgress.tsx
  Header.tsx
  HeroSection.tsx
  AboutSection.tsx
  SkillsSection.tsx
  ProjectsSection.tsx
  TestimonialsSection.tsx
  ContactSection.tsx
  Footer.tsx
```

Each section is modular and reusable.

---

# 🛠 Tech Stack

- Next.js 16 (App Router)
- TypeScript
- Tailwind CSS 4
- Canvas API
- LocalStorage API

No backend or database is used.  
All data persistence is handled on the client side.

---

# 📬 Contact

- Email: [email protected]
- LinkedIn: https://linkedin.com/in/nipulpramod
- GitHub: https://github.com/nipul

---

Built with curiosity, creativity, and a love for clean architecture.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。