mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 00:55:37 +01:00
Refactored layout. Added NavBar component.
This commit is contained in:
parent
fad38dc180
commit
1d9c3133f0
56 changed files with 601 additions and 429 deletions
|
|
@ -8,10 +8,12 @@ import {
|
|||
TableColumn,
|
||||
Button,
|
||||
Icon,
|
||||
Icons,
|
||||
} from 'react-basics';
|
||||
import ExternalLink from 'assets/external-link.svg';
|
||||
import styles from './WebsitesTable.module.css';
|
||||
|
||||
const { ArrowRight, External } = Icons;
|
||||
|
||||
export default function WebsitesTable({ columns = [], rows = [] }) {
|
||||
return (
|
||||
<Table className={styles.table} columns={columns} rows={rows}>
|
||||
|
|
@ -33,7 +35,9 @@ export default function WebsitesTable({ columns = [], rows = [] }) {
|
|||
<Link href={`/settings/websites/${id}`}>
|
||||
<a>
|
||||
<Button>
|
||||
<Icon icon="arrow-right" />
|
||||
<Icon>
|
||||
<ArrowRight />
|
||||
</Icon>
|
||||
Settings
|
||||
</Button>
|
||||
</a>
|
||||
|
|
@ -42,7 +46,7 @@ export default function WebsitesTable({ columns = [], rows = [] }) {
|
|||
<a>
|
||||
<Button>
|
||||
<Icon>
|
||||
<ExternalLink />
|
||||
<External />
|
||||
</Icon>
|
||||
View
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue