Files
wails/website/src/components/brand.mdx
2021-09-27 19:35:30 +10:00

11 lines
305 B
Plaintext

import ThemedImage from '@theme/ThemedImage';
export const Brand = ({children,brand}) => (
<ThemedImage
alt="{{brand}} logo"
sources={{
light: useBaseUrl('/img/icon-' + brand + '.svg'),
dark: useBaseUrl('/img/icon-' + brand + '-dark.svg'),
}}
/>
);