Instruction file imported from imajkumar/rawmin-website (
.cursor/rules/rawmin-ecommerce-ui.mdc). Copyright stays with the author.
RAWMIN SKINOLOGY Next.js UI Standards
Brand: RAWMIN SKINOLOGY (lib/constants.ts → SITE). Theme: packaging seafoam #ACC9C2 (page background), cream cards #FAF8F5, blue accent #3A7BD5 (lib/brand-colors.ts, app/globals.css).
SEO (every route)
- Use
buildMetadata()fromlib/seo.tswith title, description, keywords, canonical path, OG, and Twitter. - Add JSON-LD via
components/seo/json-ld.tsx. - Maintain
app/sitemap.tsandapp/robots.tswhen adding routes.
Images & fonts
- Always
next/imagewithsizesand meaningfulalt. - Use
next/font/google(DM Sans + Playfair Display).
Animation
- Scroll compare manufacturing stages in hero/story (
scroll-compare-stages.tsx). - Lenis smooth scroll via
AppProviders. - Honor
prefers-reduced-motion.
B2B positioning
- Third-party / private label manufacturer—not direct retail. No shop-first language on catalog pages.