Add logo to branding header in EditorLayout component

This commit is contained in:
SaelixCode
2026-02-27 14:29:09 -05:00
parent d5a9bde408
commit 07f4d18a22
6 changed files with 30 additions and 26 deletions
+26 -23
View File
@@ -1,25 +1,28 @@
<!doctype html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/sencho-logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sencho</title>
<script>
(function() {
try {
var saved = localStorage.getItem('sencho-theme');
if (saved === 'light') {
document.documentElement.classList.remove('dark');
} else {
document.documentElement.classList.add('dark');
}
} catch (e) {}
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/sencho-logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sencho</title>
<script>
(function () {
try {
var saved = localStorage.getItem('sencho-theme');
if (saved === 'light') {
document.documentElement.classList.remove('dark');
} else {
document.documentElement.classList.add('dark');
}
} catch (e) { }
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 195 KiB

+4 -1
View File
@@ -558,7 +558,10 @@ export default function EditorLayout() {
<div className="w-64 border-r border-border bg-card flex flex-col">
{/* Branding Header */}
<div className="h-16 flex items-center justify-between px-4 border-b border-border">
<h1 className="text-2xl font-bold tracking-tight">Sencho</h1>
<div className="flex items-center gap-2">
<img src="/sencho-logo.png" alt="Sencho Logo" className="w-12 h-12" />
<h1 className="text-2xl font-bold tracking-tight">Sencho</h1>
</div>
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>