[Product Homepage Design] Implementation#154
Open
yetone wants to merge 17 commits into
Open
Conversation
added 17 commits
May 22, 2026 03:36
- Create features.html partial with URL Shortening, Analytics, Dashboard, and Secure Links feature cards - Add SVG icons for each feature (link, bar-chart, layout-dashboard, shield-check) - Implement responsive grid layout (1 col mobile, 2 col tablet, 4 col desktop) - Add semantic markup with article elements and aria-labelledby - Include alt text on all feature icons for accessibility - Add hover effects and consistent card styling - Create comprehensive Playwright e2e tests for features section
- Enhance hero.html with semantic HTML, accessibility attributes, and data-testids - Update web/index.html hero section to match template partial - Add comprehensive Playwright E2E tests for hero section rendering - Tests cover: title visibility, tagline content, CTA button presence, responsive layout across mobile/tablet/desktop, semantic structure, DOM order
…e layout - Add footer partial with documentation, privacy policy, and terms links - Include copyright notice with proper formatting - Add data-testid attributes for E2E testability - Write comprehensive Playwright E2E tests for footer - Ensure responsive layout works at 375px mobile viewport - Add accessibility attributes (role=contentinfo)
…cessibility - Add primary "Get Started" CTA linking to /register - Add secondary "Create Short URL" CTA linking to /create - Enhance bottom CTA section with both action buttons - Add JavaScript click tracking and keyboard accessibility - Add responsive button sizing with 44x44px touch targets - Add comprehensive Playwright E2E tests for all CTA interactions
- Update nav.html with auth-state-aware desktop and mobile navigation - Add mobile hamburger menu toggle with ARIA accessibility - Implement auth state management via localStorage in main.js - Rebuild CSS with Tailwind to include missing display utilities - Add comprehensive Playwright E2E tests for navigation
- Update nav.html with auth-state-aware desktop and mobile navigation - Add mobile hamburger menu toggle with ARIA accessibility - Implement auth state management via localStorage in main.js - Rebuild CSS with Tailwind to include missing display utilities - Add comprehensive Playwright E2E tests for navigation
- Add responsive CSS overrides for mobile, tablet, and desktop - Ensure touch targets >= 44x44px on mobile - Add orientation change support for mobile landscape - Ensure readable font sizes at all breakpoints - Prevent horizontal scrolling across all viewports - Add comprehensive Playwright e2e tests for responsive behavior
…system preference - Add theme toggle button to navigation with sun/moon icons - Implement initTheme() with system preference detection via prefers-color-scheme - Add localStorage persistence for theme preference across reloads - Update CSS with smooth transitions for theme changes - Add comprehensive E2E tests for light/dark mode, toggle, persistence, system preference detection, and section styling
- Add axe-core Playwright integration for automated WCAG 2.1 AA audits - Test keyboard navigation, focus indicators, and logical tab order - Validate semantic HTML landmarks (nav, main, section, footer, article) - Verify heading hierarchy and ARIA labels on all interactive elements - Check color contrast ratios meet WCAG AA standards - Fix CTA button color contrast by changing btn-secondary to btn-neutral
- Add FCP/LCP measurement tests for fast connections (<1.5s/<2.5s) - Add 3G network simulation test for critical content load (<2s) - Add Cumulative Layout Shift (CLS) test (<0.1) - Add bundle size unit tests (CSS+JS <200KB gzipped) - Add image optimization tests (SVG icons, explicit dimensions) - Optimize CSS with content-visibility, contain, and prefers-reduced-motion - Add lazy loading and explicit width/height on below-fold images - Add preconnect hint and fetchpriority=high for critical CSS
- Use querySelectorAll in initThemeToggle to attach listeners to both desktop and mobile theme toggle buttons - Use :visible pseudo-class in E2E tests to handle both viewports
…, canonical URL, favicons, and structured data
- Add analytics counter section to homepage displaying URLs created, active users, and total clicks with K/M/B number formatting - Create Stats namespace in main.js for fetching and formatting stats - Add /api/stats endpoint handler in Rust with Stats struct - Include responsive CSS styles for stat cards - Add comprehensive Playwright E2E tests covering DOM presence, number formatting, API fetch with mocking, theme contrast, and responsive layout across breakpoints
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