mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Update website details layout.
This commit is contained in:
parent
0a6ecfe3d2
commit
e8e90a5451
12 changed files with 128 additions and 133 deletions
|
|
@ -1,8 +1,6 @@
|
|||
import { Row, Column } from 'react-basics';
|
||||
import Favicon from 'components/common/Favicon';
|
||||
import OverflowText from 'components/common/OverflowText';
|
||||
import RefreshButton from 'components/common/RefreshButton';
|
||||
import ButtonLayout from 'components/layout/ButtonLayout';
|
||||
import PageHeader from 'components/layout/PageHeader';
|
||||
import ActiveUsers from './ActiveUsers';
|
||||
import styles from './WebsiteHeader.module.css';
|
||||
|
|
@ -11,18 +9,13 @@ export default function WebsiteHeader({ websiteId, title, domain }) {
|
|||
return (
|
||||
<PageHeader>
|
||||
<Row>
|
||||
<Column className={styles.title} xs={12} sm={12} md={4} lg={4}>
|
||||
<Column className={styles.title} variant="two">
|
||||
<Favicon domain={domain} />
|
||||
<OverflowText tooltipId={`${websiteId}-title`}>{title}</OverflowText>
|
||||
</Column>
|
||||
<Column className={styles.active} xs={12} sm={12} md={4} lg={4}>
|
||||
<Column className={styles.active} variant="two">
|
||||
<ActiveUsers websiteId={websiteId} />
|
||||
</Column>
|
||||
<Column xs={12} sm={12} md={4} lg={4}>
|
||||
<ButtonLayout align="right">
|
||||
<RefreshButton websiteId={websiteId} />
|
||||
</ButtonLayout>
|
||||
</Column>
|
||||
</Row>
|
||||
</PageHeader>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue