-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Copy pathlayout.tsx
36 lines (31 loc) · 1.1 KB
/
layout.tsx
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
import './globals.css';
import 'prism-sentry/index.css';
import {ReactNode} from 'react';
import {Theme} from '@radix-ui/themes';
import type {Metadata} from 'next';
import {Rubik} from 'next/font/google';
import NextTopLoader from 'nextjs-toploader';
import {Navbar} from 'sentry-docs/components/changelog/navbar';
const rubik = Rubik({
weight: ['400', '500', '700'],
style: ['normal', 'italic'],
subsets: ['latin'],
variable: '--font-rubik',
});
export const metadata: Metadata = {
title: {template: '%s | Sentry Changelog', default: 'Changelog'},
};
export default function ChangelogLayout({children}: {children: ReactNode}) {
return (
<Theme accentColor="violet" grayColor="sand" radius="large" scaling="95%">
<NextTopLoader color="#8d5494" />
<div id="changelogcontent" className={`${rubik.variable}`}>
<Navbar />
<div className="bg-gray-100">{children}</div>
<div className="w-full mx-auto h-16 relative bg-darkPurple">
<div className="footer-top-right-down-slope absolute w-full -top-1 h-10 bg-gray-200" />
</div>
</div>
</Theme>
);
}