AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

brand.tsx 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import type { CSSProperties } from 'react';
  2. /*
  3. * The look of our own pages (home, privacy, terms). Their colours are their own and do not follow the dashboard's light or dark theme:
  4. * pandan green, turmeric yellow and a little hibiscus red on a cool mint-white.
  5. */
  6. export const palette = {
  7. '--h-paper': '#F2F6F1',
  8. '--h-card': '#FFFFFF',
  9. '--h-ink': '#10241C',
  10. '--h-muted': '#4E6158',
  11. '--h-line': '#D6E1D8',
  12. '--h-pandan': '#1D6A4C',
  13. '--h-pandan-deep': '#0F3D2C',
  14. '--h-pandan-soft': '#DCEBE1',
  15. '--h-kunyit': '#F2B33D',
  16. '--h-kunyit-soft': '#FCEFCF',
  17. '--h-bunga': '#E3573F',
  18. } as CSSProperties;
  19. export const fontsUrl =
  20. 'https://fonts.bunny.net/css?family=plus-jakarta-sans:600,700,800|instrument-sans:400,500,600&display=swap';
  21. export const heading =
  22. "font-['Plus_Jakarta_Sans',ui-sans-serif,system-ui,sans-serif]";
  23. /** Our logo: a shopping bag with a turmeric dot, and the name. */
  24. export function Logo() {
  25. return (
  26. <span className="inline-flex items-center gap-2">
  27. <span className="relative grid size-8 place-items-center rounded-lg bg-(--h-pandan) text-white">
  28. <svg
  29. viewBox="0 0 24 24"
  30. className="size-5"
  31. fill="none"
  32. stroke="currentColor"
  33. strokeWidth="2"
  34. strokeLinecap="round"
  35. strokeLinejoin="round"
  36. aria-hidden="true"
  37. >
  38. <path d="M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z" />
  39. <path d="M9 8V6.5a3 3 0 0 1 6 0V8" />
  40. </svg>
  41. <span className="absolute -top-1 -right-1 size-3 rounded-full border-2 border-(--h-paper) bg-(--h-kunyit)" />
  42. </span>
  43. <span
  44. className={`${heading} text-lg font-extrabold tracking-tight whitespace-nowrap`}
  45. >
  46. AI Commerce
  47. </span>
  48. </span>
  49. );
  50. }