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",
|
"/index.html",
|
||||||
"/config.js",
|
"/config.js",
|
||||||
"/favicon-*.png",
|
"/favicon-*.png",
|
||||||
"/cameleer3-logo-*.png",
|
|
||||||
"/assets/**"
|
"/assets/**"
|
||||||
).permitAll()
|
).permitAll()
|
||||||
|
|
||||||
|
|||||||
8
ui/package-lock.json
generated
8
ui/package-lock.json
generated
@@ -8,7 +8,7 @@
|
|||||||
"name": "ui",
|
"name": "ui",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cameleer/design-system": "^0.1.33",
|
"@cameleer/design-system": "^0.1.34",
|
||||||
"@tanstack/react-query": "^5.90.21",
|
"@tanstack/react-query": "^5.90.21",
|
||||||
"lucide-react": "^1.7.0",
|
"lucide-react": "^1.7.0",
|
||||||
"openapi-fetch": "^0.17.0",
|
"openapi-fetch": "^0.17.0",
|
||||||
@@ -278,9 +278,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@cameleer/design-system": {
|
"node_modules/@cameleer/design-system": {
|
||||||
"version": "0.1.33",
|
"version": "0.1.34",
|
||||||
"resolved": "https://gitea.siegeln.net/api/packages/cameleer/npm/%40cameleer%2Fdesign-system/-/0.1.33/design-system-0.1.33.tgz",
|
"resolved": "https://gitea.siegeln.net/api/packages/cameleer/npm/%40cameleer%2Fdesign-system/-/0.1.34/design-system-0.1.34.tgz",
|
||||||
"integrity": "sha512-6UdBMtOKnTnVYOTb7gy4EL77prXPYaRf06TCud+l2j+HyDGLYHUJFS1BPqkiQZGxnULtFxLWLJfoJ9qjJV8ZuA==",
|
"integrity": "sha512-z2B4VF4v0hwRil6G9N31qadk1rN5PQQC4I5A5DO9gZKnyPZ18+KlgNB5zSyYKvl1MV++id9xdSMg2hDGy3Aybg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lucide-react": "^1.7.0",
|
"lucide-react": "^1.7.0",
|
||||||
"react": "^19.0.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"
|
"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": {
|
"dependencies": {
|
||||||
"@cameleer/design-system": "^0.1.33",
|
"@cameleer/design-system": "^0.1.34",
|
||||||
"@tanstack/react-query": "^5.90.21",
|
"@tanstack/react-query": "^5.90.21",
|
||||||
"lucide-react": "^1.7.0",
|
"lucide-react": "^1.7.0",
|
||||||
"openapi-fetch": "^0.17.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 { api } from '../api/client';
|
||||||
import { config } from '../config';
|
import { config } from '../config';
|
||||||
import { Card, Input, Button, Alert, FormField } from '@cameleer/design-system';
|
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';
|
import styles from './LoginPage.module.css';
|
||||||
|
|
||||||
interface OidcInfo {
|
interface OidcInfo {
|
||||||
@@ -131,7 +132,7 @@ export function LoginPage() {
|
|||||||
<Card className={styles.card}>
|
<Card className={styles.card}>
|
||||||
<div className={styles.loginForm}>
|
<div className={styles.loginForm}>
|
||||||
<div className={styles.logo}>
|
<div className={styles.logo}>
|
||||||
<img src={`${config.basePath}cameleer3-logo-192.png`} alt="" className={styles.logoImg} />
|
<img src={brandLogo} alt="" className={styles.logoImg} />
|
||||||
cameleer3
|
cameleer3
|
||||||
</div>
|
</div>
|
||||||
<p className={styles.subtitle}>{subtitle}</p>
|
<p className={styles.subtitle}>{subtitle}</p>
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import {
|
|||||||
useStarred,
|
useStarred,
|
||||||
} from '@cameleer/design-system';
|
} from '@cameleer/design-system';
|
||||||
import type { SearchResult, SidebarTreeNode } 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 { Box, Settings, FileText, ChevronRight, Square, Pause, Star, X } from 'lucide-react';
|
||||||
import { useQueryClient } from '@tanstack/react-query';
|
import { useQueryClient } from '@tanstack/react-query';
|
||||||
import { useRouteCatalog } from '../api/queries/catalog';
|
import { useRouteCatalog } from '../api/queries/catalog';
|
||||||
@@ -625,7 +626,7 @@ function LayoutContent() {
|
|||||||
|
|
||||||
// --- Render -------------------------------------------------------
|
// --- Render -------------------------------------------------------
|
||||||
const camelLogo = (
|
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 = (
|
const sidebarElement = (
|
||||||
|
|||||||
Reference in New Issue
Block a user