AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }