Skip to content

Add Dark Mode, Back to Top, Typing Animation, Skills Proficiency Bars, and About Me section#9

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/implement-discussed-features
Draft

Add Dark Mode, Back to Top, Typing Animation, Skills Proficiency Bars, and About Me section#9
Copilot wants to merge 2 commits into
mainfrom
copilot/implement-discussed-features

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 14, 2026

Implements the five features outlined in PR #8. The AboutMe component existed but was never rendered; the other four features are net-new.

New Components

  • DarkModeToggle — Fixed top-right button; persists preference in localStorage, toggles .dark-mode on <body>
  • BackToTop — Fixed bottom-right button; appears after 300px scroll via scroll listener, smooth-scrolls to top

Updated Components

  • Header — Replaces static subtitle with a useTypewriter hook cycling through role phrases with a blinking cursor
  • Skills — Replaces static badges with animated proficiency bars; animation fires once via IntersectionObserver on viewport entry
  • App — Renders <AboutMe />, <DarkModeToggle />, and <BackToTop />; manages isDark state synced to localStorage

Styles & Data

  • GlobalStyles — CSS custom properties for light/dark themes (--bg-color, --text-color, --card-bg, etc.) with .dark-mode overrides on body; enables theme-aware styling across all components without prop drilling
  • src/data/skills.js — Extracted skills data (name + level) as a shared CommonJS module consumed by both Skills.jsx and the test suite

Tests

  • tests/skills.test.js — Validates skill entries from the shared data module have required fields and valid level ranges (0–100)

Transient Props

Styled-components $-prefixed transient props used for $visible, $animated, $level to prevent unknown prop warnings from reaching the DOM.

Original prompt

Implement the features discussed in the last pull request


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

…on, Skills Proficiency Bars, About Me section

Co-authored-by: Yasar2019 <60102921+Yasar2019@users.noreply.github.com>
Copilot AI changed the title [WIP] Add features discussed in last pull request Add Dark Mode, Back to Top, Typing Animation, Skills Proficiency Bars, and About Me section Mar 14, 2026
Copilot AI requested a review from Yasar2019 March 14, 2026 22:49
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