Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
4rthem committed Dec 14, 2023
1 parent fd6c182 commit 16ccf33
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
15 changes: 10 additions & 5 deletions dashboard/client/src/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ import ClientApp from './ClientApp.tsx';
import config from './config.ts';
import ApiIcon from "@mui/icons-material/Api";
import SellIcon from '@mui/icons-material/Sell';
import keycloakImg from './images/keycloak.png'
import databoxImg from './images/databox.png'
import uploaderImg from './images/uploader.png'
import exposeImg from './images/expose.png'
import notifyImg from './images/notify.png'

type Props = {};

Expand Down Expand Up @@ -63,15 +68,15 @@ export default function Root({}: Props) {
mainUrl={KEYCLOAK_URL}
title={`Identity Manager`}
description={`Keycloak IAM`}
logo={'/src/images/keycloak.png'}
logo={keycloakImg}
/>
{DATABOX_API_URL && (
<ClientApp
apiUrl={DATABOX_API_URL}
clientUrl={DATABOX_CLIENT_URL}
title={`Databox`}
description={`Your DAM`}
logo={'/src/images/databox.png'}
logo={databoxImg}
/>
)}
{EXPOSE_API_URL && (
Expand All @@ -80,7 +85,7 @@ export default function Root({}: Props) {
clientUrl={EXPOSE_CLIENT_URL}
title={`Expose`}
description={`Share Publications`}
logo={'/src/images/expose.png'}
logo={exposeImg}
/>
)}
{UPLOADER_API_URL && (
Expand All @@ -89,15 +94,15 @@ export default function Root({}: Props) {
clientUrl={UPLOADER_CLIENT_URL}
title={`Uploader`}
description={`Standalone Asset deposit`}
logo={'/src/images/uploader.png'}
logo={uploaderImg}
/>
)}
{NOTIFY_API_URL && (
<Service
mainUrl={`${NOTIFY_API_URL}/admin`}
title={`Notify Admin`}
description={`Mail Sender`}
logo={'/src/images/notify.png'}
logo={notifyImg}
links={[
{
icon: <ApiIcon />,
Expand Down
4 changes: 4 additions & 0 deletions dashboard/client/src/declaration.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.png' {
const pngPath: string;
export default pngPath;
}

0 comments on commit 16ccf33

Please sign in to comment.