AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

app-logo.tsx 690B

1234567891011121314151617181920
  1. import { usePage } from '@inertiajs/react';
  2. import AppLogoIcon from '@/components/app-logo-icon';
  3. export default function AppLogo() {
  4. const { name } = usePage().props;
  5. return (
  6. <>
  7. <div className="flex aspect-square size-8 items-center justify-center rounded-md bg-sidebar-primary text-sidebar-primary-foreground">
  8. <AppLogoIcon className="size-5 fill-current text-white dark:text-black" />
  9. </div>
  10. <div className="ml-1 grid flex-1 text-left text-sm">
  11. <span className="mb-0.5 truncate leading-tight font-semibold">
  12. {name}
  13. </span>
  14. </div>
  15. </>
  16. );
  17. }