We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b3778 commit 6a2f7f6Copy full SHA for 6a2f7f6
resources/js/components/app-logo.tsx
@@ -1,13 +1,15 @@
1
import AppLogoIcon from './app-logo-icon';
2
3
+const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
4
+
5
export default function AppLogo() {
6
return (
7
<>
8
<div className="flex aspect-square size-8 items-center justify-center rounded-md bg-sidebar-primary text-sidebar-primary-foreground">
9
<AppLogoIcon className="size-5 fill-current text-white dark:text-black" />
10
</div>
11
<div className="ml-1 grid flex-1 text-left text-sm">
- <span className="mb-0.5 truncate leading-tight font-semibold">Laravel Starter Kit</span>
12
+ <span className="mb-0.5 truncate leading-tight font-semibold">{appName}</span>
13
14
</>
15
);
0 commit comments