Replace more umami branding

This commit is contained in:
Ole Martin Knurvik 2022-12-01 14:34:09 +01:00
parent a8f8d4088d
commit 1dd4ada767
5 changed files with 33 additions and 9 deletions

View file

@ -1,13 +1,22 @@
import React from 'react';
import PropTypes from 'prop-types';
import Icon from 'components/common/Icon';
import Logo from 'assets/logo.svg';
import styles from './EmptyPlaceholder.module.css';
function EmptyPlaceholder({ msg, children }) {
return (
<div className={styles.placeholder}>
<Icon className={styles.icon} icon={<Logo />} size="xlarge" />
<Icon
className={styles.icon}
icon={
<img
src="https://uploads-ssl.webflow.com/5ea18b09bf3bfd55814199f9/5ea18b09bf3bfda137419a00_petri_square_03.gif"
className={styles.logo}
alt="Logo"
/>
}
size="xlarge"
/>
<h2 className={styles.msg}>{msg}</h2>
{children}
</div>

View file

@ -9,26 +9,31 @@
fill: currentColor;
}
.xlarge > img,
.xlarge > svg {
width: 48px;
height: 48px;
}
.large > img,
.large > svg {
width: 24px;
height: 24px;
}
.medium > img,
.medium > svg {
width: 16px;
height: 16px;
}
.small > img,
.small > svg {
width: 12px;
height: 12px;
}
.xsmall > img,
.xsmall > svg {
width: 10px;
height: 10px;