| 1 | import type { Metadata } from "next"; |
| 2 | import { RingNav } from "./ring-nav"; |
| 3 | |
| 4 | export const metadata: Metadata = { |
| 5 | title: "Ring", |
| 6 | description: "Log aggregation and viewing for Grove", |
| 7 | icons: { |
| 8 | icon: "/ring-favicon.svg", |
| 9 | }, |
| 10 | }; |
| 11 | |
| 12 | export default function RingLayout({ |
| 13 | children, |
| 14 | }: { |
| 15 | children: React.ReactNode; |
| 16 | }) { |
| 17 | return ( |
| 18 | <div style={{ height: "100vh", overflow: "hidden", display: "flex", flexDirection: "column" }}> |
| 19 | <RingNav /> |
| 20 | <div style={{ flex: 1, minHeight: 0, overflow: "auto" }}> |
| 21 | {children} |
| 22 | </div> |
| 23 | </div> |
| 24 | ); |
| 25 | } |
| 26 | |