How jsanchezl12/ystore-web-ui works
Main Components
• Next.js Application Core – This is the central system that handles routing, server-side rendering, and static file serving. Use the Next configuration (next.config.mjs) and the bootstrapped structure from create-next-app to mark this.
• Route Modules – There are at least two primary route groups:
• Home Routes: Found under src/app/(home) with files for landing page, layout, error, and loading states.
• Store Routes: Located under src/app/store and its dynamic sub-route [[...category]] for store-specific pages.
• UI Components – Located in src/components:
• Home Components like “Description”, “Hero”, and “MainProducts”.
• Shared Components like “Header”, “Footer”, and “Loader”.
• Styling and Assets – Global styles and variables in src/sass, component-specific styling in CSS/SASS files, and public assets (such as images under public/images).
• From the “User/Browser” node to the “Next.js Router”.
• A third style for configuration/asset layers.