-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
55 lines (50 loc) · 1.5 KB
/
layout.tsx
File metadata and controls
55 lines (50 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { Banner, Head } from 'nextra/components';
import { getPageMap } from 'nextra/page-map';
import { Footer, Layout, Navbar } from 'nextra-theme-docs';
import 'nextra-theme-docs/style.css';
export const metadata = {
title: 'eventkit - Event Ingestion and Processing Kit for Python',
description:
'A production-ready kit for building event collection pipelines with flexible ingestion, stream-based routing, and pluggable storage',
};
const banner = (
<Banner storageKey="eventkit-banner" dismissible>
eventkit is in active development. APIs may change.
</Banner>
);
const navbar = (
<Navbar
logo={<strong>eventkit</strong>}
projectLink="https://github.com/prosdevlab/eventkit"
chatLink="https://github.com/prosdevlab/eventkit/discussions"
/>
);
const footer = (
<Footer>
MIT {new Date().getFullYear()} ©{' '}
<a href="https://github.com/prosdevlab" target="_blank" rel="noreferrer">
ProsDevLab
</a>
.
</Footer>
);
export default async function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" dir="ltr" suppressHydrationWarning>
<Head>
<link rel="icon" href="/favicon.ico" />
</Head>
<body>
<Layout
banner={banner}
navbar={navbar}
pageMap={await getPageMap()}
docsRepositoryBase="https://github.com/prosdevlab/eventkit/tree/main/docs/content"
footer={footer}
>
{children}
</Layout>
</body>
</html>
);
}