107 Komitmen 1d8a756d0b ... 8b2dfe9aba

Pembuat SHA1 Pesan Tanggal
  dengkanglin 8b2dfe9aba init: 康临随记 — a bilingual bento personal site built with Next.js 16 2 minggu lalu
  dengkanglin 1d8a756d0b feat: personalise the site for the owner 2 minggu lalu
  ericwu 2275b3d02b perf: stop cards going blank when scrolled back into view in Chrome 1 bulan lalu
  ericwu a0ae0e453a chore: redeploy so the rewritten Chinese posts go live 1 bulan lalu
  ericwu 1d9ffa4d4b fix(hero): let the Chinese headline ride the wave 1 bulan lalu
  ericwu d273412972 copy: write the Chinese UI the way a person types it 1 bulan lalu
  ericwu 04e27ce2ed copy: shorten the FinOps root-cause note so it fits on a phone 1 bulan lalu
  ericwu 4a38d3e350 perf(emoji): ask for Fast mode 1 bulan lalu
  ericwu 9fa2cad82b feat(emoji): move from gpt-4o-mini to GPT-6 Luna 1 bulan lalu
  ericwu c6f3c1c08a copy: rewrite the Chinese UI so it reads like Chinese 1 bulan lalu
  ericwu c8eeaa74e6 copy: say "agent" in the Chinese copy, the way Chinese engineers do 1 bulan lalu
  ericwu 51da9ced8d feat: put the agent stack in the toolbox 1 bulan lalu
  ericwu 7782118265 fix: keep the Chinese globe title inside its card on phones 1 bulan lalu
  ericwu 0695f3db78 docs: list the Chinese version among the README highlights 1 bulan lalu
  ericwu 9b2066c619 feat: read the site in English or Chinese, posts included 1 bulan lalu
  Claude f11071f96c feat: draw the link preview like the hero card 1 bulan lalu
  Claude 27189f9b36 docs: rewrite the README for the liquid-glass site, with new screenshots 1 bulan lalu
  Claude 87407ee6ce fix: let the headline rest while the glass period is pulled away 1 bulan lalu
  Claude 91aa5a295e fix: keep a press on the glass period from starting a text selection 1 bulan lalu
  Claude 2864c6579d fix: re-place the glass period when the web fonts land 1 bulan lalu
  Claude 9b363fe6c3 fix: balance the desktop hero instead of leaving a hole under the byline 1 bulan lalu
  Claude 7331c4dc68 fix: keep the glass period home when a view hides the hero 1 bulan lalu
  Claude d0a6a27ec2 fix: recolour the globe in place when the theme switches 1 bulan lalu
  Claude 9c0b854ff8 feat: let the FinOps notifications move like iOS ones 1 bulan lalu
  Claude 8cb45bb56f feat: reload a tab that comes back after a new deploy 1 bulan lalu
  Claude b50a011d10 fix: keep the glass lens clean on every iOS browser 1 bulan lalu
  Claude a52f54f23a fix: make the glass period a real lens on iPhone 1 bulan lalu
  Claude e38982aa24 feat: retitle the blog page in plain words 1 bulan lalu
  Claude de323bafa3 feat: tighten the page bottom and give the footer its links 1 bulan lalu
  Claude 1d18edf7c5 fix: update the cursor label right after a click 1 bulan lalu
  Claude b0e2736b63 fix: keep Bert out of the page until the avatar flips 1 bulan lalu
  Claude eb1793b17c fix: switch theme at once on Safari, where the reveal flashed the glass 1 bulan lalu
  Claude 5098229b57 feat: let the hero fill its card at every size 1 bulan lalu
  Claude 6bc1dfd37e feat: merge Work and Projects into one Work view 1 bulan lalu
  Claude 0c4644d012 fix: show the name on every iPhone; keep Eric's face on theme switch 1 bulan lalu
  Claude 9099e9794d feat: fill the writing card with as many posts as fit 1 bulan lalu
  Claude 66911d6b32 fix: keep the sky card's corners round on iPhone 1 bulan lalu
  Claude 036c5f98f6 fix: stop cards flashing as squares while scrolling fast 1 bulan lalu
  Claude 9b0591307d fix: show the gradient name on iPhone; keep the headline serif 1 bulan lalu
  Claude 77e9b63430 fix: spread toolbox marks evenly, with none on the poles 1 bulan lalu
  Claude 0e630222a5 fix: uncrowd the toolbox on phones; keep globe labels inside the card 1 bulan lalu
  Claude 4ac7ba43ac fix: phone hero fits its content; even spacing everywhere else 1 bulan lalu
  Claude 85f0c10d09 feat: Liquid Glass pass: search button, night stages, optical sizes 1 bulan lalu
  Claude c6b7273135 fix: recompose the hero card and align every card to one inset 1 bulan lalu
  Claude be1ec002f7 fix: tablet and narrow-desktop layouts 1 bulan lalu
  Claude a293c34307 fix: load linked blog covers from their source, with fallbacks 1 bulan lalu
  Claude d54e174563 feat: home-screen drag, motion system, and Fraunces display type 1 bulan lalu
  Claude 69f580488b feat: redesign the site as a liquid-glass bento 1 bulan lalu
  Claude b685286b36 feat: add Mount Rainier terrain data generators 1 bulan lalu
  Claude 9113e72c54 feat: update title to SDE II 1 bulan lalu
  Claude adf3a6fd39 build: require Node.js 24 and sync bun.lock with package.json 1 bulan lalu
  Claude cc9b8a4160 fix(blog): send a User-Agent to Notion and unwrap blocks before notion-client walks them 1 bulan lalu
  rriecc 56f6e7995a fix: resolve all TypeScript type errors from null date and untyped properties 7 bulan lalu
  rriecc ae260f4076 fix: allow imageUrl to be undefined in BlogList props 7 bulan lalu
  rriecc 348d382d05 fix: handle Notion API block nesting change and null date/image edge cases 7 bulan lalu
  Chengxiang Wu fbfcb31756 Merge pull request #17 from itsEricWu/claude/remove-resume-button-62smx 9 bulan lalu
  Claude bb49457c8f Remove resume button and related data fetching 9 bulan lalu
  rriecc e3a9d4a321 fix: hide notion code block scrollbar and fix image border-radius 9 bulan lalu
  rriecc 22799699d3 fix: blog card image not filling full width 9 bulan lalu
  Chengxiang Wu 250497b621 Merge pull request #16 from itsEricWu/claude/fix-mobile-card-links-iSoFW 9 bulan lalu
  Claude 9640d29a69 fix: comprehensive SEO best practices improvements 9 bulan lalu
  Chengxiang Wu 66ac27a97b Merge pull request #15 from itsEricWu/claude/fix-mobile-card-links-iSoFW 9 bulan lalu
  Claude 24bf056cb9 fix: make card links clickable on mobile 9 bulan lalu
  rriecc 63713115ac fix: enable emoji input on mobile via dragConfig cancel 9 bulan lalu
  rriecc 90065558cf fix: mobile emoji input and theme switch performance 9 bulan lalu
  rriecc 5ac0f08f4b fix: use useLayoutEffect to eliminate layout shift on all devices 9 bulan lalu
  rriecc fbab6e6291 fix: smooth layout reveal - disable grid transitions until settled 9 bulan lalu
  rriecc bc320abef0 perf: optimize blog speed, fix mobile layout shift and emoji input 9 bulan lalu
  rriecc 908f02265f fix: use transparent PNG for Mini Cooper to avoid bg flash on theme switch 9 bulan lalu
  rriecc 1b8777ffbb layout: swap SecondSelf and Chatbot positions on mobile 9 bulan lalu
  rriecc cbe90ac38c fix: theme switch showing wrong state on initial load 9 bulan lalu
  rriecc d44a27f5ab fix: make Mini Cooper image fill card on mobile 9 bulan lalu
  rriecc 44fc2d6c0e perf: fix theme switch lag on mobile 9 bulan lalu
  rriecc 390fed22ea perf: enable SSR for homepage content 9 bulan lalu
  rriecc 2a29b2e363 perf: optimize images and add ISR caching 9 bulan lalu
  rriecc fd9e22f1e7 fix: add touch event support for mobile 3D trigger 9 bulan lalu
  rriecc 7145d2b154 fix: remove Intersection Observer causing stuck loading, fix SecondSelf URL 9 bulan lalu
  rriecc 2073e6fcb4 feat: optimize loading speed, enhance SEO, replace GPT Actions with SecondSelf 9 bulan lalu
  s715860428 70afdbfec4 Migrate to Next.js 16, React 19, HeroUI, Tailwind v4 10 bulan lalu
  rriecc 83deedd6e7 feat: add tooltip 1 tahun lalu
  rriecc eb3c2f41ef move the resume icon back 1 tahun lalu
  rriecc ba1519d789 small update 1 tahun lalu
  rriecc 66637e5cae fix: optimize image and route 1 tahun lalu
  rriecc 198f853205 fix: fix dependency issue 1 tahun lalu
  rriecc 36ee6a31c0 feat: add resume redirection 1 tahun lalu
  rriecc 7e81ac167c improve: optimize first loading speed 2 tahun lalu
  rriecc e88b7f82f4 feat: add robots.txt 2 tahun lalu
  rriecc 049998341e fix: fix sitemap date bug 2 tahun lalu
  rriecc 19ce9d9035 feat: add prettier 2 tahun lalu
  rriecc 2b3d5c5686 feat: add sitemap (fix bug) 2 tahun lalu
  rriecc 57fe1f6fc1 feat: add sitemap 2 tahun lalu
  rriecc eaee53ad32 fix: fix home page padding bug 2 tahun lalu
  Chengxiang Wu 430c2c4aea Merge pull request #2 from itsEricWu/dev 2 tahun lalu
  Chengxiang Wu 4a6600a31c Merge pull request #1 from itsEricWu/main 2 tahun lalu
  rriecc 499ef82e4a fix: fix border issues and blog padding 2 tahun lalu
  rriecc e72a12bca6 fix: fix avatar image optimization bug 2 tahun lalu
  rriecc dc36cef580 fix: add map placeholder 2 tahun lalu
  rriecc 189601d27d fix: fix the icon cloud padding 2 tahun lalu
  rriecc ae653bbda2 fix: make prettier happy 2 tahun lalu
  rriecc 25215f8776 fix: add image optimization 2 tahun lalu
  Chengxiang Wu 766003f9f1 Update README.md 2 tahun lalu
  Chengxiang Wu 47ed34afc0 Update README.md 2 tahun lalu
  Chengxiang Wu 26bf60d864 Update README.md 2 tahun lalu
  Chengxiang Wu 86425d931d Update README.md 2 tahun lalu
  rriecc 5d257e0bd3 fix: remove unnecessary file 2 tahun lalu
  Chengxiang Wu 636774e9a6 Update README.md 2 tahun lalu
  rriecc b7cc1eceda Initial commit 2 tahun lalu
1 mengubah file dengan 47 tambahan dan 108 penghapusan
  1. 47 108
      README.md

+ 47 - 108
README.md

@@ -1,126 +1,65 @@
-# ericwu.me
-
-The personal site of Eric Wu, an SDE II at AWS building agentic systems and generative UI.
-Live at **[ericwu.me](https://ericwu.me)**.
-
-<picture>
-  <source media="(prefers-color-scheme: dark)" srcset="docs/screenshots/desktop-dark.webp">
-  <img alt="The ericwu.me home page: liquid-glass bento cards with the hero, FinOps Agent, Amazon Q artifacts, the Seattle sky, a globe and SecondSelf" src="docs/screenshots/desktop-light.webp">
-</picture>
-
-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.
-
-## Highlights
-
-- **The glass period.** The period in "Hey, I'm Eric." is a bead of liquid glass. Pull it and it swells into a lens that magnifies the card and stretches with speed. Let go and it springs back into a period. Chromium bends light through an SVG displacement map, and Safari and iOS get a magnified copy of the card.
-- **A grid you can rearrange.** Drag a card onto another to swap them (on touch, press and hold first). The All, About and Work views reflow the grid with spring-driven FLIP animations.
-- **Cards that do something.**
-  - Seattle's sky right now, with the sun's real position and the moon's phase.
-  - A WebGL globe tracing Purdue → UCLA → Seattle.
-  - A toolbox sphere you can spin and a photo deck you can fling.
-  - iOS-style FinOps Agent notifications and Amazon Q artifacts you can click through.
-  - A 3D MINI that loads only when asked for.
-  - An emoji card that picks an emoji for how you feel.
-- **A blog on Notion.** Posts are written in Notion, rendered with react-notion-x, prerendered and refreshed hourly.
-- **English and Chinese.** Every page has a Chinese twin under `/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.
-- **⌘K everywhere.** A command palette with fuzzy search over views, projects, links and a few tricks.
-- **Light and dark.** The theme switches with a circular reveal. Safari switches instantly, because it paints view-transition snapshots without glass.
-- **Built to be fast.**
-  - Pages are prerendered and the CSS is inlined.
-  - The web fonts load after first paint, and Apple devices use SF Pro.
-  - The globe and three.js load only when they're needed.
-  - A tab left open picks up a new deploy when you come back to it.
-- **Mount Rainier behind it all.** The contour lines come from AWS Terrain Tiles (USGS 3DEP), generated by `scripts/gen-topo.py`.
-
-<p align="center">
-  <img alt="The home page on a phone, in light and dark mode" src="docs/screenshots/phones.webp" width="640">
-</p>
-
-<p align="center">
-  <img alt="The glass period pulled over the bio, magnifying the words beneath it, in light and dark mode" src="docs/screenshots/lens.webp" width="820">
-</p>
-
-## Tech stack
-
-| Part      | Built with                                                                                                                                                                                                                                              |
-| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Framework | [Next.js 16](https://nextjs.org) (App Router), [React 19](https://react.dev), [TypeScript](https://www.typescriptlang.org)                                                                                                                              |
-| Styling   | [Tailwind CSS v4](https://tailwindcss.com), container queries, hand-built liquid glass                                                                                                                                                                  |
-| Type      | [Fraunces](https://fonts.google.com/specimen/Fraunces) for display, [Figtree](https://fonts.google.com/specimen/Figtree) for text (SF Pro on Apple devices), [Noto Serif SC](https://fonts.google.com/noto/specimen/Noto+Serif+SC) for Chinese headings |
-| Blog      | [Notion](https://www.notion.so) through [notion-client](https://github.com/NotionX/react-notion-x/tree/master/packages/notion-client) and [react-notion-x](https://github.com/NotionX/react-notion-x)                                                   |
-| Graphics  | [cobe](https://github.com/shuding/cobe) for the globe, [three.js](https://threejs.org) with [React Three Fiber](https://r3f.docs.pmnd.rs) and [drei](https://drei.docs.pmnd.rs) for the MINI                                                            |
-| Data      | [Firebase Storage](https://firebase.google.com/docs/storage) for photos, [OpenAI](https://platform.openai.com) for the emoji card                                                                                                                       |
-| Search    | [Fuse.js](https://www.fusejs.io)                                                                                                                                                                                                                        |
-| Hosting   | [Vercel](https://vercel.com), with Vercel Analytics                                                                                                                                                                                                     |
-
-## Project structure
-
-```text
-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
-```
+# 康临随记
+
+邓康临的个人主页:一个液态玻璃质感的 bento 卡片网格,用来放项目、工具和生活片段。
 
-## Getting started
+## 技术栈
 
-You need Node.js 24.
+| 层 | 选型 |
+|---|---|
+| 框架 | Next.js 16(App Router)+ React 19 + TypeScript |
+| 样式 | Tailwind CSS v4,无 UI 库,卡片与玻璃材质全部手写 |
+| 3D | three.js + @react-three/fiber + drei(车模,点击才加载) |
+| 地球 | cobe(点阵 WebGL 地球,进入视口才初始化) |
+| 图片 | 本地文件为主,Firebase Storage 仅用于项目截图(可选) |
+| 博客 | Notion API(当前停用,见下方说明) |
+
+## 本地运行
 
 ```bash
-git clone https://github.com/itsEricWu/ericwu.me.git
-cd ericwu.me
 npm install
-npm run dev
+npm run dev          # http://localhost:3000
 ```
 
-Then open [localhost:3000](http://localhost:3000).
-
-### Environment variables
+首页需要 `NEXT_PUBLIC_FIREBASE_API_KEY` 才会去拉项目截图;不配也能正常启动,会跳过 Firebase、使用本地图片。需要的话复制 `.env.local.example` 为 `.env.local` 再填。
 
-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`). |
+| 命令 | 说明 |
+|---|---|
+| `npm run dev` | 开发服务器(Turbopack) |
+| `npm run build` | 生产构建 |
+| `npm start` | 启动生产服务 |
+| `npm run lint` | ESLint |
+| `npm run typecheck` | TypeScript 类型检查 |
+| `npm run format` | Prettier |
 
-### Scripts
+## 语言与路由
 
-| 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 |
+- **中文**:裸路径,`/`、`/blog`
+- **英文**:`/en`、`/en/blog`
+- `/zh/*` 会 308 跳转到对应的裸路径,保证每个页面只有一个地址
 
-## Make it yours
+语言切换按钮、`⌘K` 命令面板和页脚都会跟随当前路径切换,不会把英文链接指到中文页。
 
-- **Who you are:** edit your name, links and projects in `config/site.ts`, and the bio and every other string in `messages/en.ts` and `messages/zh.ts`.
-- **Your blog:** point `notionBlogConfig.blogParentId` at your own public Notion page.
-- **Your images:** point `firebase/firebase.ts` at your own Firebase project and upload your photos and avatar (the paths are in `lib/data.ts`).
-- **Your cards:** cards live in `components/cards`. `app/[lang]/page.tsx` lists them with their size at each breakpoint and the views they belong to.
-- **Chinese versions of posts:** inside a post in Notion, add a sub-page titled with the post's Chinese title and put the translation in it. An empty sub-page translates only the title. A post without one shows the English original on `/zh`, under a note.
+## 目录结构
 
-## Deployment
-
-The site runs on Vercel, and every push to `main` deploys to [ericwu.me](https://ericwu.me).
-Any host that runs Next.js 16 on Node.js 24 works too.
+```
+app/[lang]/          页面(首页、博客列表、文章详情)
+components/bento/    卡片网格与拖拽换位
+components/cards/    各张卡片(个人信息、天空、足迹、照片、车模…)
+components/blog/     博客列表与文章渲染
+lib/                 数据获取、i18n、动效工具
+messages/            中英文案
+public/              静态资源(头像、照片、mini.glb)
+```
 
-## Star history
+## 目前的状态
 
-[![Star History Chart](https://api.star-history.com/svg?repos=itsEricWu/ericwu.me&type=Date)](https://star-history.com/#itsEricWu/ericwu.me&Date)
+- 首页有 9 张卡片是**空白占位**,由 `app/[lang]/page.tsx` 里的 `show` 开关控制。想恢复某张卡片把对应值改成 `true` 即可,组件和文案都还在。
+- **博客已清空**:不再请求 Notion,`/blog` 显示 0 篇;`lib/notion.ts` 和文章详情页保留,接回来就能用。
+- 头像和照片走本地文件(`public/avatar/`、`public/photos/`),不依赖外网,国内访问不会卡在加载上。
+- QQ 按钮目前隐藏(`components/cards/hero.tsx` 的 `SHOW_QQ`)。
 
-## License
+## 许可
 
-[MIT](LICENSE)
+MIT,见 [LICENSE](./LICENSE)。