Commit 04876447
0487644796e2Merged
Justin Dorfman <[email protected]> · 10 months ago · 2 files · ~1 modified · -1 deleted
Description
feat: improve nav responsiveness and prevent logo line-breaking (#53)
- Add white-space: nowrap and flex-shrink: 0 to nav-logo to ensure it never breaks onto multiple lines
- Hide nav-links on mobile (< 640px) to prevent overflow
- Remove outdated AGENT.md (replaced by AGENTS.md)
Details
- Commit
- 0487644796e2
- Parent
- 01e8907b6ae5
AGENT.mddeleted
1-
# AGENT.md - Personal Website Development Guide2-
3-
## Build/Lint/Test Commands4-
- No build process required - static HTML/CSS/JS website5-
- To serve locally: `python -m http.server 8000` or `npx serve .`6-
- To validate HTML: `npx htmllint index.html`7-
- To format: VS Code's built-in HTML formatter8-
9-
## Architecture & Codebase Structure10-
- **Single-page static website** - Personal portfolio/manual page11-
- **Main file**: `index.html` - Contains all HTML, CSS, and JavaScript inline12-
- **Deployment**: GitHub Pages (via CNAME file)13-
- **Authentication**: `keybase.txt` for Keybase verification14-
- **No external dependencies** - Pure HTML/CSS/JS15-
16-
## Code Style Guidelines17-
- **HTML**: Semantic HTML5, proper indentation (2 spaces)18-
- **CSS**: CSS custom properties for theming, responsive design with media queries19-
- **JavaScript**: Vanilla JS, camelCase variables, event listeners for theme switching20-
- **Naming**: Descriptive class names like `.theme-container`, `.section-title`21-
- **Theming**: CSS variables for light/dark mode support22-
- **Responsive**: Mobile-first approach, hide complex UI on mobile23-
- **Comments**: Minimal inline comments, self-documenting code preferred24-
- **Formatting**: Consistent 2-space indentation throughoutindex.htmlmodifiedView file
Loading diff…