mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Convert buttons to links.
This commit is contained in:
parent
4fded49b03
commit
35b921bdb4
21 changed files with 108 additions and 79 deletions
|
|
@ -4,7 +4,6 @@ import Link from 'components/common/Link';
|
|||
import PageHeader from 'components/layout/PageHeader';
|
||||
import RefreshButton from 'components/common/RefreshButton';
|
||||
import ButtonLayout from 'components/layout/ButtonLayout';
|
||||
import Icon from 'components/common/Icon';
|
||||
import ActiveUsers from './ActiveUsers';
|
||||
import Arrow from 'assets/arrow-right.svg';
|
||||
import styles from './WebsiteHeader.module.css';
|
||||
|
|
@ -21,9 +20,11 @@ export default function WebsiteHeader({ websiteId, token, title, showLink = fals
|
|||
href="/website/[...id]"
|
||||
as={`/website/${websiteId}/${title}`}
|
||||
className={styles.link}
|
||||
icon={<Arrow />}
|
||||
size="small"
|
||||
iconRight
|
||||
>
|
||||
<FormattedMessage id="button.view-details" defaultMessage="View details" />
|
||||
<Icon icon={<Arrow />} size="small" />
|
||||
</Link>
|
||||
)}
|
||||
</ButtonLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue