diff --git a/components/common/EmptyPlaceholder.js b/components/common/EmptyPlaceholder.js index b5394e85..03fdacc1 100644 --- a/components/common/EmptyPlaceholder.js +++ b/components/common/EmptyPlaceholder.js @@ -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 (
- } size="xlarge" /> + + } + size="xlarge" + />

{msg}

{children}
diff --git a/components/common/Icon.module.css b/components/common/Icon.module.css index 5b431668..50d215fc 100644 --- a/components/common/Icon.module.css +++ b/components/common/Icon.module.css @@ -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; diff --git a/components/forms/LoginForm.js b/components/forms/LoginForm.js index 8c8aa09e..4638a667 100644 --- a/components/forms/LoginForm.js +++ b/components/forms/LoginForm.js @@ -14,7 +14,6 @@ import Icon from 'components/common/Icon'; import useApi from 'hooks/useApi'; import { AUTH_TOKEN } from 'lib/constants'; import { setUser } from 'store/app'; -import Logo from 'assets/logo.svg'; import styles from './LoginForm.module.css'; const validate = ({ username, password }) => { @@ -76,8 +75,18 @@ export default function LoginForm() { {() => (
- } size="xlarge" className={styles.icon} /> -

umami

+ + } + size="xlarge" + className={styles.icon} + /> +

Headless Analytics