Skip to content

[Product Homepage Design] Implementation#144

Open
yetone wants to merge 6 commits into
masterfrom
feature/product-homepage-design-uzt2-743d6ea
Open

[Product Homepage Design] Implementation#144
yetone wants to merge 6 commits into
masterfrom
feature/product-homepage-design-uzt2-743d6ea

Conversation

@yetone

@yetone yetone commented May 8, 2026

Copy link
Copy Markdown
Owner

Summary

This PR implements the requirements for Product Homepage Design.


Generated by Something

Yansu 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
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.

1 participant