mirror of
https://github.com/umami-software/umami.git
synced 2026-02-22 05:25:36 +01:00
Weekly session data.
This commit is contained in:
parent
fc1fc5807e
commit
53d8548909
13 changed files with 331 additions and 5 deletions
|
|
@ -8,6 +8,7 @@ import { GridRow } from 'components/layout/Grid';
|
|||
import { Item, Tabs } from 'react-basics';
|
||||
import { useState } from 'react';
|
||||
import { useMessages } from 'components/hooks';
|
||||
import SessionsWeekly from './SessionsWeekly';
|
||||
|
||||
export function SessionsPage({ websiteId }) {
|
||||
const [tab, setTab] = useState('activity');
|
||||
|
|
@ -17,8 +18,9 @@ export function SessionsPage({ websiteId }) {
|
|||
<>
|
||||
<WebsiteHeader websiteId={websiteId} />
|
||||
<SessionsMetricsBar websiteId={websiteId} />
|
||||
<GridRow columns="one">
|
||||
<WorldMap websiteId={websiteId} style={{ width: 800, margin: '0 auto' }} />
|
||||
<GridRow columns="two-one">
|
||||
<WorldMap websiteId={websiteId} />
|
||||
<SessionsWeekly websiteId={websiteId} />
|
||||
</GridRow>
|
||||
<Tabs selectedKey={tab} onSelect={(value: any) => setTab(value)} style={{ marginBottom: 30 }}>
|
||||
<Item key="activity">{formatMessage(labels.activity)}</Item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue