Skip to content

Replace home intro with retro terminal component#320

Open
MattBidewell wants to merge 3 commits into
mainfrom
claude/terminal-homepage-redesign-SW90k
Open

Replace home intro with retro terminal component#320
MattBidewell wants to merge 3 commits into
mainfrom
claude/terminal-homepage-redesign-SW90k

Conversation

@MattBidewell

Copy link
Copy Markdown
Owner

Summary

Replaced the static home intro component with an interactive retro-styled terminal component that displays a command-line interface with ASCII art and animated content.

Key Changes

  • New Component: Added TerminalHome.astro - a terminal-themed home page component featuring:

    • ASCII art banner with "MATTY" text
    • Simulated terminal commands (whoami, cat about.txt, ls ./links/)
    • Animated command output with staggered appearance timing
    • Blinking cursor at the end of the terminal session
    • Navigation links styled as terminal directory listings
  • New Stylesheet: Added TerminalHome.module.css with:

    • Comprehensive terminal color palette (neon green, cyan, dark backgrounds)
    • Custom animations: appear, blink, ascii-glow, and scanline
    • Terminal window styling with macOS-style title bar (red/yellow/green dots)
    • Scanline texture overlay for authentic CRT monitor effect
    • Responsive design with mobile-optimized font sizes and spacing
    • Glow effects and text shadows for retro aesthetic
  • Updated Home Page: Modified src/pages/index.astro to import and render the new TerminalHome component instead of HomeIntro

Notable Implementation Details

  • Staggered animations using CSS custom properties (--d variable) for sequential command execution effect
  • Monospace font stack with fallbacks for consistent terminal appearance
  • Subtle scanline pattern using ::before pseudo-element with pointer-events: none
  • Responsive typography using clamp() for fluid scaling across device sizes
  • Accessible link styling with hover states and glow effects
  • Z-index layering to ensure scanline texture doesn't interfere with interactive elements

https://claude.ai/code/session_01451y69uQMT1rUBZGipyyum

claude added 2 commits April 22, 2026 14:55
Replaces the plain HomeIntro with a full terminal-window component:
- ANSI Shadow Unicode ASCII art "MATTY" with neon-green glow animation
- macOS-style traffic-light title bar
- Staggered CSS animation reveals simulated terminal session
  (whoami → about → ls links/)
- Blinking cursor at the idle prompt
- Subtle CRT scanline texture overlay
- Responsive font scaling for the ASCII art

https://claude.ai/code/session_01451y69uQMT1rUBZGipyyum
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
matty-dev 84f4879 Commit Preview URL

Branch Preview URL
Apr 22 2026, 03:08 PM

- Add `fullscreen` prop to BaseLayout that skips the nav sidebar
  and footer when enabled (opt-in; other pages unchanged).
- Homepage now takes over the whole viewport as a terminal window:
  sticky title bar, scrolling body, CRT scanlines + vignette fixed
  over the viewport for immersion.
- Larger ASCII art (more space to breathe without sidebar), added
  fake MOTD line, extra "mumblings/" nav entry, and a subtle
  footer hint for navigation.
- Added prefers-reduced-motion fallback.

https://claude.ai/code/session_01451y69uQMT1rUBZGipyyum
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