AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

section-names.ts 606B

123456789101112131415161718192021
  1. /** Section types in plain words. Unknown ones fall back to their code name. */
  2. export const typeNames: Record<string, string> = {
  3. header: 'Header',
  4. hero: 'Hero',
  5. trust_bar: 'Trust row',
  6. shop_by: 'Shop by collection',
  7. bento: 'Bento tiles',
  8. video: 'Video',
  9. product_grid: 'Products',
  10. featured_product: 'Featured product',
  11. about: 'About',
  12. testimonials: 'Reviews',
  13. faq: 'FAQ',
  14. newsletter: 'Newsletter',
  15. contact: 'Contact',
  16. footer: 'Footer',
  17. };
  18. export function sectionName(type: string): string {
  19. return typeNames[type] ?? type.replace(/_/g, ' ');
  20. }