[Product Homepage Design] Implementation#144
Open
yetone wants to merge 6 commits into
Open
Conversation
added 6 commits
May 8, 2026 03:32
- Create homepage static files (index.html, styles.css) with hero CTA - Add CTA button with action-oriented "Get Started" text - Link CTA to GitHub repo (https://github.com/yetone/mirdb) - Add prominent CTA styling with gradient background and hover effects - Create Rust integration tests validating CTA presence, text, href, and DOM order - Fix skip-list compilation error for newer Rust compiler - Fix parser macro trailing semicolons for newer Rust compiler
- Add web_server.rs with threaded TCP HTTP server for homepage - Add homepage module (mod.rs, html.rs, assets.rs) for HTML/CSS serving - Create static/index.html and static/styles.css with basic structure - Update config.rs with optional homepage_addr configuration - Update main.rs to start HTTP server alongside memcached server - Add integration tests verifying HTTP 200, Content-Type, HTML structure, 404 - Fix skip-list compilation error with raw pointer autoref - Fix parser macro trailing semicolons for newer Rust compiler
- Add web_server.rs with threaded TCP HTTP server for homepage - Add homepage module (mod.rs, html.rs, assets.rs) for HTML/CSS serving - Create static/index.html and static/styles.css with basic structure - Update config.rs with optional homepage_addr configuration - Update main.rs to start HTTP server alongside memcached server - Add integration tests verifying HTTP 200, Content-Type, HTML structure, 404 - Fix skip-list compilation error with raw pointer autoref - Fix parser macro trailing semicolons for newer Rust compiler Merged with remote feature branch containing scenario 2-4 contributions.
- Add footer HTML with copyright text and GitHub/license links - Add footer CSS styles with responsive layout - Create shared homepage module structure and stubs - Add content validation tests for footer section - Fix Rust 1.95 compilation issues in skip-list and parser macros
Add responsive CSS media queries and mobile-friendly layout rules to the MirDB homepage stylesheet so the page renders correctly on mobile, tablet, and desktop viewports without horizontal scrolling. - Add @media breakpoints for tablet (1024px) and mobile (768px, 480px) - Use relative units (rem, %, vw) for main containers - Define stacked/flex-wrap navigation pattern with hamburger toggle hooks for small screens - Constrain html/body width and set overflow-x: hidden to prevent horizontal overflow on narrow viewports - Scale hero h1 and tagline appropriately at each breakpoint - Ensure body font-size remains >= 1rem (16px) on mobile to avoid iOS zoom on input focus - Add tests/homepage_responsive.rs with 8 test cases covering viewport meta tag, media queries, navigation patterns, relative units, overflow protection, and readable text sizes
- Add CSS custom properties in :root for light theme colors - Replace hardcoded colors with CSS variable references - Add @media (prefers-color-scheme: dark) for system dark mode - Use #121212 dark background with #e0e0e0 light text in dark mode - Add comprehensive tests for dark theme CSS validation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements the requirements for Product Homepage Design.
Generated by Something