Skip to content

创建 Sakura 二次元个人主页#1

Draft
Sakura1232 with Copilot wants to merge 2 commits into
mainfrom
copilot/create-personal-site
Draft

创建 Sakura 二次元个人主页#1
Sakura1232 with Copilot wants to merge 2 commits into
mainfrom
copilot/create-personal-site

Conversation

Copilot AI commented Apr 2, 2026

Copy link
Copy Markdown

Repository was empty (README only). Builds a complete anime-themed single-page personal website deployable via GitHub Pages.

Structure

  • index.html — Seven sections: Hero, About, Interests (6 cards), Skills, Works (4 projects), Contact form, Footer
  • css/style.css — Pastel/sakura design system via CSS custom properties (pink/lavender/mint palette); glassmorphism navbar; responsive grid layouts (desktop → mobile); scroll-triggered reveal transitions; custom animated scrollbar
  • js/main.js — All interactivity with no dependencies:
    • Falling sakura petals (DOM-based, self-replenishing)
    • Typewriter effect cycling through persona phrases
    • IntersectionObserver for reveal animations and skill-bar fill
    • requestAnimationFrame timestamp-driven number counters (avoids setInterval drift)
    • Custom cursor + smooth trail, gated behind (hover: hover) and (pointer: fine) media query for accessibility
    • Hero parallax on mouse move; avatar click particle burst

Key decisions

  • Custom cursor hidden on touch/non-hover devices via both CSS @media and JS matchMedia guard — avoids stranding keyboard/touch users with invisible cursor
  • Counter animation uses rAF with elapsed-time ratio rather than fixed-step setInterval for frame-rate-independent accuracy
  • Zero external JS dependencies; Google Fonts is the only external resource
Original prompt

一个好的二次元个人网站

Copilot AI changed the title [WIP] Add personal website for anime enthusiast 创建 Sakura 二次元个人主页 Apr 2, 2026
Copilot AI requested a review from Sakura1232 April 2, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants