refactor: import brand icons directly from design system
Some checks failed
CI / build (push) Failing after 36s
CI / cleanup-branch (push) Has been skipped
CI / docker (push) Has been skipped
CI / deploy (push) Has been skipped
CI / deploy-feature (push) Has been skipped

Import PNGs via Vite from @cameleer/design-system/assets instead of
copying to public/. Only favicons remain in public/ (needed by HTML).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-06 22:20:07 +02:00
parent f372d0d63c
commit 1386e80670
6 changed files with 4 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ import {
useStarred,
} from '@cameleer/design-system';
import type { SearchResult, SidebarTreeNode } from '@cameleer/design-system';
import sidebarLogo from '@cameleer/design-system/assets/cameleer3-48.png';
import { Box, Settings, FileText, ChevronRight, Square, Pause, Star, X } from 'lucide-react';
import { useQueryClient } from '@tanstack/react-query';
import { useRouteCatalog } from '../api/queries/catalog';
@@ -625,7 +626,7 @@ function LayoutContent() {
// --- Render -------------------------------------------------------
const camelLogo = (
<img src={`${config.basePath}cameleer3-logo-48.png`} alt="" style={{ width: 28, height: 28 }} />
<img src={sidebarLogo} alt="" style={{ width: 28, height: 28 }} />
);
const sidebarElement = (