Skip to content

Commit

Permalink
feat(explorer): add title metadata to pages (#3264)
Browse files Browse the repository at this point in the history
  • Loading branch information
karooolis authored Oct 7, 2024
1 parent 9e53a51 commit 7c0ae07
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { Metadata } from "next";
import { Explorer } from "./Explorer";

export const metadata: Metadata = {
title: "Explore",
};

export default function ExplorePage() {
return <Explorer />;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { Metadata } from "next";
import { Form } from "./Form";

export const metadata: Metadata = {
title: "Interact",
};

export default async function InteractPage() {
return <Form />;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import type { Metadata } from "next";
import { TransactionsTable } from "./TransactionsTable";

export const metadata: Metadata = {
title: "Observe",
};

export default function ObservePage() {
return <TransactionsTable />;
}
4 changes: 2 additions & 2 deletions packages/explorer/src/app/(explorer)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const jetbrains = JetBrains_Mono({
});

export const metadata: Metadata = {
title: "World Explorer",
description: "World Explorer is a tool for visually exploring and manipulating the state of worlds",
title: "Worlds Explorer",
description: "Worlds Explorer is a tool for visually exploring and manipulating the state of worlds",
};

export default function RootLayout({
Expand Down

0 comments on commit 7c0ae07

Please sign in to comment.