| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import type { CSSProperties } from 'react';
-
- /*
- * 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:
- * pandan green, turmeric yellow and a little hibiscus red on a cool mint-white.
- */
- export const palette = {
- '--h-paper': '#F2F6F1',
- '--h-card': '#FFFFFF',
- '--h-ink': '#10241C',
- '--h-muted': '#4E6158',
- '--h-line': '#D6E1D8',
- '--h-pandan': '#1D6A4C',
- '--h-pandan-deep': '#0F3D2C',
- '--h-pandan-soft': '#DCEBE1',
- '--h-kunyit': '#F2B33D',
- '--h-kunyit-soft': '#FCEFCF',
- '--h-bunga': '#E3573F',
- } as CSSProperties;
-
- export const fontsUrl =
- 'https://fonts.bunny.net/css?family=plus-jakarta-sans:600,700,800|instrument-sans:400,500,600&display=swap';
-
- export const heading =
- "font-['Plus_Jakarta_Sans',ui-sans-serif,system-ui,sans-serif]";
-
- /** Our logo: a shopping bag with a turmeric dot, and the name. */
- export function Logo() {
- return (
- <span className="inline-flex items-center gap-2">
- <span className="relative grid size-8 place-items-center rounded-lg bg-(--h-pandan) text-white">
- <svg
- viewBox="0 0 24 24"
- className="size-5"
- fill="none"
- stroke="currentColor"
- strokeWidth="2"
- strokeLinecap="round"
- strokeLinejoin="round"
- aria-hidden="true"
- >
- <path d="M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z" />
- <path d="M9 8V6.5a3 3 0 0 1 6 0V8" />
- </svg>
- <span className="absolute -top-1 -right-1 size-3 rounded-full border-2 border-(--h-paper) bg-(--h-kunyit)" />
- </span>
- <span
- className={`${heading} text-lg font-extrabold tracking-tight whitespace-nowrap`}
- >
- AI Commerce
- </span>
- </span>
- );
- }
|