refactor: import brand assets directly from DS v0.1.34
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m16s
CI / docker (push) Successful in 1m30s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 36s

DS now exports ./assets/* — import PNGs directly via Vite instead of
copying to public/. Removes duplicated brand files from public/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-06 22:47:31 +02:00
parent 45cccdbd8a
commit a5340059d7
7 changed files with 9 additions and 8 deletions

View File

@@ -95,7 +95,6 @@ public class SecurityConfig {
"/index.html",
"/config.js",
"/favicon-*.png",
"/cameleer3-logo-*.png",
"/assets/**"
).permitAll()

8
ui/package-lock.json generated
View File

@@ -8,7 +8,7 @@
"name": "ui",
"version": "0.0.0",
"dependencies": {
"@cameleer/design-system": "^0.1.33",
"@cameleer/design-system": "^0.1.34",
"@tanstack/react-query": "^5.90.21",
"lucide-react": "^1.7.0",
"openapi-fetch": "^0.17.0",
@@ -278,9 +278,9 @@
}
},
"node_modules/@cameleer/design-system": {
"version": "0.1.33",
"resolved": "https://gitea.siegeln.net/api/packages/cameleer/npm/%40cameleer%2Fdesign-system/-/0.1.33/design-system-0.1.33.tgz",
"integrity": "sha512-6UdBMtOKnTnVYOTb7gy4EL77prXPYaRf06TCud+l2j+HyDGLYHUJFS1BPqkiQZGxnULtFxLWLJfoJ9qjJV8ZuA==",
"version": "0.1.34",
"resolved": "https://gitea.siegeln.net/api/packages/cameleer/npm/%40cameleer%2Fdesign-system/-/0.1.34/design-system-0.1.34.tgz",
"integrity": "sha512-z2B4VF4v0hwRil6G9N31qadk1rN5PQQC4I5A5DO9gZKnyPZ18+KlgNB5zSyYKvl1MV++id9xdSMg2hDGy3Aybg==",
"dependencies": {
"lucide-react": "^1.7.0",
"react": "^19.0.0",

View File

@@ -14,7 +14,7 @@
"generate-api:live": "curl -s http://localhost:8081/api/v1/api-docs -o src/api/openapi.json && openapi-typescript src/api/openapi.json -o src/api/schema.d.ts"
},
"dependencies": {
"@cameleer/design-system": "^0.1.33",
"@cameleer/design-system": "^0.1.34",
"@tanstack/react-query": "^5.90.21",
"lucide-react": "^1.7.0",
"openapi-fetch": "^0.17.0",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

View File

@@ -4,6 +4,7 @@ import { useAuthStore } from './auth-store';
import { api } from '../api/client';
import { config } from '../config';
import { Card, Input, Button, Alert, FormField } from '@cameleer/design-system';
import brandLogo from '@cameleer/design-system/assets/cameleer3-192.png';
import styles from './LoginPage.module.css';
interface OidcInfo {
@@ -131,7 +132,7 @@ export function LoginPage() {
<Card className={styles.card}>
<div className={styles.loginForm}>
<div className={styles.logo}>
<img src={`${config.basePath}cameleer3-logo-192.png`} alt="" className={styles.logoImg} />
<img src={brandLogo} alt="" className={styles.logoImg} />
cameleer3
</div>
<p className={styles.subtitle}>{subtitle}</p>

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 = (