Create a design.md file for the "Jigsaw Joy" website, a fully-responsive, accessible,…
- User
Create a design.md file for the "Jigsaw Joy" website, a fully-responsive, accessible, and SEO-optimized puzzle catalogue and community platform. Project Overview Website Name: Jigsaw Joy Tech Stack: HTML5 (semantic markup) CSS3 (SCSS, CSS Grid, Flexbox) JavaScript (ES6+, vanilla JS) Database: Free Supabase instance (if required for user data, catalogue, or messaging) Image Processing: Sharp (Node.js) + Cloudinary CDN for auto-resizing, WebP format, and lazy-loading Hosting: Free tier initially until fully developed, then reassess for scalability Design Approach: Mobile-first, fully responsive, WCAG 2.2 AA compliant, SEO-first Testing: Playwright for end-to-end testing, targeting 100% Lighthouse accessibility, performance, and SEO scores Key Features Browse Puzzles: Searchable and filterable puzzle catalogue (e.g., by theme, piece count, hashtags like #animals) Add Puzzles: Members can add puzzles with box photos, dimensions, and contents Manage Wishlist & Completed: Members can mark puzzles as "Completed" or add to "Wish-List" Puzzle Rating, Tips, and Guides: Members can rate puzzles, share tips, and add hashtags About Page: Information about the site and its purpose Account Management: User registration, login, and profile management Getting Started: Guide for new users Help Section: Tools for editing images, cataloguing (e.g., input widths/heights, duplicate/delete records), and updating puzzle info Messages: Registered user messaging system (on-site) News: Updates and announcements Related Interests: Suggestions based on user activity or hashtags User Roles and Stories Role Story Guest I can search and filter puzzles without signing up Member I can add a puzzle to the catalogue with box photos and dimensions Member I can mark a puzzle as “Completed” or add it to my “Wish-List” Member I can leave a rating, tips, and hashtags for puzzles Admin I can edit, merge, or delete duplicate puzzle entries Admin I have full control over content, users, and site settings All I can read news, join the forum, and receive on-site messages Technical Requirements Markup Semantic HTML5 (, , , , etc.) Only one per page ARIA attributes for dynamic content (aria-live, aria-label) SEO: Meta tags, JSON-LD structured data, sitemap.xml, prerender on demand Styling CSS Grid and Flexbox for layout Mobile-first design with standard media breakpoints: Large Desktop: 1920px–1200px Desktop: 1199px–1024px iPad Portrait: 1023px–768px Mobiles: 767px–480px Small Mobiles: <480px Use clamp() for responsive typography and spacing CSS custom properties (--h1-font-color, --page-bg, etc.) for colors, sizes, and other reusable values High-contrast mode toggle and prefers-reduced-motion media query support Accessibility (WCAG 2.2 AA) Keyboard Navigation: Visible focus indicators, logical tab order Screen Readers: Semantic tags, descriptive alt text for images, empty alt="" for decorative images Color: Minimum 4.5:1 contrast ratio, avoid color-only cues Forms: Use , fieldsets, client- and server-side validation, ARIA error announcements
Images Use Sharp (Node.js) and Cloudinary CDN for image optimization Auto-resize images to WebP format with lazy-loading Support for box photos, blurred previews, and catalogue images Allow users to upload, edit, or skip image inputs SEO Meta tags for title, description, and keywords JSON-LD for structured data (e.g., puzzle catalogue, ratings) Generate sitemap.xml and support prerendering for dynamic content Need robot.txt for crawlers Target 100 Lighthouse SEO score File Structure Root files: index.html: Main HTML file style.css main.js: JavaScript file Additional assets (e.g., images, fonts) in /assets/ Supabase configuration (if used) in a separate config file Goals and Non-Goals Goal Non-Goal Fully-responsive, accessible, SEO-first catalogue and community site E-commerce functionality (for now) WCAG 2.2 AA compliance and usability-first design Native mobile app Free hosting during development Premium hosting when fully developed with all features. some not listed yet. Admin control for managing content and users Third-party integrations (for now) Additional Notes Prioritize performance: Optimize for fast load times (e.g., lazy-loading, WebP images, minified CSS/JS) Ensure Supabase (if used) is configured for scalability and security (e.g., row-level security) Implement client-side validation for forms and server-side validation for Supabase Use Playwright for automated testing of accessibility, functionality, and responsiveness Ensure the site is maintainable with clear, modular SCSS and JS code Support hashtags for categorization (e.g., #animals, #landscapes) and filtering Allow admin to manage duplicate entries and merge puzzle data efficiently Please provide the design.md file with a clear structure, including all the above details, and organize it into sections for clarity (e.g., Overview, Features, Tech Requirements, Accessibility, etc.). Ensure the markdown is well-formatted, concise, and ready to guide the development process.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.