aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/app/dashboard/bookmarks/layout.tsx
blob: 71ee143bab27052190f9afe8f78942d7f2dccdba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from "react";
import TopNav from "@/components/dashboard/bookmarks/TopNav";
import type { Metadata } from "next";

export const metadata: Metadata = {
  title: "Hoarder - Bookmarks",
};

export default function BookmarksLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <div className="flex h-full flex-col">
      <div>
        <TopNav />
      </div>
      <hr />
      <div className="my-4 flex-1 pb-4">{children}</div>
    </div>
  );
}