dstpabuaran.com/resources/js/components/brand/app-logo.tsx
Yoga Pangestu 166419134f Refactor component imports for consistency and organization
- Updated import paths for various components to align with new directory structure.
- Changed imports from 'row-actions', 'confirm-dialog', 'image-preview-button', and 'file-upload' to their respective new locations in 'data-display', 'dialogs', and 'inputs'.
- Adjusted imports in multiple pages including purchase, restock, transaction, category, customer, product, raw-material, supplier, roles, and settings.
- Ensured all relevant components are imported from their new locations to maintain functionality.
2026-08-07 13:48:46 +07:00

21 lines
599 B
TypeScript

import { usePage } from '@inertiajs/react';
import { AppLogoIcon } from '@/components/brand';
export default function AppLogo() {
const { name } = usePage().props;
return (
<>
<div className="flex aspect-square size-8 items-center justify-center">
<AppLogoIcon className="size-8 object-contain" />
</div>
<div className="ml-1 grid flex-1 text-left text-sm">
<span className="mb-0.5 truncate leading-tight font-semibold">
{name}
</span>
</div>
</>
);
}