Skip to content

Commit 298c2e5

Browse files
committed
Timestamp removal & Search ph update
1 parent 4974716 commit 298c2e5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

web/src/app/_meta.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const meta = {
77
breadcrumb: false,
88
pagination: false,
99
sidebar: true,
10+
timestamp: false,
1011
},
1112
display: "hidden",
1213
},

web/src/app/layout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import "nextra-theme-docs/style.css";
22

3+
import { Head, Search } from "nextra/components";
34
import { Layout, Navbar } from "nextra-theme-docs";
45

5-
import { Head } from "nextra/components";
66
import { Metadata } from "next";
77
import { ReactNode } from "react";
88
import { getPageMap } from "nextra/page-map";
@@ -72,6 +72,8 @@ export default async function RootLayout({
7272
navbar={navbar}
7373
pageMap={await getPageMap()}
7474
docsRepositoryBase="https://github.com/sadanandpai/javascript-code-challenges/tree/main/web"
75+
search={<Search placeholder="Search" />}
76+
feedback={{ content: null }}
7577
>
7678
{children}
7779
</Layout>

0 commit comments

Comments
 (0)