暫無描述

Claude adf3a6fd39 build: require Node.js 24 and sync bun.lock with package.json 1 月之前
.vscode 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
app 56f6e7995a fix: resolve all TypeScript type errors from null date and untyped properties 7 月之前
components ae260f4076 fix: allow imageUrl to be undefined in BlogList props 7 月之前
config 1b8777ffbb layout: swap SecondSelf and Chatbot positions on mobile 9 月之前
firebase 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
hooks 5ac0f08f4b fix: use useLayoutEffect to eliminate layout shift on all devices 9 月之前
lib cc9b8a4160 fix(blog): send a User-Agent to Notion and unwrap blocks before notion-client walks them 1 月之前
public 908f02265f fix: use transparent PNG for Mini Cooper to avoid bg flash on theme switch 9 月之前
styles e3a9d4a321 fix: hide notion code block scrollbar and fix image border-radius 9 月之前
types 348d382d05 fix: handle Notion API block nesting change and null date/image edge cases 7 月之前
.env.local.example 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
.eslintignore b7cc1eceda Initial commit 2 年之前
.eslintrc.json b7cc1eceda Initial commit 2 年之前
.gitignore 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
.npmrc 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
LICENSE b7cc1eceda Initial commit 2 年之前
README.md 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
bun.lock adf3a6fd39 build: require Node.js 24 and sync bun.lock with package.json 1 月之前
eslint.config.mjs 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
hero.ts 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
next.config.js 2a29b2e363 perf: optimize images and add ISR caching 9 月之前
package.json adf3a6fd39 build: require Node.js 24 and sync bun.lock with package.json 1 月之前
postcss.config.js 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
tailwind.config.js 348d382d05 fix: handle Notion API block nesting change and null date/image edge cases 7 月之前
tsconfig.json 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 月之前
yarn.lock e3a9d4a321 fix: hide notion code block scrollbar and fix image border-radius 9 月之前

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.