mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
More updates to realtime.
This commit is contained in:
parent
28921a7cd5
commit
93b77672f3
28 changed files with 218 additions and 263 deletions
18
pages/realtime/[id]/index.js
Normal file
18
pages/realtime/[id]/index.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { useRouter } from 'next/router';
|
||||
import AppLayout from 'components/layout/AppLayout';
|
||||
import RealtimeDashboard from 'components/pages/realtime/RealtimeDashboard';
|
||||
|
||||
export default function RealtimeDetailsPage() {
|
||||
const router = useRouter();
|
||||
const { id: websiteId } = router.query;
|
||||
|
||||
if (!websiteId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<AppLayout>
|
||||
<RealtimeDashboard websiteId={websiteId} />
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
10
pages/realtime/index.js
Normal file
10
pages/realtime/index.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import RealtimeHome from 'components/pages/realtime/RealtimeHome';
|
||||
|
||||
export default function RealtimePage() {
|
||||
return (
|
||||
<AppLayout>
|
||||
<RealtimeHome />
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue