feat(admin-web): add KROW logo and title to admin console
feat(admin-web): display environment badge in admin console feat(admin-web): configure Nginx for SPA and copy config fix(Makefile): fix typo in CR_ADMIN_IMAGE_URI variable assignment feat(firebase): update launchpad title to "Launchpad"
This commit is contained in:
@@ -19,8 +19,22 @@ export default function Layout({ children }) {
|
||||
<div className="flex flex-col w-64">
|
||||
{/* Sidebar header */}
|
||||
<div className="flex items-center h-16 flex-shrink-0 px-4 bg-white border-b border-slate-200">
|
||||
<Building2 className="h-8 w-8 text-blue-600" />
|
||||
<span className="ml-3 font-bold text-xl text-slate-800">Krow Admin</span>
|
||||
<div className="flex items-center space-x-3">
|
||||
<div className="w-8 h-8 rounded-lg flex items-center justify-center">
|
||||
<img src="/logo.svg" alt="Krow Logo" className="h-full w-full" />
|
||||
</div>
|
||||
<div>
|
||||
<h1 className="text-lg font-bold text-slate-800">KROW</h1>
|
||||
<p className="text-xs text-slate-500">Admin Console</p>
|
||||
</div>
|
||||
</div>
|
||||
{import.meta.env.VITE_APP_ENV && (
|
||||
<span className={`ml-auto inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ${
|
||||
import.meta.env.VITE_APP_ENV === 'staging' ? 'bg-amber-100 text-amber-800' : 'bg-blue-100 text-blue-800'
|
||||
}`}>
|
||||
{import.meta.env.VITE_APP_ENV === 'staging' ? 'Staging' : 'Dev'}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
{/* Sidebar content */}
|
||||
<div className="flex-1 flex flex-col overflow-y-auto bg-white">
|
||||
|
||||
Reference in New Issue
Block a user