refactor: import brand assets directly from DS v0.1.34
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:
@@ -95,7 +95,6 @@ public class SecurityConfig {
|
||||
"/index.html",
|
||||
"/config.js",
|
||||
"/favicon-*.png",
|
||||
"/cameleer3-logo-*.png",
|
||||
"/assets/**"
|
||||
).permitAll()
|
||||
|
||||
|
||||
8
ui/package-lock.json
generated
8
ui/package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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 |
@@ -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>
|
||||
|
||||
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user