|
|
il y a 1 mois | |
|---|---|---|
| .vscode | il y a 10 mois | |
| app | il y a 1 mois | |
| assets | il y a 1 mois | |
| components | il y a 1 mois | |
| config | il y a 1 mois | |
| docs | il y a 1 mois | |
| firebase | il y a 1 mois | |
| lib | il y a 1 mois | |
| messages | il y a 1 mois | |
| public | il y a 1 mois | |
| scripts | il y a 1 mois | |
| styles | il y a 1 mois | |
| types | il y a 1 mois | |
| .env.local.example | il y a 1 mois | |
| .gitignore | il y a 10 mois | |
| .npmrc | il y a 10 mois | |
| LICENSE | il y a 2 ans | |
| README.md | il y a 1 mois | |
| bun.lock | il y a 1 mois | |
| eslint.config.mjs | il y a 1 mois | |
| next.config.js | il y a 1 mois | |
| package.json | il y a 1 mois | |
| postcss.config.js | il y a 10 mois | |
| tsconfig.json | il y a 1 mois | |
| yarn.lock | il y a 1 mois |
The personal site of Eric Wu, an SDE II at AWS building agentic systems and generative UI. Live at ericwu.me.
It's a bento grid of liquid-glass cards, built from scratch with Next.js 16, React 19 and Tailwind CSS v4. There's no UI kit: the cards, the glass material and the motion are all hand-made.
/zh, and the nav, the footer and ⌘K switch between them. Chinese headings are set in Noto Serif SC beside Fraunces, and a post carries its Chinese version as a sub-page in Notion.scripts/gen-topo.py.| Part | Built with |
|---|---|
| Framework | Next.js 16 (App Router), React 19, TypeScript |
| Styling | Tailwind CSS v4, container queries, hand-built liquid glass |
| Type | Fraunces for display, Figtree for text (SF Pro on Apple devices), Noto Serif SC for Chinese headings |
| Blog | Notion through notion-client and react-notion-x |
| Graphics | cobe for the globe, three.js with React Three Fiber and drei for the MINI |
| Data | Firebase Storage for photos, OpenAI for the emoji card |
| Search | Fuse.js |
| Hosting | Vercel, with Vercel Analytics |
app/[lang]/ Pages in each language (English at /, Chinese at /zh): home, /blog, /blog/[blogId]
app/ The emoji and version APIs, OG image, sitemap
messages/ Every string on the site, in English and Chinese
components/
bento/ The grid: layout per view, drag to swap, FLIP view changes
cards/ Every card on the home page
glass/ Liquid-glass material, refraction maps, the cursor lens
nav/ Floating nav and the ⌘K command palette
backdrop/ The Mount Rainier contour background
blog/ Blog list and Notion page renderer
config/ Site metadata, links, projects and fonts
lib/ Layouts, Notion and Firebase data, motion springs, theme transition
scripts/ Generators for the contour background and the Rainier skyline
public/ Static files: contour data, the MINI model, emoji
You need Node.js 24.
git clone https://github.com/itsEricWu/ericwu.me.git
cd ericwu.me
npm install
npm run dev
Then open localhost:3000.
Copy .env.local.example to .env.local. Both variables are optional.
| Variable | What it's for |
|---|---|
OPENAI_API_KEY |
The emoji card (/api/emoji). Without it, only that card shows an error. |
NEXT_PUBLIC_FIREBASE_API_KEY |
The Firebase project that stores the photos, the avatar and the project images (firebase/firebase.ts). |
| Command | What it does |
|---|---|
npm run dev |
Dev server with Turbopack |
npm run build, npm start |
Production build and server |
npm run lint, npm run typecheck, npm run format |
ESLint, TypeScript, Prettier |
npm run topo |
Regenerate the Mount Rainier contours |
config/site.ts, and the bio and every other string in messages/en.ts and messages/zh.ts.notionBlogConfig.blogParentId at your own public Notion page.firebase/firebase.ts at your own Firebase project and upload your photos and avatar (the paths are in lib/data.ts).components/cards. app/[lang]/page.tsx lists them with their size at each breakpoint and the views they belong to./zh, under a note.The site runs on Vercel, and every push to main deploys to ericwu.me.
Any host that runs Next.js 16 on Node.js 24 works too.