create-snapify-app 0.0.0-stage → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +24 -0
- package/README.md +55 -2
- package/bin/create-snapify-app.mjs +174 -0
- package/lib/args.mjs +59 -0
- package/lib/copy.mjs +44 -0
- package/lib/env.mjs +84 -0
- package/lib/prompt.mjs +63 -0
- package/package.json +35 -4
- package/template/.env.example +79 -0
- package/template/.github/workflows/ci.yml +23 -0
- package/template/.github/workflows/deploy.yml +26 -0
- package/template/.github/workflows/ping.yml +8 -0
- package/template/.github/workflows/release.yml +67 -0
- package/template/.snapify-install.json +5 -0
- package/template/CHANGELOG.md +28 -0
- package/template/LICENSE +14 -0
- package/template/README.md +287 -0
- package/template/administrator.html +23 -0
- package/template/apps/client/src/App.tsx +765 -0
- package/template/apps/client/src/auth.css +400 -0
- package/template/apps/client/src/lib/api.ts +22 -0
- package/template/apps/client/src/main.tsx +20 -0
- package/template/apps/community/src/App.tsx +592 -0
- package/template/apps/community/src/main.tsx +20 -0
- package/template/apps/community/src/styles.css +24 -0
- package/template/apps/developers/src/App.tsx +643 -0
- package/template/apps/developers/src/main.tsx +17 -0
- package/template/apps/developers/src/pages.tsx +1587 -0
- package/template/apps/developers/src/styles.css +98 -0
- package/template/apps/developers/src/ui.tsx +179 -0
- package/template/apps/landing/src/App.tsx +598 -0
- package/template/apps/landing/src/LegalPages.tsx +158 -0
- package/template/apps/landing/src/OrderPage.tsx +381 -0
- package/template/apps/landing/src/SeoPages.tsx +923 -0
- package/template/apps/landing/src/copy.ts +195 -0
- package/template/apps/landing/src/main.tsx +20 -0
- package/template/apps/landing/src/styles.css +803 -0
- package/template/apps/landing/src/types.ts +19 -0
- package/template/apps/marketplace/src/App.tsx +1229 -0
- package/template/apps/marketplace/src/developer/DeveloperApp.tsx +1266 -0
- package/template/apps/marketplace/src/main.tsx +20 -0
- package/template/apps/marketplace/src/styles.css +1001 -0
- package/template/apps/shared/AuthContext.tsx +65 -0
- package/template/apps/shared/Logo.tsx +33 -0
- package/template/apps/shared/api.ts +47 -0
- package/template/apps/shared/ui.tsx +128 -0
- package/template/apps/superadmin/src/App.tsx +1264 -0
- package/template/apps/superadmin/src/lib/api.ts +20 -0
- package/template/apps/superadmin/src/lib/hooks.ts +20 -0
- package/template/apps/superadmin/src/main.tsx +16 -0
- package/template/apps/superadmin/src/pages/ClientsPage.tsx +185 -0
- package/template/apps/superadmin/src/pages/InvoicesPage.tsx +157 -0
- package/template/apps/superadmin/src/pages/NewsletterPage.tsx +212 -0
- package/template/apps/superadmin/src/pages/OrdersPage.tsx +195 -0
- package/template/apps/superadmin/src/pages/PaymentsPage.tsx +150 -0
- package/template/apps/superadmin/src/pages/PayoutsPage.tsx +133 -0
- package/template/apps/superadmin/src/pages/PublishersPage.tsx +151 -0
- package/template/apps/superadmin/src/pages/SeoControlPage.tsx +692 -0
- package/template/apps/superadmin/src/pages/SettingsPage.tsx +199 -0
- package/template/apps/superadmin/src/pages/SystemPage.tsx +109 -0
- package/template/apps/superadmin/src/pages/TicketsPage.tsx +201 -0
- package/template/apps/superadmin/src/pages/UsersPage.tsx +167 -0
- package/template/client.html +21 -0
- package/template/community/hamdiayari/akhbar/README.md +23 -0
- package/template/community/hamdiayari/akhbar/screenshot.jpg +0 -0
- package/template/community/hamdiayari/akhbar/snapify.theme.json +76 -0
- package/template/community/hamdiayari/akhbar/src/Brand.tsx +26 -0
- package/template/community/hamdiayari/akhbar/src/Footer.tsx +182 -0
- package/template/community/hamdiayari/akhbar/src/Header.tsx +191 -0
- package/template/community/hamdiayari/akhbar/src/Layout.tsx +49 -0
- package/template/community/hamdiayari/akhbar/src/Social.tsx +33 -0
- package/template/community/hamdiayari/akhbar/src/Ticker.tsx +86 -0
- package/template/community/hamdiayari/akhbar/src/Views.tsx +285 -0
- package/template/community/hamdiayari/akhbar/src/blocks/CollectionBlocks.tsx +672 -0
- package/template/community/hamdiayari/akhbar/src/blocks/ContentBlocks.tsx +305 -0
- package/template/community/hamdiayari/akhbar/src/blocks/ConversionBlocks.tsx +569 -0
- package/template/community/hamdiayari/akhbar/src/blocks/HeaderBlocks.tsx +287 -0
- package/template/community/hamdiayari/akhbar/src/index.tsx +51 -0
- package/template/community/hamdiayari/akhbar/src/kit.tsx +357 -0
- package/template/community/hamdiayari/akhbar/src/site.ts +96 -0
- package/template/community/hamdiayari/akhbar/src/styles.css +566 -0
- package/template/community/hamdiayari/akhbar-actualites/README.md +28 -0
- package/template/community/hamdiayari/akhbar-actualites/screenshot.jpg +0 -0
- package/template/community/hamdiayari/akhbar-actualites/snapify.module.json +107 -0
- package/template/community/hamdiayari/akhbar-actualites/src/admin/AudiencePage.tsx +185 -0
- package/template/community/hamdiayari/akhbar-actualites/src/admin/index.tsx +11 -0
- package/template/community/hamdiayari/akhbar-actualites/src/public/Archive.tsx +142 -0
- package/template/community/hamdiayari/akhbar-actualites/src/public/cards.tsx +152 -0
- package/template/community/hamdiayari/akhbar-actualites/src/public/index.tsx +71 -0
- package/template/community/hamdiayari/akhbar-actualites/src/public/posts.ts +103 -0
- package/template/community/hamdiayari/akhbar-actualites/src/public/styles.css +568 -0
- package/template/community/hamdiayari/akhbar-actualites/src/public/widgets.tsx +226 -0
- package/template/community/hamdiayari/akhbar-actualites/src/server.ts +119 -0
- package/template/community/hamdiayari/akhbar-actualites/src/types.ts +25 -0
- package/template/community/hamdiayari/akhbar-urgent/README.md +36 -0
- package/template/community/hamdiayari/akhbar-urgent/screenshot.jpg +0 -0
- package/template/community/hamdiayari/akhbar-urgent/snapify.module.json +64 -0
- package/template/community/hamdiayari/akhbar-urgent/src/admin/FlashesPage.tsx +229 -0
- package/template/community/hamdiayari/akhbar-urgent/src/admin/index.tsx +11 -0
- package/template/community/hamdiayari/akhbar-urgent/src/public/Ticker.tsx +81 -0
- package/template/community/hamdiayari/akhbar-urgent/src/public/index.tsx +63 -0
- package/template/community/hamdiayari/akhbar-urgent/src/public/styles.css +142 -0
- package/template/community/hamdiayari/akhbar-urgent/src/server.ts +101 -0
- package/template/community/hamdiayari/akhbar-urgent/src/types.ts +35 -0
- package/template/community.html +21 -0
- package/template/developers.html +24 -0
- package/template/docker-compose.db.yml +24 -0
- package/template/docs/BACKOFFICE_SNAPIFY.md +130 -0
- package/template/docs/CI_CD.md +66 -0
- package/template/docs/MODULES.md +346 -0
- package/template/docs/PLATFORM_DEPLOY.md +54 -0
- package/template/docs/logo.svg +10 -0
- package/template/drizzle/0000_init.sql +147 -0
- package/template/drizzle/0001_page_project.sql +5 -0
- package/template/drizzle/0002_modules.sql +23 -0
- package/template/drizzle/0003_themes.sql +4 -0
- package/template/drizzle/0004_security.sql +82 -0
- package/template/drizzle/0005_module_records.sql +16 -0
- package/template/drizzle/0006_avatars.sql +4 -0
- package/template/drizzle/0007_platform.sql +264 -0
- package/template/drizzle/0008_mp_validation.sql +3 -0
- package/template/drizzle/0009_saas_ops.sql +77 -0
- package/template/drizzle/0010_cms_chrome.sql +13 -0
- package/template/drizzle/0011_client_portal.sql +26 -0
- package/template/drizzle/meta/0000_snapshot.json +998 -0
- package/template/drizzle/meta/0001_snapshot.json +1004 -0
- package/template/drizzle/meta/_journal.json +90 -0
- package/template/drizzle.config.ts +16 -0
- package/template/ecosystem.snapify.cjs +24 -0
- package/template/for.html +1 -0
- package/template/index.html +29 -0
- package/template/landing.html +37 -0
- package/template/marketplace/catalog.json +373 -0
- package/template/marketplace/gallery/hamdiayari.preveris/01-home.jpg +0 -0
- package/template/marketplace/gallery/hamdiayari.recaptcha/01-reglages.jpg +0 -0
- package/template/marketplace/gallery/hamdiayari.recaptcha/02-logo.jpg +0 -0
- package/template/marketplace/gallery/novalabs.ai-articles/01-generer.jpg +0 -0
- package/template/marketplace/gallery/novalabs.ai-articles/02-fournisseur-ia.jpg +0 -0
- package/template/marketplace/gallery/novalabs.calendar/01-agenda-site.jpg +0 -0
- package/template/marketplace/gallery/novalabs.calendar/02-evenements-admin.jpg +0 -0
- package/template/marketplace/gallery/novalabs.calendar/03-reglages.jpg +0 -0
- package/template/marketplace/screenshots/hamdiayari.preveris-1.0.6.jpg +0 -0
- package/template/marketplace/screenshots/hamdiayari.recaptcha-1.0.0.jpg +0 -0
- package/template/marketplace/screenshots/hamdiayari.wp-seo-migrator-1.1.1.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.ai-articles-1.0.1.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.ai-chat-1.0.1.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.calendar-1.0.1.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.cart-1.0.0.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.checkout-1.0.0.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.customers-1.1.0.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.dogga-1.0.0.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.mahdia-1.0.0.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.shop-1.0.0.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.sidibou-1.0.0.jpg +0 -0
- package/template/marketplace/screenshots/novalabs.whatsapp-1.0.1.jpg +0 -0
- package/template/marketplace.html +21 -0
- package/template/metadata.json +7 -0
- package/template/modules/ai-articles/screenshot.jpg +0 -0
- package/template/modules/ai-articles/snapify.module.json +74 -0
- package/template/modules/ai-articles/src/admin/ArticlesPage.tsx +162 -0
- package/template/modules/ai-articles/src/admin/GeneratePage.tsx +118 -0
- package/template/modules/ai-articles/src/admin/index.tsx +12 -0
- package/template/modules/ai-articles/src/public/index.tsx +119 -0
- package/template/modules/ai-articles/src/server.ts +287 -0
- package/template/modules/ai-articles/src/types.ts +30 -0
- package/template/modules/ai-chat/screenshot.jpg +0 -0
- package/template/modules/ai-chat/snapify.module.json +217 -0
- package/template/modules/ai-chat/src/public.tsx +198 -0
- package/template/modules/ai-chat/src/server.ts +142 -0
- package/template/modules/ai-theme-studio/README.md +15 -0
- package/template/modules/ai-theme-studio/screenshot.jpg +0 -0
- package/template/modules/ai-theme-studio/snapify.module.json +175 -0
- package/template/modules/ai-theme-studio/src/admin/HistoryPage.tsx +91 -0
- package/template/modules/ai-theme-studio/src/admin/StudioPage.tsx +414 -0
- package/template/modules/ai-theme-studio/src/admin/index.tsx +11 -0
- package/template/modules/ai-theme-studio/src/lib/images.ts +240 -0
- package/template/modules/ai-theme-studio/src/lib/llm.ts +123 -0
- package/template/modules/ai-theme-studio/src/lib/normalize.ts +714 -0
- package/template/modules/ai-theme-studio/src/lib/prompts.ts +198 -0
- package/template/modules/ai-theme-studio/src/server.ts +137 -0
- package/template/modules/ai-theme-studio/src/types.ts +112 -0
- package/template/modules/calendar/screenshot.jpg +0 -0
- package/template/modules/calendar/snapify.module.json +45 -0
- package/template/modules/calendar/src/admin/EventsPage.tsx +217 -0
- package/template/modules/calendar/src/admin/index.tsx +11 -0
- package/template/modules/calendar/src/public/index.tsx +231 -0
- package/template/modules/calendar/src/server.ts +143 -0
- package/template/modules/calendar/src/types.ts +25 -0
- package/template/modules/cart/screenshot.jpg +0 -0
- package/template/modules/cart/snapify.module.json +90 -0
- package/template/modules/cart/src/admin/index.tsx +265 -0
- package/template/modules/cart/src/public/CartPage.tsx +198 -0
- package/template/modules/cart/src/public/index.tsx +261 -0
- package/template/modules/cart/src/public/useQuote.ts +67 -0
- package/template/modules/cart/src/server.ts +148 -0
- package/template/modules/cart/src/types.ts +31 -0
- package/template/modules/checkout/screenshot.jpg +0 -0
- package/template/modules/checkout/snapify.module.json +264 -0
- package/template/modules/checkout/src/admin/OrderDetailPage.tsx +304 -0
- package/template/modules/checkout/src/admin/badges.tsx +28 -0
- package/template/modules/checkout/src/admin/index.tsx +236 -0
- package/template/modules/checkout/src/public/CheckoutPage.tsx +461 -0
- package/template/modules/checkout/src/public/OrderPages.tsx +153 -0
- package/template/modules/checkout/src/public/index.tsx +23 -0
- package/template/modules/checkout/src/server.ts +383 -0
- package/template/modules/checkout/src/types.ts +70 -0
- package/template/modules/customers/screenshot.jpg +0 -0
- package/template/modules/customers/snapify.module.json +115 -0
- package/template/modules/customers/src/admin/CustomerDetailPage.tsx +274 -0
- package/template/modules/customers/src/admin/index.tsx +194 -0
- package/template/modules/customers/src/public/AccountPages.tsx +470 -0
- package/template/modules/customers/src/public/AddressForm.tsx +115 -0
- package/template/modules/customers/src/public/AuthPages.tsx +349 -0
- package/template/modules/customers/src/public/Avatar.tsx +29 -0
- package/template/modules/customers/src/public/ProfileSection.tsx +291 -0
- package/template/modules/customers/src/public/index.tsx +137 -0
- package/template/modules/customers/src/public/session.ts +51 -0
- package/template/modules/customers/src/server.ts +421 -0
- package/template/modules/customers/src/types.ts +53 -0
- package/template/modules/recaptcha/logo.jpg +0 -0
- package/template/modules/recaptcha/screenshot.jpg +0 -0
- package/template/modules/recaptcha/snapify.module.json +99 -0
- package/template/modules/recaptcha/src/public/index.tsx +94 -0
- package/template/modules/recaptcha/src/server.ts +65 -0
- package/template/modules/recaptcha/src/types.ts +18 -0
- package/template/modules/shop/screenshot.jpg +0 -0
- package/template/modules/shop/snapify.module.json +340 -0
- package/template/modules/shop/src/admin/CategoriesPage.tsx +224 -0
- package/template/modules/shop/src/admin/ProductEditor.tsx +313 -0
- package/template/modules/shop/src/admin/ProductsPage.tsx +307 -0
- package/template/modules/shop/src/admin/index.tsx +14 -0
- package/template/modules/shop/src/public/Catalog.tsx +244 -0
- package/template/modules/shop/src/public/NotFound.tsx +22 -0
- package/template/modules/shop/src/public/ProductPage.tsx +195 -0
- package/template/modules/shop/src/public/index.tsx +134 -0
- package/template/modules/shop/src/public/useFetch.ts +26 -0
- package/template/modules/shop/src/server.ts +493 -0
- package/template/modules/shop/src/shared.ts +41 -0
- package/template/modules/shop/src/types.ts +60 -0
- package/template/modules/whatsapp/screenshot.jpg +0 -0
- package/template/modules/whatsapp/snapify.module.json +121 -0
- package/template/modules/whatsapp/src/public.tsx +119 -0
- package/template/modules/wp-seo-migrator/ARCHITECTURE.md +113 -0
- package/template/modules/wp-seo-migrator/README.md +21 -0
- package/template/modules/wp-seo-migrator/fixtures/aioseo-sample.csv +3 -0
- package/template/modules/wp-seo-migrator/fixtures/sample-exporter.json +39 -0
- package/template/modules/wp-seo-migrator/fixtures/sample-page.html +12 -0
- package/template/modules/wp-seo-migrator/fixtures/sample.htaccess +3 -0
- package/template/modules/wp-seo-migrator/screenshot.jpg +0 -0
- package/template/modules/wp-seo-migrator/snapify.module.json +87 -0
- package/template/modules/wp-seo-migrator/src/admin/HistoryPage.tsx +64 -0
- package/template/modules/wp-seo-migrator/src/admin/WizardPage.tsx +788 -0
- package/template/modules/wp-seo-migrator/src/admin/i18n.ts +156 -0
- package/template/modules/wp-seo-migrator/src/admin/index.tsx +11 -0
- package/template/modules/wp-seo-migrator/src/connectors/CUSTOM_CONNECTOR.md +31 -0
- package/template/modules/wp-seo-migrator/src/connectors/csvSeoFactory.ts +106 -0
- package/template/modules/wp-seo-migrator/src/connectors/exporter.ts +96 -0
- package/template/modules/wp-seo-migrator/src/connectors/gscCsv.ts +53 -0
- package/template/modules/wp-seo-migrator/src/connectors/htaccess.ts +65 -0
- package/template/modules/wp-seo-migrator/src/connectors/htmlCrawler.ts +90 -0
- package/template/modules/wp-seo-migrator/src/connectors/index.ts +113 -0
- package/template/modules/wp-seo-migrator/src/connectors/pluginCsv.ts +77 -0
- package/template/modules/wp-seo-migrator/src/connectors/rankMathCsv.ts +77 -0
- package/template/modules/wp-seo-migrator/src/connectors/redirection.ts +62 -0
- package/template/modules/wp-seo-migrator/src/connectors/sitemap.ts +44 -0
- package/template/modules/wp-seo-migrator/src/connectors/utils.ts +111 -0
- package/template/modules/wp-seo-migrator/src/connectors/wxr.ts +103 -0
- package/template/modules/wp-seo-migrator/src/connectors/yoastCsv.ts +56 -0
- package/template/modules/wp-seo-migrator/src/pipeline/analyze.ts +158 -0
- package/template/modules/wp-seo-migrator/src/pipeline/htmlParse.ts +58 -0
- package/template/modules/wp-seo-migrator/src/pipeline/remoteAuto.ts +328 -0
- package/template/modules/wp-seo-migrator/src/server.ts +492 -0
- package/template/modules/wp-seo-migrator/src/types.ts +151 -0
- package/template/modules/wp-seo-migrator/tests/connectors-extra.test.ts +39 -0
- package/template/modules/wp-seo-migrator/tests/merge.test.ts +25 -0
- package/template/package-lock.json +6016 -0
- package/template/package.json +74 -0
- package/template/public/images/photos/caravane-chameaux-desert.webp +0 -0
- package/template/public/images/photos/hammamet-medina-plage.jpg +0 -0
- package/template/public/images/photos/maison-campagne-collines.webp +0 -0
- package/template/public/images/photos/maisons-troglodytes-desert.jpg +0 -0
- package/template/public/images/photos/panorama-ville.jpg +0 -0
- package/template/public/images/photos/preveris-accessibilite-erp.jpg +0 -0
- package/template/public/images/photos/preveris-collectivites.jpg +0 -0
- package/template/public/images/photos/preveris-etudes-plans.jpg +0 -0
- package/template/public/images/photos/preveris-hero-erp.jpg +0 -0
- package/template/public/images/photos/preveris-ssi-incendie.jpg +0 -0
- package/template/public/images/photos/preveris-suivi-hotel.jpg +0 -0
- package/template/public/images/photos/ruelle-bleue-medina.jpg +0 -0
- package/template/public/images/photos/sidi-bou-said-port.webp +0 -0
- package/template/public/images/photos/terrasse-blanche-mer-voilier.jpg +0 -0
- package/template/public/landing/hero-ai-cms.jpg +0 -0
- package/template/public/landing/shot-dogga.jpg +0 -0
- package/template/public/landing/shot-mahdia.jpg +0 -0
- package/template/public/landing/shot-sidibou.jpg +0 -0
- package/template/public/llms.txt +35 -0
- package/template/public/logo.svg +10 -0
- package/template/scripts/app-pack.ts +155 -0
- package/template/scripts/app-publish.ts +123 -0
- package/template/scripts/apply-ecommerce-home.ts +196 -0
- package/template/scripts/auto-deploy-poll.sh +13 -0
- package/template/scripts/db-backup.sh +16 -0
- package/template/scripts/db-restore.sh +11 -0
- package/template/scripts/deploy.sh +34 -0
- package/template/scripts/github-webhook-deploy.sh +7 -0
- package/template/scripts/install-new-modules.ts +96 -0
- package/template/scripts/refresh-demo-baseline.ts +9 -0
- package/template/scripts/reinstall-marketplace-packs.ts +51 -0
- package/template/scripts/restore-classic-home.ts +13 -0
- package/template/scripts/sdk-pack.ts +289 -0
- package/template/scripts/sdk-publish.ts +75 -0
- package/template/scripts/seed-demo-products.ts +120 -0
- package/template/scripts/seed-theme-content-packs.ts +42 -0
- package/template/scripts/snapify-module.ts +207 -0
- package/template/scripts/test-theme-switch.ts +24 -0
- package/template/sdk/admin.css +18 -0
- package/template/sdk/admin.ts +95 -0
- package/template/sdk/build.ts +249 -0
- package/template/sdk/commerce.ts +512 -0
- package/template/sdk/content.ts +76 -0
- package/template/sdk/icons.ts +101 -0
- package/template/sdk/image.ts +60 -0
- package/template/sdk/index.ts +500 -0
- package/template/sdk/package.ts +298 -0
- package/template/sdk/recaptcha.tsx +122 -0
- package/template/sdk/settings.ts +84 -0
- package/template/sdk/theme.css +29 -0
- package/template/sdk/theme.ts +100 -0
- package/template/sdk/ui/commerce.tsx +385 -0
- package/template/sdk/ui/orders.tsx +136 -0
- package/template/sdk-kit/CHANGELOG.md +17 -0
- package/template/sdk-kit/LICENSE.md +47 -0
- package/template/sdk-kit/README.md +81 -0
- package/template/sdk-kit/cli.ts +339 -0
- package/template/sdk-kit/create-snapify/README.md +28 -0
- package/template/sdk-kit/create-snapify/create-snapify.mjs +11 -0
- package/template/sdk-kit/create-snapify/package.template.json +16 -0
- package/template/sdk-kit/package.template.json +95 -0
- package/template/sdk-kit/templates/common/README.md.tpl +27 -0
- package/template/sdk-kit/templates/common/_gitignore +3 -0
- package/template/sdk-kit/templates/common/package.json.tpl +19 -0
- package/template/sdk-kit/templates/common/src/snapify-env.d.ts +2 -0
- package/template/sdk-kit/templates/common/tsconfig.json +15 -0
- package/template/sdk-kit/templates/module/snapify.module.json.tpl +33 -0
- package/template/sdk-kit/templates/module/src/admin.tsx +53 -0
- package/template/sdk-kit/templates/module/src/public.tsx +49 -0
- package/template/sdk-kit/templates/module/src/server.ts +30 -0
- package/template/sdk-kit/templates/module/src/types.ts +19 -0
- package/template/sdk-kit/templates/theme/snapify.theme.json.tpl +22 -0
- package/template/sdk-kit/templates/theme/src/Footer.tsx +40 -0
- package/template/sdk-kit/templates/theme/src/Header.tsx +47 -0
- package/template/sdk-kit/templates/theme/src/Views.tsx +36 -0
- package/template/sdk-kit/templates/theme/src/blocks.tsx +93 -0
- package/template/sdk-kit/templates/theme/src/index.tsx +30 -0
- package/template/sdk-kit/templates/theme/src/site.tsx +59 -0
- package/template/sdk-kit/templates/theme/src/styles.css +71 -0
- package/template/server/client/routes.ts +252 -0
- package/template/server/cms/analyticsStore.ts +180 -0
- package/template/server/cms/auth.ts +155 -0
- package/template/server/cms/blockCatalog.ts +342 -0
- package/template/server/cms/blocks.ts +521 -0
- package/template/server/cms/contentMigration.ts +1119 -0
- package/template/server/cms/defaults.ts +303 -0
- package/template/server/cms/permissions.ts +154 -0
- package/template/server/cms/restoreClassicHome.ts +183 -0
- package/template/server/cms/revisions.ts +99 -0
- package/template/server/cms/scheduler.ts +78 -0
- package/template/server/cms/seed.ts +72 -0
- package/template/server/cms/seoAnalyzer.ts +213 -0
- package/template/server/cms/store.ts +122 -0
- package/template/server/cms/themeContent.ts +1386 -0
- package/template/server/cms/themePacks/sidibou-branding.json +1 -0
- package/template/server/cms/themePacks/sidibou-home.json +1 -0
- package/template/server/cms/themePacks/sidibou-menus.json +1 -0
- package/template/server/cms/types.ts +432 -0
- package/template/server/community/routes.ts +410 -0
- package/template/server/db/client.ts +43 -0
- package/template/server/db/repository.ts +389 -0
- package/template/server/db/schema.ts +726 -0
- package/template/server/demo/cmsReset.ts +196 -0
- package/template/server/developers/sdk.ts +85 -0
- package/template/server/geoip.ts +15 -0
- package/template/server/http.ts +53 -0
- package/template/server/mail.ts +216 -0
- package/template/server/marketplace/catalog.ts +74 -0
- package/template/server/marketplace/packageValidate.ts +475 -0
- package/template/server/marketplace/payments.ts +193 -0
- package/template/server/marketplace/routes.ts +850 -0
- package/template/server/marketplace/signing.ts +116 -0
- package/template/server/marketplace/syncOfficial.ts +282 -0
- package/template/server/media/images.ts +63 -0
- package/template/server/middleware/adminAuth.ts +134 -0
- package/template/server/modules/legacy.ts +44 -0
- package/template/server/modules/manager.ts +1122 -0
- package/template/server/modules/marketplace.ts +178 -0
- package/template/server/modules/outbound.ts +178 -0
- package/template/server/modules/purchases.ts +149 -0
- package/template/server/modules/records.ts +168 -0
- package/template/server/modules/themeHtml.ts +32 -0
- package/template/server/modules/trust.ts +16 -0
- package/template/server/modules/types.ts +147 -0
- package/template/server/platform/auth.ts +223 -0
- package/template/server/platform/clientWelcome.ts +168 -0
- package/template/server/platform/clients.ts +139 -0
- package/template/server/platform/dailyImprove.ts +356 -0
- package/template/server/platform/flouci.ts +126 -0
- package/template/server/platform/host.ts +69 -0
- package/template/server/platform/hostingProviders.ts +143 -0
- package/template/server/platform/licenseOrders.ts +291 -0
- package/template/server/platform/money.ts +42 -0
- package/template/server/platform/passwords.ts +41 -0
- package/template/server/platform/region.ts +86 -0
- package/template/server/platform/routes.ts +225 -0
- package/template/server/platform/seed.ts +82 -0
- package/template/server/platform/settings.ts +72 -0
- package/template/server/routes/adminAccount.ts +403 -0
- package/template/server/routes/adminCms.ts +808 -0
- package/template/server/routes/adminSystem.ts +243 -0
- package/template/server/routes/adminUsers.ts +449 -0
- package/template/server/routes/googleOAuth.ts +327 -0
- package/template/server/routes/modules.ts +323 -0
- package/template/server/routes/publicCms.ts +313 -0
- package/template/server/routes/seoPublic.ts +158 -0
- package/template/server/security/accounts.ts +121 -0
- package/template/server/security/audit.ts +143 -0
- package/template/server/security/authTokens.ts +74 -0
- package/template/server/security/ip.ts +68 -0
- package/template/server/security/rateLimit.ts +85 -0
- package/template/server/security/retention.ts +46 -0
- package/template/server/security/secrets.ts +44 -0
- package/template/server/security/sessions.ts +140 -0
- package/template/server/security/totp.ts +101 -0
- package/template/server/superadmin/analytics.ts +109 -0
- package/template/server/superadmin/auth.ts +92 -0
- package/template/server/superadmin/backlinksCatalog.ts +210 -0
- package/template/server/superadmin/frSeoContent.ts +165 -0
- package/template/server/superadmin/landingSeo.ts +675 -0
- package/template/server/superadmin/ops.ts +238 -0
- package/template/server/superadmin/routes.ts +1095 -0
- package/template/server/superadmin/tnSeoContent.ts +130 -0
- package/template/server.ts +522 -0
- package/template/src/App.tsx +263 -0
- package/template/src/admin/AdminApp.tsx +162 -0
- package/template/src/admin/account/AuthLayout.tsx +57 -0
- package/template/src/admin/account/SecurityForms.tsx +276 -0
- package/template/src/admin/admin.css +127 -0
- package/template/src/admin/context/AuthContext.tsx +147 -0
- package/template/src/admin/context/SiteContext.tsx +50 -0
- package/template/src/admin/editor/BlockLibrary.tsx +173 -0
- package/template/src/admin/editor/BlocksPanel.tsx +396 -0
- package/template/src/admin/editor/EditorBits.tsx +106 -0
- package/template/src/admin/editor/PreviewFrame.tsx +145 -0
- package/template/src/admin/editor/RichTextEditor.tsx +276 -0
- package/template/src/admin/editor/SeoPanel.tsx +349 -0
- package/template/src/admin/editor/StyleEditor.tsx +114 -0
- package/template/src/admin/editor/blockSchemas.ts +699 -0
- package/template/src/admin/editor/fields.tsx +486 -0
- package/template/src/admin/layout/AdminShell.tsx +418 -0
- package/template/src/admin/layout/nav.ts +95 -0
- package/template/src/admin/lib/api.ts +408 -0
- package/template/src/admin/lib/audit.ts +141 -0
- package/template/src/admin/lib/format.ts +84 -0
- package/template/src/admin/lib/hooks.ts +125 -0
- package/template/src/admin/main.tsx +16 -0
- package/template/src/admin/modules/InstallDialog.tsx +160 -0
- package/template/src/admin/modules/SettingsForm.tsx +145 -0
- package/template/src/admin/modules/kit.tsx +127 -0
- package/template/src/admin/modules/labels.tsx +226 -0
- package/template/src/admin/pages/AccountSetupPage.tsx +62 -0
- package/template/src/admin/pages/AnalyticsPage.tsx +206 -0
- package/template/src/admin/pages/BrandingPage.tsx +154 -0
- package/template/src/admin/pages/DashboardPage.tsx +239 -0
- package/template/src/admin/pages/EngagementPage.tsx +168 -0
- package/template/src/admin/pages/FormsPage.tsx +435 -0
- package/template/src/admin/pages/GeneralPage.tsx +120 -0
- package/template/src/admin/pages/LoginPage.tsx +249 -0
- package/template/src/admin/pages/MaintenancePage.tsx +125 -0
- package/template/src/admin/pages/MarketplacePage.tsx +426 -0
- package/template/src/admin/pages/MediaPage.tsx +251 -0
- package/template/src/admin/pages/MenusPage.tsx +446 -0
- package/template/src/admin/pages/ModuleAdminPage.tsx +113 -0
- package/template/src/admin/pages/ModuleDetailPage.tsx +293 -0
- package/template/src/admin/pages/ModulesPage.tsx +135 -0
- package/template/src/admin/pages/NewsletterPage.tsx +193 -0
- package/template/src/admin/pages/PageEditorPage.tsx +322 -0
- package/template/src/admin/pages/PagesListPage.tsx +277 -0
- package/template/src/admin/pages/PostEditorPage.tsx +292 -0
- package/template/src/admin/pages/PostsListPage.tsx +187 -0
- package/template/src/admin/pages/ProfilePage.tsx +489 -0
- package/template/src/admin/pages/ResetPasswordPage.tsx +110 -0
- package/template/src/admin/pages/SeoPage.tsx +670 -0
- package/template/src/admin/pages/SettingsPage.tsx +189 -0
- package/template/src/admin/pages/ThemeCustomizePage.tsx +170 -0
- package/template/src/admin/pages/ThemesPage.tsx +292 -0
- package/template/src/admin/pages/UsersPage.tsx +57 -0
- package/template/src/admin/pages/WidgetsPage.tsx +200 -0
- package/template/src/admin/seo/GoogleSetup.tsx +529 -0
- package/template/src/admin/settings/EmailTab.tsx +293 -0
- package/template/src/admin/settings/OtherTabs.tsx +270 -0
- package/template/src/admin/settings/SecurityTab.tsx +172 -0
- package/template/src/admin/settings/controls.tsx +133 -0
- package/template/src/admin/ui/Pagination.tsx +170 -0
- package/template/src/admin/ui/SaveBar.tsx +77 -0
- package/template/src/admin/ui/TagInput.tsx +54 -0
- package/template/src/admin/ui/charts.tsx +108 -0
- package/template/src/admin/ui/media.tsx +265 -0
- package/template/src/admin/ui/overlays.tsx +239 -0
- package/template/src/admin/ui/primitives.tsx +544 -0
- package/template/src/admin/users/AuditTab.tsx +104 -0
- package/template/src/admin/users/RolesTab.tsx +368 -0
- package/template/src/admin/users/UsersTab.tsx +723 -0
- package/template/src/admin/users/shared.tsx +278 -0
- package/template/src/cms/icons.ts +7 -0
- package/template/src/components/CookieBanner.tsx +166 -0
- package/template/src/components/MaintenanceGate.tsx +66 -0
- package/template/src/components/SiteAnalytics.tsx +64 -0
- package/template/src/components/SnapifyLogo.tsx +44 -0
- package/template/src/components/cms/BlockRenderer.tsx +154 -0
- package/template/src/components/cms/WidgetArea.tsx +193 -0
- package/template/src/context/SiteConfigContext.tsx +130 -0
- package/template/src/demoBase.ts +23 -0
- package/template/src/index.css +90 -0
- package/template/src/main.tsx +16 -0
- package/template/src/modules/ModuleHost.tsx +197 -0
- package/template/src/preview.ts +63 -0
- package/template/src/runtime.ts +38 -0
- package/template/src/themes/ThemeHost.tsx +168 -0
- package/template/src/themes/fallback.tsx +71 -0
- package/template/src/types.ts +94 -0
- package/template/src/views/BlogPostView.tsx +68 -0
- package/template/src/views/CmsPageView.tsx +34 -0
- package/template/start-pm2.sh +3 -0
- package/template/superadmin.html +20 -0
- package/template/themes/ai-canvas/screenshot.jpg +0 -0
- package/template/themes/ai-canvas/snapify.theme.json +96 -0
- package/template/themes/ai-canvas/src/CeeSimulator.tsx +247 -0
- package/template/themes/ai-canvas/src/Footer.tsx +190 -0
- package/template/themes/ai-canvas/src/Header.tsx +324 -0
- package/template/themes/ai-canvas/src/Layout.tsx +56 -0
- package/template/themes/ai-canvas/src/NotFound.tsx +58 -0
- package/template/themes/ai-canvas/src/Post.tsx +26 -0
- package/template/themes/ai-canvas/src/SnapifyLogo.tsx +44 -0
- package/template/themes/ai-canvas/src/blocks/CollectionBlocks.tsx +711 -0
- package/template/themes/ai-canvas/src/blocks/ContentBlocks.tsx +318 -0
- package/template/themes/ai-canvas/src/blocks/ConversionBlocks.tsx +559 -0
- package/template/themes/ai-canvas/src/blocks/HeaderBlocks.tsx +341 -0
- package/template/themes/ai-canvas/src/index.tsx +54 -0
- package/template/themes/ai-canvas/src/kit.tsx +398 -0
- package/template/themes/ai-canvas/src/site.ts +29 -0
- package/template/themes/ai-canvas/src/styles.css +317 -0
- package/template/themes/dogga/screenshot.jpg +0 -0
- package/template/themes/dogga/snapify.theme.json +55 -0
- package/template/themes/dogga/src/Brand.tsx +41 -0
- package/template/themes/dogga/src/Footer.tsx +202 -0
- package/template/themes/dogga/src/Header.tsx +239 -0
- package/template/themes/dogga/src/Layout.tsx +43 -0
- package/template/themes/dogga/src/Views.tsx +71 -0
- package/template/themes/dogga/src/blocks/CollectionBlocks.tsx +674 -0
- package/template/themes/dogga/src/blocks/ContentBlocks.tsx +307 -0
- package/template/themes/dogga/src/blocks/ConversionBlocks.tsx +571 -0
- package/template/themes/dogga/src/blocks/HeaderBlocks.tsx +289 -0
- package/template/themes/dogga/src/index.tsx +53 -0
- package/template/themes/dogga/src/kit.tsx +362 -0
- package/template/themes/dogga/src/site.ts +56 -0
- package/template/themes/dogga/src/styles.css +396 -0
- package/template/themes/mahdia/screenshot.jpg +0 -0
- package/template/themes/mahdia/snapify.theme.json +65 -0
- package/template/themes/mahdia/src/Brand.tsx +39 -0
- package/template/themes/mahdia/src/Footer.tsx +210 -0
- package/template/themes/mahdia/src/Header.tsx +291 -0
- package/template/themes/mahdia/src/Layout.tsx +44 -0
- package/template/themes/mahdia/src/Views.tsx +79 -0
- package/template/themes/mahdia/src/blocks/CollectionBlocks.tsx +674 -0
- package/template/themes/mahdia/src/blocks/ContentBlocks.tsx +307 -0
- package/template/themes/mahdia/src/blocks/ConversionBlocks.tsx +571 -0
- package/template/themes/mahdia/src/blocks/HeaderBlocks.tsx +289 -0
- package/template/themes/mahdia/src/index.tsx +53 -0
- package/template/themes/mahdia/src/kit.tsx +362 -0
- package/template/themes/mahdia/src/site.ts +75 -0
- package/template/themes/mahdia/src/styles.css +446 -0
- package/template/themes/preveris/screenshot.jpg +0 -0
- package/template/themes/preveris/snapify.theme.json +126 -0
- package/template/themes/preveris/src/Brand.tsx +44 -0
- package/template/themes/preveris/src/Footer.tsx +202 -0
- package/template/themes/preveris/src/Header.tsx +239 -0
- package/template/themes/preveris/src/Layout.tsx +42 -0
- package/template/themes/preveris/src/Views.tsx +71 -0
- package/template/themes/preveris/src/blocks/CollectionBlocks.tsx +678 -0
- package/template/themes/preveris/src/blocks/ContentBlocks.tsx +307 -0
- package/template/themes/preveris/src/blocks/ConversionBlocks.tsx +571 -0
- package/template/themes/preveris/src/blocks/HeaderBlocks.tsx +299 -0
- package/template/themes/preveris/src/index.tsx +53 -0
- package/template/themes/preveris/src/kit.tsx +365 -0
- package/template/themes/preveris/src/site.ts +79 -0
- package/template/themes/preveris/src/styles.css +446 -0
- package/template/themes/sidibou/screenshot.jpg +0 -0
- package/template/themes/sidibou/snapify.theme.json +21 -0
- package/template/themes/sidibou/src/CeeSimulator.tsx +247 -0
- package/template/themes/sidibou/src/Footer.tsx +203 -0
- package/template/themes/sidibou/src/Header.tsx +324 -0
- package/template/themes/sidibou/src/Layout.tsx +53 -0
- package/template/themes/sidibou/src/NotFound.tsx +58 -0
- package/template/themes/sidibou/src/Post.tsx +26 -0
- package/template/themes/sidibou/src/SnapifyLogo.tsx +44 -0
- package/template/themes/sidibou/src/blocks/CollectionBlocks.tsx +711 -0
- package/template/themes/sidibou/src/blocks/ContentBlocks.tsx +318 -0
- package/template/themes/sidibou/src/blocks/ConversionBlocks.tsx +559 -0
- package/template/themes/sidibou/src/blocks/HeaderBlocks.tsx +341 -0
- package/template/themes/sidibou/src/index.tsx +54 -0
- package/template/themes/sidibou/src/kit.tsx +398 -0
- package/template/themes/sidibou/src/site.ts +28 -0
- package/template/themes/sidibou/src/styles.css +317 -0
- package/template/tsconfig.json +33 -0
- package/template/vite.config.ts +42 -0
|
@@ -0,0 +1,1001 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@source "../../../src/admin/ui";
|
|
3
|
+
|
|
4
|
+
@theme inline {
|
|
5
|
+
--font-sans: "Poppins", ui-sans-serif, system-ui, sans-serif;
|
|
6
|
+
--color-px-primary: #00c6ba;
|
|
7
|
+
--color-px-primary-dark: #00a89d;
|
|
8
|
+
--color-px-accent: #0066ee;
|
|
9
|
+
--color-px-navy: #0b1528;
|
|
10
|
+
--color-px-surface: #f5f7fa;
|
|
11
|
+
--color-px-muted: #64748b;
|
|
12
|
+
--color-px-border: #e3e8ee;
|
|
13
|
+
--color-ps-dark: #1d1d1b;
|
|
14
|
+
--color-ps-dark-2: #252523;
|
|
15
|
+
--color-ps-muted: #6c6c6c;
|
|
16
|
+
/* Alignés sur src/admin/admin.css — espace développeur */
|
|
17
|
+
--color-brand-50: #e6faf8;
|
|
18
|
+
--color-brand-100: #c2f2ee;
|
|
19
|
+
--color-brand-200: #8fe6df;
|
|
20
|
+
--color-brand-400: #2dd4bf;
|
|
21
|
+
--color-brand-500: #00c6ba;
|
|
22
|
+
--color-brand-600: #00a89d;
|
|
23
|
+
--color-brand-700: #00867d;
|
|
24
|
+
--color-navy-800: #111d33;
|
|
25
|
+
--color-navy-900: #0b1528;
|
|
26
|
+
--color-navy-950: #070e1c;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:root {
|
|
30
|
+
--px-primary: #00c6ba;
|
|
31
|
+
--px-primary-dark: #00a89d;
|
|
32
|
+
--px-accent: #0066ee;
|
|
33
|
+
--px-navy: #0b1528;
|
|
34
|
+
--px-surface: #f4f5f7;
|
|
35
|
+
--px-muted: #6c6c6c;
|
|
36
|
+
--px-border: #e5e7eb;
|
|
37
|
+
--px-gradient: linear-gradient(135deg, #00c6ba 0%, #0066ee 100%);
|
|
38
|
+
--ps-dark: #1d1d1b;
|
|
39
|
+
--ps-radius: 4px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@layer base {
|
|
43
|
+
* { box-sizing: border-box; }
|
|
44
|
+
|
|
45
|
+
body {
|
|
46
|
+
font-family: var(--font-sans);
|
|
47
|
+
background: #fff;
|
|
48
|
+
color: #1d1d1b;
|
|
49
|
+
margin: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
a { color: inherit; text-decoration: none; }
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@layer components {
|
|
56
|
+
/* ——— Header Addons-like ——— */
|
|
57
|
+
.mp-topbar {
|
|
58
|
+
background: #111;
|
|
59
|
+
color: #fff;
|
|
60
|
+
font-size: 13px;
|
|
61
|
+
}
|
|
62
|
+
.mp-topbar a:hover { color: var(--px-primary); }
|
|
63
|
+
|
|
64
|
+
.mp-header {
|
|
65
|
+
background: var(--ps-dark);
|
|
66
|
+
color: #fff;
|
|
67
|
+
position: sticky;
|
|
68
|
+
top: 0;
|
|
69
|
+
z-index: 50;
|
|
70
|
+
}
|
|
71
|
+
.mp-header-inner {
|
|
72
|
+
max-width: 1240px;
|
|
73
|
+
margin: 0 auto;
|
|
74
|
+
padding: 0 20px;
|
|
75
|
+
height: 72px;
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
gap: 28px;
|
|
79
|
+
}
|
|
80
|
+
.mp-nav {
|
|
81
|
+
display: flex;
|
|
82
|
+
gap: 8px;
|
|
83
|
+
align-items: center;
|
|
84
|
+
}
|
|
85
|
+
.mp-nav a {
|
|
86
|
+
padding: 10px 14px;
|
|
87
|
+
border-radius: 4px;
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
color: rgba(255,255,255,.88);
|
|
91
|
+
}
|
|
92
|
+
.mp-nav a:hover,
|
|
93
|
+
.mp-nav a.active {
|
|
94
|
+
background: rgba(255,255,255,.08);
|
|
95
|
+
color: #fff;
|
|
96
|
+
}
|
|
97
|
+
.mp-search-header {
|
|
98
|
+
flex: 1;
|
|
99
|
+
max-width: 420px;
|
|
100
|
+
position: relative;
|
|
101
|
+
}
|
|
102
|
+
.mp-search-header input {
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 42px;
|
|
105
|
+
border: none;
|
|
106
|
+
border-radius: 4px;
|
|
107
|
+
padding: 0 42px 0 14px;
|
|
108
|
+
font-size: 14px;
|
|
109
|
+
background: #2a2a28;
|
|
110
|
+
color: #fff;
|
|
111
|
+
outline: none;
|
|
112
|
+
}
|
|
113
|
+
.mp-search-header input::placeholder { color: #9a9a96; }
|
|
114
|
+
.mp-search-header button {
|
|
115
|
+
position: absolute;
|
|
116
|
+
right: 4px;
|
|
117
|
+
top: 4px;
|
|
118
|
+
height: 34px;
|
|
119
|
+
width: 34px;
|
|
120
|
+
border: none;
|
|
121
|
+
border-radius: 4px;
|
|
122
|
+
background: var(--px-primary);
|
|
123
|
+
color: #fff;
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
display: grid;
|
|
126
|
+
place-items: center;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.mp-icon-btn {
|
|
130
|
+
display: inline-flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
gap: 6px;
|
|
133
|
+
color: #fff;
|
|
134
|
+
font-size: 13px;
|
|
135
|
+
font-weight: 600;
|
|
136
|
+
padding: 8px 10px;
|
|
137
|
+
border-radius: 4px;
|
|
138
|
+
position: relative;
|
|
139
|
+
}
|
|
140
|
+
.mp-icon-btn:hover { background: rgba(255,255,255,.08); }
|
|
141
|
+
.mp-badge {
|
|
142
|
+
position: absolute;
|
|
143
|
+
top: 2px;
|
|
144
|
+
right: 0;
|
|
145
|
+
min-width: 18px;
|
|
146
|
+
height: 18px;
|
|
147
|
+
border-radius: 999px;
|
|
148
|
+
background: var(--px-primary);
|
|
149
|
+
color: #fff;
|
|
150
|
+
font-size: 11px;
|
|
151
|
+
font-weight: 700;
|
|
152
|
+
display: grid;
|
|
153
|
+
place-items: center;
|
|
154
|
+
padding: 0 5px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* ——— Hero ——— */
|
|
158
|
+
.mp-hero {
|
|
159
|
+
background: var(--ps-dark);
|
|
160
|
+
color: #fff;
|
|
161
|
+
padding: 48px 20px 56px;
|
|
162
|
+
text-align: center;
|
|
163
|
+
}
|
|
164
|
+
.mp-hero h1 {
|
|
165
|
+
margin: 0 auto;
|
|
166
|
+
max-width: 900px;
|
|
167
|
+
font-size: clamp(1.6rem, 3.5vw, 2.4rem);
|
|
168
|
+
font-weight: 700;
|
|
169
|
+
letter-spacing: -0.02em;
|
|
170
|
+
line-height: 1.2;
|
|
171
|
+
text-transform: uppercase;
|
|
172
|
+
}
|
|
173
|
+
.mp-hero p {
|
|
174
|
+
margin: 14px auto 0;
|
|
175
|
+
color: rgba(255,255,255,.72);
|
|
176
|
+
font-size: 16px;
|
|
177
|
+
}
|
|
178
|
+
.mp-dev-docs-link {
|
|
179
|
+
display: inline-block;
|
|
180
|
+
margin-top: 18px;
|
|
181
|
+
color: var(--px-primary);
|
|
182
|
+
font-weight: 600;
|
|
183
|
+
font-size: 15px;
|
|
184
|
+
}
|
|
185
|
+
.mp-dev-docs-link:hover { text-decoration: underline; }
|
|
186
|
+
.mp-hero-search {
|
|
187
|
+
margin: 28px auto 0;
|
|
188
|
+
max-width: 720px;
|
|
189
|
+
display: flex;
|
|
190
|
+
background: #fff;
|
|
191
|
+
border-radius: 4px;
|
|
192
|
+
overflow: hidden;
|
|
193
|
+
box-shadow: 0 12px 40px rgba(0,0,0,.35);
|
|
194
|
+
}
|
|
195
|
+
.mp-hero-search input {
|
|
196
|
+
flex: 1;
|
|
197
|
+
border: none;
|
|
198
|
+
padding: 16px 18px;
|
|
199
|
+
font-size: 15px;
|
|
200
|
+
outline: none;
|
|
201
|
+
}
|
|
202
|
+
.mp-hero-search button {
|
|
203
|
+
border: none;
|
|
204
|
+
background: var(--px-primary);
|
|
205
|
+
color: #fff;
|
|
206
|
+
padding: 0 22px;
|
|
207
|
+
font-weight: 700;
|
|
208
|
+
cursor: pointer;
|
|
209
|
+
display: flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
gap: 8px;
|
|
212
|
+
}
|
|
213
|
+
.mp-hero-search button:hover { background: var(--px-primary-dark); }
|
|
214
|
+
|
|
215
|
+
/* ——— Layout helpers ——— */
|
|
216
|
+
.mp-wrap {
|
|
217
|
+
max-width: 1240px;
|
|
218
|
+
margin: 0 auto;
|
|
219
|
+
padding: 0 20px;
|
|
220
|
+
}
|
|
221
|
+
.mp-section {
|
|
222
|
+
padding: 40px 0;
|
|
223
|
+
}
|
|
224
|
+
.mp-section-head {
|
|
225
|
+
display: flex;
|
|
226
|
+
align-items: flex-end;
|
|
227
|
+
justify-content: space-between;
|
|
228
|
+
gap: 16px;
|
|
229
|
+
margin-bottom: 20px;
|
|
230
|
+
}
|
|
231
|
+
.mp-section-head h2 {
|
|
232
|
+
margin: 0;
|
|
233
|
+
font-size: 1.35rem;
|
|
234
|
+
font-weight: 700;
|
|
235
|
+
}
|
|
236
|
+
.mp-link-more {
|
|
237
|
+
color: var(--px-accent);
|
|
238
|
+
font-size: 14px;
|
|
239
|
+
font-weight: 600;
|
|
240
|
+
}
|
|
241
|
+
.mp-link-more:hover { text-decoration: underline; }
|
|
242
|
+
|
|
243
|
+
/* Promo banners */
|
|
244
|
+
.mp-promos {
|
|
245
|
+
display: grid;
|
|
246
|
+
grid-template-columns: 1fr 1fr;
|
|
247
|
+
gap: 16px;
|
|
248
|
+
margin-top: -28px;
|
|
249
|
+
position: relative;
|
|
250
|
+
z-index: 2;
|
|
251
|
+
}
|
|
252
|
+
@media (max-width: 800px) {
|
|
253
|
+
.mp-promos { grid-template-columns: 1fr; }
|
|
254
|
+
}
|
|
255
|
+
.mp-promo {
|
|
256
|
+
border-radius: 8px;
|
|
257
|
+
padding: 28px;
|
|
258
|
+
min-height: 180px;
|
|
259
|
+
display: flex;
|
|
260
|
+
flex-direction: column;
|
|
261
|
+
justify-content: space-between;
|
|
262
|
+
color: #0b1528;
|
|
263
|
+
overflow: hidden;
|
|
264
|
+
position: relative;
|
|
265
|
+
}
|
|
266
|
+
.mp-promo h3 {
|
|
267
|
+
margin: 0;
|
|
268
|
+
font-size: 1.25rem;
|
|
269
|
+
font-weight: 700;
|
|
270
|
+
max-width: 70%;
|
|
271
|
+
line-height: 1.3;
|
|
272
|
+
}
|
|
273
|
+
.mp-promo p {
|
|
274
|
+
margin: 10px 0 0;
|
|
275
|
+
font-size: 14px;
|
|
276
|
+
max-width: 70%;
|
|
277
|
+
opacity: .85;
|
|
278
|
+
}
|
|
279
|
+
.mp-promo-a { background: linear-gradient(135deg, #c8f4f0, #e8f7ff); }
|
|
280
|
+
.mp-promo-b { background: linear-gradient(135deg, #ffe8a8, #ffd4c2); }
|
|
281
|
+
|
|
282
|
+
/* Trust */
|
|
283
|
+
.mp-trust {
|
|
284
|
+
display: grid;
|
|
285
|
+
grid-template-columns: repeat(3, 1fr);
|
|
286
|
+
gap: 20px;
|
|
287
|
+
padding: 36px 0;
|
|
288
|
+
border-bottom: 1px solid var(--px-border);
|
|
289
|
+
}
|
|
290
|
+
@media (max-width: 800px) {
|
|
291
|
+
.mp-trust { grid-template-columns: 1fr; }
|
|
292
|
+
}
|
|
293
|
+
.mp-trust-item {
|
|
294
|
+
display: flex;
|
|
295
|
+
gap: 14px;
|
|
296
|
+
align-items: flex-start;
|
|
297
|
+
}
|
|
298
|
+
.mp-trust-icon {
|
|
299
|
+
width: 44px;
|
|
300
|
+
height: 44px;
|
|
301
|
+
border-radius: 50%;
|
|
302
|
+
background: #e6faf8;
|
|
303
|
+
color: var(--px-primary-dark);
|
|
304
|
+
display: grid;
|
|
305
|
+
place-items: center;
|
|
306
|
+
flex-shrink: 0;
|
|
307
|
+
}
|
|
308
|
+
.mp-trust-item strong { display: block; font-size: 14px; }
|
|
309
|
+
.mp-trust-item span { font-size: 13px; color: var(--px-muted); }
|
|
310
|
+
|
|
311
|
+
/* Category chips */
|
|
312
|
+
.mp-cats {
|
|
313
|
+
display: flex;
|
|
314
|
+
flex-wrap: wrap;
|
|
315
|
+
gap: 10px;
|
|
316
|
+
}
|
|
317
|
+
.mp-cat {
|
|
318
|
+
border: 1px solid var(--px-border);
|
|
319
|
+
background: #fff;
|
|
320
|
+
border-radius: 999px;
|
|
321
|
+
padding: 10px 16px;
|
|
322
|
+
font-size: 13px;
|
|
323
|
+
font-weight: 600;
|
|
324
|
+
transition: border-color .15s, box-shadow .15s;
|
|
325
|
+
}
|
|
326
|
+
.mp-cat:hover {
|
|
327
|
+
border-color: var(--px-primary);
|
|
328
|
+
box-shadow: 0 4px 14px rgba(0,198,186,.15);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/* Product card — Addons style */
|
|
332
|
+
.mp-grid {
|
|
333
|
+
display: grid;
|
|
334
|
+
grid-template-columns: repeat(4, 1fr);
|
|
335
|
+
gap: 16px;
|
|
336
|
+
}
|
|
337
|
+
@media (max-width: 1100px) { .mp-grid { grid-template-columns: repeat(3, 1fr); } }
|
|
338
|
+
@media (max-width: 800px) { .mp-grid { grid-template-columns: repeat(2, 1fr); } }
|
|
339
|
+
@media (max-width: 520px) { .mp-grid { grid-template-columns: 1fr; } }
|
|
340
|
+
|
|
341
|
+
.mp-card {
|
|
342
|
+
background: #fff;
|
|
343
|
+
border: 1px solid var(--px-border);
|
|
344
|
+
border-radius: 8px;
|
|
345
|
+
overflow: hidden;
|
|
346
|
+
display: flex;
|
|
347
|
+
flex-direction: column;
|
|
348
|
+
transition: box-shadow .2s, border-color .2s, transform .2s;
|
|
349
|
+
height: 100%;
|
|
350
|
+
}
|
|
351
|
+
.mp-card:hover {
|
|
352
|
+
border-color: #cfd4dc;
|
|
353
|
+
box-shadow: 0 10px 28px rgba(13,21,40,.1);
|
|
354
|
+
transform: translateY(-2px);
|
|
355
|
+
}
|
|
356
|
+
.mp-card-media {
|
|
357
|
+
aspect-ratio: 16 / 10;
|
|
358
|
+
background: linear-gradient(145deg, #eef2f7, #e6faf8);
|
|
359
|
+
display: grid;
|
|
360
|
+
place-items: center;
|
|
361
|
+
position: relative;
|
|
362
|
+
border-bottom: 1px solid var(--px-border);
|
|
363
|
+
}
|
|
364
|
+
.mp-card-media .kind {
|
|
365
|
+
position: absolute;
|
|
366
|
+
top: 10px;
|
|
367
|
+
left: 10px;
|
|
368
|
+
background: #fff;
|
|
369
|
+
border: 1px solid var(--px-border);
|
|
370
|
+
border-radius: 4px;
|
|
371
|
+
font-size: 11px;
|
|
372
|
+
font-weight: 700;
|
|
373
|
+
text-transform: uppercase;
|
|
374
|
+
padding: 3px 8px;
|
|
375
|
+
letter-spacing: .04em;
|
|
376
|
+
}
|
|
377
|
+
.mp-card-body {
|
|
378
|
+
padding: 14px 14px 16px;
|
|
379
|
+
display: flex;
|
|
380
|
+
flex-direction: column;
|
|
381
|
+
gap: 6px;
|
|
382
|
+
flex: 1;
|
|
383
|
+
}
|
|
384
|
+
.mp-card-body h3 {
|
|
385
|
+
margin: 0;
|
|
386
|
+
font-size: 15px;
|
|
387
|
+
font-weight: 700;
|
|
388
|
+
line-height: 1.35;
|
|
389
|
+
display: -webkit-box;
|
|
390
|
+
-webkit-line-clamp: 2;
|
|
391
|
+
-webkit-box-orient: vertical;
|
|
392
|
+
overflow: hidden;
|
|
393
|
+
min-height: 2.7em;
|
|
394
|
+
}
|
|
395
|
+
.mp-card-dev {
|
|
396
|
+
font-size: 12px;
|
|
397
|
+
color: var(--px-muted);
|
|
398
|
+
}
|
|
399
|
+
.mp-card-meta {
|
|
400
|
+
display: flex;
|
|
401
|
+
align-items: center;
|
|
402
|
+
justify-content: space-between;
|
|
403
|
+
margin-top: auto;
|
|
404
|
+
padding-top: 10px;
|
|
405
|
+
}
|
|
406
|
+
.mp-price {
|
|
407
|
+
font-size: 16px;
|
|
408
|
+
font-weight: 800;
|
|
409
|
+
color: var(--ps-dark);
|
|
410
|
+
}
|
|
411
|
+
.mp-price.free { color: var(--px-primary-dark); }
|
|
412
|
+
.mp-stars {
|
|
413
|
+
display: inline-flex;
|
|
414
|
+
align-items: center;
|
|
415
|
+
gap: 3px;
|
|
416
|
+
font-size: 12px;
|
|
417
|
+
color: #f5a623;
|
|
418
|
+
font-weight: 600;
|
|
419
|
+
}
|
|
420
|
+
.mp-stars span { color: var(--px-muted); font-weight: 500; }
|
|
421
|
+
|
|
422
|
+
/* Catalog layout */
|
|
423
|
+
.mp-catalog {
|
|
424
|
+
display: grid;
|
|
425
|
+
grid-template-columns: 260px 1fr;
|
|
426
|
+
gap: 28px;
|
|
427
|
+
padding: 28px 0 48px;
|
|
428
|
+
}
|
|
429
|
+
@media (max-width: 900px) {
|
|
430
|
+
.mp-catalog { grid-template-columns: 1fr; }
|
|
431
|
+
}
|
|
432
|
+
.mp-filters {
|
|
433
|
+
border: 1px solid var(--px-border);
|
|
434
|
+
border-radius: 8px;
|
|
435
|
+
background: #fff;
|
|
436
|
+
padding: 18px;
|
|
437
|
+
height: fit-content;
|
|
438
|
+
position: sticky;
|
|
439
|
+
top: 88px;
|
|
440
|
+
}
|
|
441
|
+
.mp-filters h3 {
|
|
442
|
+
margin: 0 0 12px;
|
|
443
|
+
font-size: 14px;
|
|
444
|
+
font-weight: 700;
|
|
445
|
+
text-transform: uppercase;
|
|
446
|
+
letter-spacing: .06em;
|
|
447
|
+
color: var(--px-muted);
|
|
448
|
+
}
|
|
449
|
+
.mp-filters label {
|
|
450
|
+
display: flex;
|
|
451
|
+
align-items: center;
|
|
452
|
+
gap: 8px;
|
|
453
|
+
font-size: 14px;
|
|
454
|
+
padding: 6px 0;
|
|
455
|
+
cursor: pointer;
|
|
456
|
+
}
|
|
457
|
+
.mp-filters .group { margin-bottom: 18px; }
|
|
458
|
+
.mp-filters select,
|
|
459
|
+
.mp-filters input[type="search"] {
|
|
460
|
+
width: 100%;
|
|
461
|
+
border: 1px solid var(--px-border);
|
|
462
|
+
border-radius: 4px;
|
|
463
|
+
padding: 10px 12px;
|
|
464
|
+
font-size: 14px;
|
|
465
|
+
margin-top: 6px;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.mp-toolbar {
|
|
469
|
+
display: flex;
|
|
470
|
+
flex-wrap: wrap;
|
|
471
|
+
gap: 12px;
|
|
472
|
+
align-items: center;
|
|
473
|
+
justify-content: space-between;
|
|
474
|
+
margin-bottom: 16px;
|
|
475
|
+
}
|
|
476
|
+
.mp-toolbar .count { font-size: 14px; color: var(--px-muted); }
|
|
477
|
+
|
|
478
|
+
/* Product detail — buy box */
|
|
479
|
+
.mp-product {
|
|
480
|
+
display: grid;
|
|
481
|
+
grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
|
|
482
|
+
grid-template-areas: "media buy" "info buy";
|
|
483
|
+
column-gap: 28px;
|
|
484
|
+
row-gap: 0;
|
|
485
|
+
padding: 28px 0 40px;
|
|
486
|
+
align-items: start;
|
|
487
|
+
}
|
|
488
|
+
.mp-product-media { grid-area: media; min-width: 0; }
|
|
489
|
+
.mp-product-info { grid-area: info; min-width: 0; }
|
|
490
|
+
.mp-product .mp-buybox { grid-area: buy; }
|
|
491
|
+
@media (max-width: 900px) {
|
|
492
|
+
.mp-product {
|
|
493
|
+
grid-template-columns: minmax(0, 1fr);
|
|
494
|
+
grid-template-areas: "media" "buy" "info";
|
|
495
|
+
row-gap: 18px;
|
|
496
|
+
padding-top: 16px;
|
|
497
|
+
}
|
|
498
|
+
.mp-product .mp-buybox { position: static; }
|
|
499
|
+
}
|
|
500
|
+
.mp-gallery {
|
|
501
|
+
border: 1px solid var(--px-border);
|
|
502
|
+
border-radius: 8px;
|
|
503
|
+
background: linear-gradient(145deg, #f0f4f8, #e8faf7);
|
|
504
|
+
min-height: 360px;
|
|
505
|
+
display: grid;
|
|
506
|
+
place-items: center;
|
|
507
|
+
}
|
|
508
|
+
.mp-buybox {
|
|
509
|
+
border: 1px solid var(--px-border);
|
|
510
|
+
border-radius: 8px;
|
|
511
|
+
background: #fff;
|
|
512
|
+
padding: 22px;
|
|
513
|
+
height: fit-content;
|
|
514
|
+
position: sticky;
|
|
515
|
+
top: 88px;
|
|
516
|
+
box-shadow: 0 8px 24px rgba(13,21,40,.06);
|
|
517
|
+
}
|
|
518
|
+
.mp-buybox .price-lg {
|
|
519
|
+
font-size: 2rem;
|
|
520
|
+
font-weight: 800;
|
|
521
|
+
margin: 8px 0 4px;
|
|
522
|
+
}
|
|
523
|
+
.mp-buybox .tax { font-size: 12px; color: var(--px-muted); margin-bottom: 16px; }
|
|
524
|
+
.mp-btn-buy {
|
|
525
|
+
width: 100%;
|
|
526
|
+
height: 48px;
|
|
527
|
+
border: none;
|
|
528
|
+
border-radius: 4px;
|
|
529
|
+
background: var(--px-primary);
|
|
530
|
+
color: #fff;
|
|
531
|
+
font-weight: 700;
|
|
532
|
+
font-size: 15px;
|
|
533
|
+
cursor: pointer;
|
|
534
|
+
}
|
|
535
|
+
.mp-btn-buy:hover { background: var(--px-primary-dark); }
|
|
536
|
+
.mp-btn-buy:disabled { opacity: .55; cursor: not-allowed; }
|
|
537
|
+
.mp-btn-ghost {
|
|
538
|
+
width: 100%;
|
|
539
|
+
height: 44px;
|
|
540
|
+
margin-top: 10px;
|
|
541
|
+
border: 1px solid var(--px-border);
|
|
542
|
+
border-radius: 4px;
|
|
543
|
+
background: #fff;
|
|
544
|
+
font-weight: 600;
|
|
545
|
+
cursor: pointer;
|
|
546
|
+
}
|
|
547
|
+
.mp-btn-ghost:hover { background: #f8fafc; }
|
|
548
|
+
|
|
549
|
+
.mp-tabs {
|
|
550
|
+
display: flex;
|
|
551
|
+
gap: 4px;
|
|
552
|
+
border-bottom: 1px solid var(--px-border);
|
|
553
|
+
margin: 8px 0 0;
|
|
554
|
+
overflow-x: auto;
|
|
555
|
+
}
|
|
556
|
+
.mp-tabs button {
|
|
557
|
+
border: none;
|
|
558
|
+
background: transparent;
|
|
559
|
+
padding: 12px 16px;
|
|
560
|
+
font-weight: 600;
|
|
561
|
+
font-size: 14px;
|
|
562
|
+
color: var(--px-muted);
|
|
563
|
+
cursor: pointer;
|
|
564
|
+
border-bottom: 2px solid transparent;
|
|
565
|
+
white-space: nowrap;
|
|
566
|
+
}
|
|
567
|
+
.mp-tabs button.active {
|
|
568
|
+
color: var(--ps-dark);
|
|
569
|
+
border-bottom-color: var(--px-primary);
|
|
570
|
+
}
|
|
571
|
+
.mp-tab-panel {
|
|
572
|
+
padding: 20px 0 40px;
|
|
573
|
+
font-size: 15px;
|
|
574
|
+
line-height: 1.65;
|
|
575
|
+
color: #333;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
/* Buttons generic */
|
|
579
|
+
.btn-mp {
|
|
580
|
+
display: inline-flex;
|
|
581
|
+
align-items: center;
|
|
582
|
+
justify-content: center;
|
|
583
|
+
gap: 8px;
|
|
584
|
+
background: var(--px-primary);
|
|
585
|
+
color: #fff;
|
|
586
|
+
border: none;
|
|
587
|
+
border-radius: 4px;
|
|
588
|
+
font-weight: 700;
|
|
589
|
+
padding: 11px 18px;
|
|
590
|
+
font-size: 14px;
|
|
591
|
+
cursor: pointer;
|
|
592
|
+
}
|
|
593
|
+
.btn-mp:hover { background: var(--px-primary-dark); }
|
|
594
|
+
.btn-mp-outline {
|
|
595
|
+
display: inline-flex;
|
|
596
|
+
align-items: center;
|
|
597
|
+
gap: 8px;
|
|
598
|
+
background: transparent;
|
|
599
|
+
color: #fff;
|
|
600
|
+
border: 1px solid rgba(255,255,255,.35);
|
|
601
|
+
border-radius: 4px;
|
|
602
|
+
font-weight: 600;
|
|
603
|
+
padding: 10px 16px;
|
|
604
|
+
font-size: 14px;
|
|
605
|
+
cursor: pointer;
|
|
606
|
+
}
|
|
607
|
+
.btn-mp-outline:hover { background: rgba(255,255,255,.08); }
|
|
608
|
+
|
|
609
|
+
/* Footer */
|
|
610
|
+
.mp-footer {
|
|
611
|
+
background: var(--ps-dark);
|
|
612
|
+
color: rgba(255,255,255,.75);
|
|
613
|
+
margin-top: 48px;
|
|
614
|
+
padding: 48px 0 28px;
|
|
615
|
+
font-size: 14px;
|
|
616
|
+
}
|
|
617
|
+
.mp-footer-grid {
|
|
618
|
+
display: grid;
|
|
619
|
+
grid-template-columns: 1.4fr repeat(3, 1fr);
|
|
620
|
+
gap: 28px;
|
|
621
|
+
}
|
|
622
|
+
@media (max-width: 800px) {
|
|
623
|
+
.mp-footer-grid { grid-template-columns: 1fr 1fr; }
|
|
624
|
+
}
|
|
625
|
+
.mp-footer h4 {
|
|
626
|
+
color: #fff;
|
|
627
|
+
margin: 0 0 14px;
|
|
628
|
+
font-size: 13px;
|
|
629
|
+
text-transform: uppercase;
|
|
630
|
+
letter-spacing: .06em;
|
|
631
|
+
}
|
|
632
|
+
.mp-footer a {
|
|
633
|
+
display: block;
|
|
634
|
+
padding: 4px 0;
|
|
635
|
+
color: rgba(255,255,255,.65);
|
|
636
|
+
}
|
|
637
|
+
.mp-footer a:hover { color: var(--px-primary); }
|
|
638
|
+
.mp-footer-bottom {
|
|
639
|
+
margin-top: 36px;
|
|
640
|
+
padding-top: 18px;
|
|
641
|
+
border-top: 1px solid rgba(255,255,255,.1);
|
|
642
|
+
display: flex;
|
|
643
|
+
justify-content: space-between;
|
|
644
|
+
gap: 12px;
|
|
645
|
+
flex-wrap: wrap;
|
|
646
|
+
font-size: 12px;
|
|
647
|
+
color: rgba(255,255,255,.45);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/* Auth / forms cards */
|
|
651
|
+
.mp-panel {
|
|
652
|
+
max-width: 440px;
|
|
653
|
+
margin: 48px auto;
|
|
654
|
+
border: 1px solid var(--px-border);
|
|
655
|
+
border-radius: 8px;
|
|
656
|
+
padding: 28px;
|
|
657
|
+
background: #fff;
|
|
658
|
+
box-shadow: 0 8px 24px rgba(13,21,40,.05);
|
|
659
|
+
}
|
|
660
|
+
.mp-input {
|
|
661
|
+
width: 100%;
|
|
662
|
+
border: 1px solid var(--px-border);
|
|
663
|
+
border-radius: 4px;
|
|
664
|
+
padding: 11px 12px;
|
|
665
|
+
font-size: 14px;
|
|
666
|
+
margin-top: 6px;
|
|
667
|
+
outline: none;
|
|
668
|
+
}
|
|
669
|
+
.mp-input:focus {
|
|
670
|
+
border-color: var(--px-primary);
|
|
671
|
+
box-shadow: 0 0 0 3px rgba(0,198,186,.18);
|
|
672
|
+
}
|
|
673
|
+
.mp-label { font-size: 13px; font-weight: 600; display: block; margin-top: 14px; }
|
|
674
|
+
|
|
675
|
+
.mp-breadcrumb {
|
|
676
|
+
font-size: 13px;
|
|
677
|
+
color: var(--px-muted);
|
|
678
|
+
padding: 18px 0 0;
|
|
679
|
+
}
|
|
680
|
+
.mp-breadcrumb a:hover { color: var(--px-primary-dark); }
|
|
681
|
+
|
|
682
|
+
/* ── Developer dashboard — chrome type backoffice CMS (navy + slate) ── */
|
|
683
|
+
.mp-dev {
|
|
684
|
+
min-height: 100vh;
|
|
685
|
+
background: #f6f7f9;
|
|
686
|
+
color: #0f172a;
|
|
687
|
+
font-feature-settings: "cv11", "ss01";
|
|
688
|
+
-webkit-font-smoothing: antialiased;
|
|
689
|
+
}
|
|
690
|
+
.mp-dev-main {
|
|
691
|
+
flex: 1;
|
|
692
|
+
min-width: 0;
|
|
693
|
+
}
|
|
694
|
+
.mp-dev ::selection {
|
|
695
|
+
background: rgb(0 198 186 / 0.2);
|
|
696
|
+
}
|
|
697
|
+
.mp-dev :focus-visible {
|
|
698
|
+
outline: 2px solid #00c6ba;
|
|
699
|
+
outline-offset: 2px;
|
|
700
|
+
}
|
|
701
|
+
.mp-dev .scrollbar-thin::-webkit-scrollbar {
|
|
702
|
+
width: 8px;
|
|
703
|
+
height: 8px;
|
|
704
|
+
}
|
|
705
|
+
.mp-dev .scrollbar-thin::-webkit-scrollbar-thumb {
|
|
706
|
+
background: #cbd5e1;
|
|
707
|
+
border-radius: 999px;
|
|
708
|
+
}
|
|
709
|
+
.mp-dev-media-grid {
|
|
710
|
+
display: grid;
|
|
711
|
+
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
712
|
+
gap: 10px;
|
|
713
|
+
margin-top: 10px;
|
|
714
|
+
}
|
|
715
|
+
.mp-dev-shot {
|
|
716
|
+
position: relative;
|
|
717
|
+
aspect-ratio: 16 / 10;
|
|
718
|
+
border: 1px solid var(--px-border);
|
|
719
|
+
border-radius: 8px;
|
|
720
|
+
overflow: hidden;
|
|
721
|
+
background: #f8fafc;
|
|
722
|
+
}
|
|
723
|
+
.mp-dev-shot img {
|
|
724
|
+
width: 100%;
|
|
725
|
+
height: 100%;
|
|
726
|
+
object-fit: cover;
|
|
727
|
+
display: block;
|
|
728
|
+
}
|
|
729
|
+
.mp-dev-shot button {
|
|
730
|
+
position: absolute;
|
|
731
|
+
top: 6px;
|
|
732
|
+
right: 6px;
|
|
733
|
+
border: none;
|
|
734
|
+
background: rgba(0,0,0,.65);
|
|
735
|
+
color: #fff;
|
|
736
|
+
border-radius: 4px;
|
|
737
|
+
width: 28px;
|
|
738
|
+
height: 28px;
|
|
739
|
+
cursor: pointer;
|
|
740
|
+
font-size: 16px;
|
|
741
|
+
line-height: 1;
|
|
742
|
+
}
|
|
743
|
+
.mp-dev-icon-preview {
|
|
744
|
+
width: 96px;
|
|
745
|
+
height: 96px;
|
|
746
|
+
border-radius: 16px;
|
|
747
|
+
border: 1px solid var(--px-border);
|
|
748
|
+
background: #f8fafc;
|
|
749
|
+
object-fit: cover;
|
|
750
|
+
display: block;
|
|
751
|
+
}
|
|
752
|
+
.mp-dev-icon-fallback {
|
|
753
|
+
width: 96px;
|
|
754
|
+
height: 96px;
|
|
755
|
+
border-radius: 16px;
|
|
756
|
+
border: 1px dashed var(--px-border);
|
|
757
|
+
background: #f8fafc;
|
|
758
|
+
display: grid;
|
|
759
|
+
place-items: center;
|
|
760
|
+
color: #6c6c6c;
|
|
761
|
+
font-size: 12px;
|
|
762
|
+
text-align: center;
|
|
763
|
+
padding: 8px;
|
|
764
|
+
}
|
|
765
|
+
.mp-gallery-thumbs {
|
|
766
|
+
display: flex;
|
|
767
|
+
gap: 8px;
|
|
768
|
+
margin-top: 10px;
|
|
769
|
+
flex-wrap: wrap;
|
|
770
|
+
}
|
|
771
|
+
.mp-gallery-thumbs button {
|
|
772
|
+
border: 2px solid transparent;
|
|
773
|
+
padding: 0;
|
|
774
|
+
border-radius: 6px;
|
|
775
|
+
overflow: hidden;
|
|
776
|
+
cursor: pointer;
|
|
777
|
+
background: #f1f5f9;
|
|
778
|
+
width: 72px;
|
|
779
|
+
height: 48px;
|
|
780
|
+
}
|
|
781
|
+
.mp-gallery-thumbs button.active {
|
|
782
|
+
border-color: var(--px-primary);
|
|
783
|
+
}
|
|
784
|
+
.mp-gallery-thumbs img {
|
|
785
|
+
width: 100%;
|
|
786
|
+
height: 100%;
|
|
787
|
+
object-fit: cover;
|
|
788
|
+
display: block;
|
|
789
|
+
}
|
|
790
|
+
.mp-card-media { overflow: hidden; }
|
|
791
|
+
.mp-card-media img {
|
|
792
|
+
position: absolute;
|
|
793
|
+
inset: 0;
|
|
794
|
+
width: 100%;
|
|
795
|
+
height: 100%;
|
|
796
|
+
object-fit: cover;
|
|
797
|
+
display: block;
|
|
798
|
+
}
|
|
799
|
+
.mp-card-media .kind { z-index: 1; }
|
|
800
|
+
.mp-gallery img.mp-gallery-main {
|
|
801
|
+
width: 100%;
|
|
802
|
+
height: 100%;
|
|
803
|
+
object-fit: contain;
|
|
804
|
+
display: block;
|
|
805
|
+
max-height: 420px;
|
|
806
|
+
}
|
|
807
|
+
/* responsive géré par le shell Tailwind (lg:pl-64) */
|
|
808
|
+
|
|
809
|
+
.mp-empty {
|
|
810
|
+
border: 1px dashed var(--px-border);
|
|
811
|
+
border-radius: 8px;
|
|
812
|
+
padding: 48px 24px;
|
|
813
|
+
text-align: center;
|
|
814
|
+
color: var(--px-muted);
|
|
815
|
+
background: #fafbfc;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/* ——— Header : logo, actions, menu mobile ——— */
|
|
819
|
+
.mp-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
|
|
820
|
+
.mp-logo-mark {
|
|
821
|
+
display: flex;
|
|
822
|
+
align-items: center;
|
|
823
|
+
justify-content: center;
|
|
824
|
+
width: 36px;
|
|
825
|
+
height: 36px;
|
|
826
|
+
border-radius: 4px;
|
|
827
|
+
background: var(--px-primary-dark);
|
|
828
|
+
}
|
|
829
|
+
.mp-logo-text { line-height: 1.2; }
|
|
830
|
+
.mp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
|
|
831
|
+
.mp-burger { display: none; }
|
|
832
|
+
.mp-card-desc {
|
|
833
|
+
margin: 0;
|
|
834
|
+
font-size: 13px;
|
|
835
|
+
color: var(--px-muted);
|
|
836
|
+
display: -webkit-box;
|
|
837
|
+
-webkit-line-clamp: 2;
|
|
838
|
+
-webkit-box-orient: vertical;
|
|
839
|
+
overflow: hidden;
|
|
840
|
+
}
|
|
841
|
+
.mp-filter-toggle { display: none; }
|
|
842
|
+
.mp-drawer, .mp-drawer-backdrop { display: none; }
|
|
843
|
+
|
|
844
|
+
@media (max-width: 1279px) { .mp-hide-lg { display: none; } }
|
|
845
|
+
@media (max-width: 1023px) {
|
|
846
|
+
.mp-search-header { display: none; }
|
|
847
|
+
.mp-header-inner { gap: 18px; }
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
@media (max-width: 767px) {
|
|
851
|
+
.mp-hide-sm { display: none; }
|
|
852
|
+
.mp-topbar { display: none; }
|
|
853
|
+
.mp-burger { display: inline-flex; margin-left: -6px; }
|
|
854
|
+
.mp-nav { display: none; }
|
|
855
|
+
.mp-header-inner { height: 60px; gap: 10px; padding: 0 14px; }
|
|
856
|
+
.mp-logo-mark { width: 32px; height: 32px; }
|
|
857
|
+
.mp-icon-btn { padding: 8px; }
|
|
858
|
+
|
|
859
|
+
.mp-drawer {
|
|
860
|
+
display: block;
|
|
861
|
+
position: absolute;
|
|
862
|
+
left: 0;
|
|
863
|
+
right: 0;
|
|
864
|
+
top: 60px;
|
|
865
|
+
max-height: calc(100vh - 60px);
|
|
866
|
+
overflow-y: auto;
|
|
867
|
+
background: var(--ps-dark);
|
|
868
|
+
border-top: 1px solid rgba(255,255,255,.08);
|
|
869
|
+
padding: 14px 14px 20px;
|
|
870
|
+
z-index: 60;
|
|
871
|
+
box-shadow: 0 20px 40px rgba(0,0,0,.35);
|
|
872
|
+
}
|
|
873
|
+
.mp-drawer-backdrop {
|
|
874
|
+
display: block;
|
|
875
|
+
position: fixed;
|
|
876
|
+
inset: 0;
|
|
877
|
+
background: rgba(0,0,0,.45);
|
|
878
|
+
z-index: 40;
|
|
879
|
+
}
|
|
880
|
+
.mp-drawer-search {
|
|
881
|
+
display: flex;
|
|
882
|
+
align-items: center;
|
|
883
|
+
gap: 8px;
|
|
884
|
+
background: #2a2a28;
|
|
885
|
+
border-radius: 6px;
|
|
886
|
+
padding: 0 12px;
|
|
887
|
+
color: #9a9a96;
|
|
888
|
+
margin-bottom: 10px;
|
|
889
|
+
}
|
|
890
|
+
.mp-drawer-search input {
|
|
891
|
+
flex: 1;
|
|
892
|
+
height: 44px;
|
|
893
|
+
border: none;
|
|
894
|
+
background: transparent;
|
|
895
|
+
color: #fff;
|
|
896
|
+
font: inherit;
|
|
897
|
+
font-size: 15px;
|
|
898
|
+
outline: none;
|
|
899
|
+
}
|
|
900
|
+
.mp-drawer nav { display: grid; }
|
|
901
|
+
.mp-drawer nav a,
|
|
902
|
+
.mp-drawer nav button {
|
|
903
|
+
display: block;
|
|
904
|
+
width: 100%;
|
|
905
|
+
text-align: left;
|
|
906
|
+
padding: 12px 10px;
|
|
907
|
+
border-radius: 6px;
|
|
908
|
+
border: none;
|
|
909
|
+
background: none;
|
|
910
|
+
font: inherit;
|
|
911
|
+
font-size: 15px;
|
|
912
|
+
font-weight: 600;
|
|
913
|
+
color: rgba(255,255,255,.9);
|
|
914
|
+
cursor: pointer;
|
|
915
|
+
}
|
|
916
|
+
.mp-drawer nav a.active { background: rgba(255,255,255,.08); color: #fff; }
|
|
917
|
+
.mp-drawer nav a:hover,
|
|
918
|
+
.mp-drawer nav button:hover { background: rgba(255,255,255,.06); }
|
|
919
|
+
.mp-drawer-ext a { font-weight: 500 !important; color: rgba(255,255,255,.6) !important; font-size: 14px !important; }
|
|
920
|
+
.mp-drawer-sep { height: 1px; background: rgba(255,255,255,.08); margin: 8px 0; }
|
|
921
|
+
|
|
922
|
+
/* Accueil */
|
|
923
|
+
.mp-hero { padding: 30px 16px 48px; }
|
|
924
|
+
.mp-hero h1 { font-size: 1.4rem; }
|
|
925
|
+
.mp-hero p { font-size: 14px; }
|
|
926
|
+
.mp-hero-search { margin-top: 20px; }
|
|
927
|
+
.mp-hero-search input { padding: 14px; font-size: 14px; min-width: 0; }
|
|
928
|
+
.mp-hero-search button { padding: 0 16px; }
|
|
929
|
+
.mp-wrap { padding: 0 14px; }
|
|
930
|
+
.mp-promos { margin-top: -24px; gap: 12px; }
|
|
931
|
+
.mp-promo { padding: 20px; min-height: 0; }
|
|
932
|
+
.mp-promo h3 { font-size: 1.1rem; max-width: 100%; }
|
|
933
|
+
.mp-promo p { max-width: 100%; }
|
|
934
|
+
.mp-trust { gap: 14px; padding: 24px 0; }
|
|
935
|
+
.mp-section { padding: 28px 0; }
|
|
936
|
+
.mp-section-head h2 { font-size: 1.15rem; }
|
|
937
|
+
.mp-cats { gap: 8px; }
|
|
938
|
+
.mp-cat { padding: 8px 12px; }
|
|
939
|
+
|
|
940
|
+
/* Catalogue */
|
|
941
|
+
.mp-catalog { padding-top: 16px; gap: 14px; }
|
|
942
|
+
.mp-filter-toggle {
|
|
943
|
+
display: inline-flex;
|
|
944
|
+
align-items: center;
|
|
945
|
+
gap: 8px;
|
|
946
|
+
justify-self: start;
|
|
947
|
+
border: 1px solid var(--px-border);
|
|
948
|
+
background: #fff;
|
|
949
|
+
border-radius: 6px;
|
|
950
|
+
padding: 10px 14px;
|
|
951
|
+
font: inherit;
|
|
952
|
+
font-size: 14px;
|
|
953
|
+
font-weight: 600;
|
|
954
|
+
cursor: pointer;
|
|
955
|
+
}
|
|
956
|
+
.mp-filter-count {
|
|
957
|
+
min-width: 20px;
|
|
958
|
+
height: 20px;
|
|
959
|
+
border-radius: 999px;
|
|
960
|
+
background: var(--px-primary);
|
|
961
|
+
color: #fff;
|
|
962
|
+
font-size: 11px;
|
|
963
|
+
display: grid;
|
|
964
|
+
place-items: center;
|
|
965
|
+
padding: 0 5px;
|
|
966
|
+
}
|
|
967
|
+
.mp-filters { display: none; position: static; }
|
|
968
|
+
.mp-filters.is-open { display: block; }
|
|
969
|
+
.mp-toolbar h1 { font-size: 1.25rem !important; }
|
|
970
|
+
|
|
971
|
+
/* Fiche produit */
|
|
972
|
+
.mp-gallery { min-height: 200px; }
|
|
973
|
+
.mp-gallery img.mp-gallery-main { max-height: 260px; }
|
|
974
|
+
.mp-buybox { padding: 18px; }
|
|
975
|
+
.mp-buybox .price-lg { font-size: 1.6rem; }
|
|
976
|
+
.mp-tab-panel { padding-bottom: 24px; }
|
|
977
|
+
|
|
978
|
+
/* Pied de page */
|
|
979
|
+
.mp-footer { margin-top: 32px; padding-top: 36px; }
|
|
980
|
+
.mp-footer-grid > :first-child { grid-column: 1 / -1; }
|
|
981
|
+
.mp-panel { margin: 24px auto; padding: 22px; }
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
@media (max-width: 900px) and (min-width: 768px) {
|
|
985
|
+
.mp-filters { position: static; }
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
/* Cartes : 2 colonnes compactes sur mobile */
|
|
989
|
+
@media (max-width: 520px) {
|
|
990
|
+
.mp-tabs { gap: 0; }
|
|
991
|
+
.mp-tabs button { padding: 12px 10px; font-size: 13px; }
|
|
992
|
+
.mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
|
|
993
|
+
.mp-card-media .kind { top: 6px; left: 6px; font-size: 9px; padding: 2px 6px; }
|
|
994
|
+
.mp-card-body { padding: 10px 10px 12px; gap: 4px; }
|
|
995
|
+
.mp-card-body h3 { font-size: 13px; min-height: 0; }
|
|
996
|
+
.mp-card-dev { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
997
|
+
.mp-card-desc { display: none; }
|
|
998
|
+
.mp-card-meta { padding-top: 6px; flex-wrap: wrap; gap: 4px; }
|
|
999
|
+
.mp-price { font-size: 14px; }
|
|
1000
|
+
}
|
|
1001
|
+
}
|