Không có mô tả

rriecc 908f02265f fix: use transparent PNG for Mini Cooper to avoid bg flash on theme switch 9 tháng trước cách đây
.vscode 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
app 2a29b2e363 perf: optimize images and add ISR caching 9 tháng trước cách đây
components 908f02265f fix: use transparent PNG for Mini Cooper to avoid bg flash on theme switch 9 tháng trước cách đây
config 1b8777ffbb layout: swap SecondSelf and Chatbot positions on mobile 9 tháng trước cách đây
firebase 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
hooks 390fed22ea perf: enable SSR for homepage content 9 tháng trước cách đây
lib 2073e6fcb4 feat: optimize loading speed, enhance SEO, replace GPT Actions with SecondSelf 9 tháng trước cách đây
public 908f02265f fix: use transparent PNG for Mini Cooper to avoid bg flash on theme switch 9 tháng trước cách đây
styles 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
types 049998341e fix: fix sitemap date bug 2 năm trước cách đây
.env.local.example 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
.eslintignore b7cc1eceda Initial commit 2 năm trước cách đây
.eslintrc.json b7cc1eceda Initial commit 2 năm trước cách đây
.gitignore 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
.npmrc 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
LICENSE b7cc1eceda Initial commit 2 năm trước cách đây
README.md 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
bun.lock 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
eslint.config.mjs 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
hero.ts 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
next.config.js 2a29b2e363 perf: optimize images and add ISR caching 9 tháng trước cách đây
package.json 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
postcss.config.js 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
tailwind.config.js b7cc1eceda Initial commit 2 năm trước cách đây
tsconfig.json 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 tháng trước cách đây
yarn.lock 198f853205 fix: fix dependency issue 1 năm trước cách đây

README.md

My Personal Website

ericwu.me

image

Google Chrome 2024-07-12 22 33 34

Built using Next.js 16 with React 19, HeroUI v2, and Tailwind CSS v4. The website features a blog powered by the Notion API, serving as the CMS. The design is inspired by Nev Flynn's Bento design, focusing on simplicity and user-friendly interfaces.

Features

  • Next.js 16: Utilizes the latest features of Next.js with Turbopack for fast rendering and efficient SEO optimization.
  • React 19: Latest React with improved performance and new features.
  • HeroUI v2: Modern React UI library (successor to NextUI).
  • Tailwind CSS v4: CSS-first configuration with improved performance.
  • Notion API: Integrates Notion as a headless CMS to manage and retrieve blog content dynamically.
  • Responsive Bento Design: Adopts the aesthetic and functional principles of Bento design, customized for a unique look and feel.

Getting Started

Prerequisites

  • Node.js (v20.x or later recommended)
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/itsEricWu/ericwu.me.git
    
  2. Install dependencies:

    npm install
    
  3. Set up environment variables: Create a .env.local file in the root directory and add the following variables:

    OPENAI_API_KEY=exampleAPIKey
    NEXT_PUBLIC_MAPBOX_TOKEN=exampleAPIKey
    NEXT_PUBLIC_FIREBASE_API_KEY=exampleAPIKey
    SITE_URL=https://www.example.com
    

Running the project

npm run dev

Open http://localhost:3000 with your browser to see the result.

Tech Stack

Deployment

This website is ready to be deployed on platforms like Vercel, Netlify, or any other platform that supports Next.js.

Star History

Star History Chart

Contributing

Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.