I want you to act as a web developer and please write some code for me to create a fixed header for the website.
I want you to act as a web developer and please write some code for me to create a fixed header for the website. The initial state background is semi-transparent or solid color. When a user scrolls down the page (not just when the mouse cursor hovers), a subtle bottom shadow (box-shadow) should be added to the header to enhance visual hierarchy and distinguish it from the content area.
AST-based code pattern analysis using ast-grep for security, performance, and structural issues. Use when (1) reviewing code for security vulnerabilities, (2) analyzing React hook dependencies or performance patterns, (3) detecting structural anti-patterns across large codebases, (4) needing systematic pattern matching beyond manual inspection.
Performs WCAG compliance audits and accessibility remediation for web applications. Use when: 1) Auditing UI for WCAG 2.1/2.2 compliance 2) Fixing screen reader or keyboard navigation issues 3) Implementing ARIA patterns correctly 4) Reviewing color contrast and visual accessibility 5) Creating accessible forms or interactive components
Runs the code examples in your README and docs against the latest release, finds snippets that no longer compile or return the wrong output, and drafts the fixed examples for review.
Tracks down memory leaks in servers, workers and web apps: reads memory graphs, guides heap snapshots, compares them to find what keeps growing, and proposes the smallest fix plus a check that it stays fixed.