No Description

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

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.