Không có mô tả

Claude adf3a6fd39 build: require Node.js 24 and sync bun.lock with package.json 1 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 56f6e7995a fix: resolve all TypeScript type errors from null date and untyped properties 7 tháng trước cách đây
components ae260f4076 fix: allow imageUrl to be undefined in BlogList props 7 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 5ac0f08f4b fix: use useLayoutEffect to eliminate layout shift on all devices 9 tháng trước cách đây
lib cc9b8a4160 fix(blog): send a User-Agent to Notion and unwrap blocks before notion-client walks them 1 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 e3a9d4a321 fix: hide notion code block scrollbar and fix image border-radius 9 tháng trước cách đây
types 348d382d05 fix: handle Notion API block nesting change and null date/image edge cases 7 tháng 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 adf3a6fd39 build: require Node.js 24 and sync bun.lock with package.json 1 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 adf3a6fd39 build: require Node.js 24 and sync bun.lock with package.json 1 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 348d382d05 fix: handle Notion API block nesting change and null date/image edge cases 7 tháng 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 e3a9d4a321 fix: hide notion code block scrollbar and fix image border-radius 9 tháng 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.