Fără Descriere

Claude 24bf056cb9 fix: make card links clickable on mobile 9 luni în urmă
.vscode 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
app bc320abef0 perf: optimize blog speed, fix mobile layout shift and emoji input 9 luni în urmă
components 24bf056cb9 fix: make card links clickable on mobile 9 luni în urmă
config 1b8777ffbb layout: swap SecondSelf and Chatbot positions on mobile 9 luni în urmă
firebase 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
hooks 5ac0f08f4b fix: use useLayoutEffect to eliminate layout shift on all devices 9 luni în urmă
lib bc320abef0 perf: optimize blog speed, fix mobile layout shift and emoji input 9 luni în urmă
public 908f02265f fix: use transparent PNG for Mini Cooper to avoid bg flash on theme switch 9 luni în urmă
styles 90065558cf fix: mobile emoji input and theme switch performance 9 luni în urmă
types 049998341e fix: fix sitemap date bug 2 ani în urmă
.env.local.example 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
.eslintignore b7cc1eceda Initial commit 2 ani în urmă
.eslintrc.json b7cc1eceda Initial commit 2 ani în urmă
.gitignore 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
.npmrc 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
LICENSE b7cc1eceda Initial commit 2 ani în urmă
README.md 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
bun.lock 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
eslint.config.mjs 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
hero.ts 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
next.config.js 2a29b2e363 perf: optimize images and add ISR caching 9 luni în urmă
package.json 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
postcss.config.js 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
tailwind.config.js b7cc1eceda Initial commit 2 ani în urmă
tsconfig.json 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 luni în urmă
yarn.lock 198f853205 fix: fix dependency issue 1 an în urmă

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.