Skip to content

refactor: replace inline styles with CSS classes, auto-update copyright year#18

Merged
arjun7965 merged 1 commit intomasterfrom
feat/code-quality
Mar 15, 2026
Merged

refactor: replace inline styles with CSS classes, auto-update copyright year#18
arjun7965 merged 1 commit intomasterfrom
feat/code-quality

Conversation

@arjun7965
Copy link
Owner

@arjun7965 arjun7965 commented Mar 15, 2026

Summary

  • Replace inline style attributes with CSS classes: Timeline card elements (margin-top, font-weight, margin-bottom) now use .rm-body, .rm-role, and .rm-stint classes instead of inline styles
  • Auto-update copyright year: Footer copyright year is now set dynamically via JS — no more manual updates each January
  • Skipped shared header/footer partials: For a 3-page static site with no build step, JS-based includes would hurt SEO and cause flash of unstyled content. Not worth the tradeoff.

Test plan

  • Verify timeline cards render identically to before (spacing, font weight, colors)
  • Verify copyright year shows current year (2026)
  • Verify no inline style attributes remain in index.html

🤖 Generated with Claude Code

…right year

- Extract inline style attributes from timeline cards into .rm-body,
  .rm-role, and .rm-stint CSS classes
- Auto-update copyright year via JS on all pages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@arjun7965 arjun7965 merged commit 297bc2a into master Mar 15, 2026
1 check passed
@arjun7965 arjun7965 deleted the feat/code-quality branch March 15, 2026 22:32
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.

1 participant