Skip to content

Latest commit

 

History

History
75 lines (54 loc) · 3.35 KB

File metadata and controls

75 lines (54 loc) · 3.35 KB

CLAUDE.md — Ghost's Personal Website

Project overview

Personal website for Liam (GhostYT7582) to showcase projects, share links, and document changes. Hosted on Vercel via automatic deploys from the main branch on GitHub.

Tech stack

  • Pure HTML + CSS — no frameworks, no build tools, no package manager
  • style.css is the single shared stylesheet for all pages
  • No JavaScript (keep it that way unless there's a specific reason to add it)

File structure

index.html      — Home / landing page (avatar + taglines)
about.html      — About me
projects.html   — Projects showcase
socials.html    — Contact / socials links
changes.html    — Changelog
style.css       — Global styles (shared by all pages)

Conventions

  • Every page must include <meta charset="UTF-8" /> and <meta name="viewport" content="width=device-width, initial-scale=1.0" /> in <head>
  • Every page must include <meta name="description">, og:title, og:description, og:image, og:url, and og:type meta tags for SEO and link previews
  • Every page must include the ghost emoji favicon: <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>👻</text></svg>" />
  • Every page must include the same <nav class="navbar"> block with links to all five pages; the current page's link gets class="active"
  • Every page links to style.css via <link rel="stylesheet" href="style.css" />
  • Every <html> tag must have lang="en"
  • Use <main class="hero"> as the page content wrapper
  • Page titles follow the pattern Page Name | Ghost's World (or just Ghost's World for the home page)
  • The shared og:image is https://cdn.hackclub.com/019e3238-f004-7153-a1fb-14d8ffd1ec8d/me1-1.png (the avatar)

Design

  • Dark theme: background #0f0f0f, primary text #f5f5f5
  • Navbar background: #111
  • Accent/hover color: #4da3ff (nav links on hover)
  • Link color: #f43535
  • Font: Arial, sans-serif
  • Keep the aesthetic minimal and dark

Responsive design

The site is mobile-first responsive. Key rules in style.css:

  • .hero has max-width: 720px, margin: auto, and padding: 0 20px to center content and prevent edge bleed on all screen sizes
  • h1 uses clamp(26px, 6vw, 48px) — scales fluidly between mobile and desktop
  • p uses clamp(15px, 2.5vw, 20px) and has a max-width: 600px for readability
  • .navbar uses flex-wrap: wrap so links wrap gracefully on narrow screens
  • .hero .avatar uses clamp(120px, 30vw, 200px) so it scales down on mobile
  • A @media (max-width: 480px) breakpoint tightens navbar padding and reduces top margin

When adding new styles, follow the existing responsive patterns — use clamp() for font/size values and avoid fixed pixel sizes that would break on small screens.

Deployment

Push to main on GitHub — Vercel auto-deploys. No build step required since this is static HTML/CSS.

Adding a new project to projects.html

Add an <a> tag wrapping a <p> for the project name, followed by a description <p>:

<a href="PROJECT_URL" target="_blank" rel="noopener noreferrer">
    <p>Project Name</p>
</a>
<p>Short description of the project.</p>

Updating the changelog (changes.html)

Add a new entry at the top of the <main class="hero"> section with the current date and bullet points for what changed.