Skip to content

Commit

Permalink
fix logo in header
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdanielamoitzi committed Feb 22, 2024
1 parent fa7bdc4 commit ba11346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/header/DatavisynLogo.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import * as React from 'react';
import { Anchor, rem } from '@mantine/core';
import { Anchor } from '@mantine/core';
import datavisynLogoWhite from '../../assets/datavisyn_white.svg';
import datavisynLogoBlack from '../../assets/datavisyn_black.svg';
import datavisynLogoColor from '../../assets/datavisyn_color.svg';

export function DatavisynLogo({ color }: { color: 'white' | 'black' | 'color' }) {
const source = color === 'white' ? datavisynLogoWhite : color === 'black' ? datavisynLogoBlack : datavisynLogoColor;
return (
<Anchor h={rem(23)} href="https://datavisyn.io/" target="_blank">
<Anchor display="flex" href="https://datavisyn.io/" target="_blank">
<img src={source} alt="logo" style={{ height: '24px' }} />
</Anchor>
);
Expand Down

0 comments on commit ba11346

Please sign in to comment.