Skip to content

Commit

Permalink
feat: use app router title
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor committed Mar 6, 2024
1 parent 910d9b2 commit eb8f304
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import type { Metadata } from "next";

import StakingPage from "@/features/staking/components/main-page";

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

export default function Page() {
return <StakingPage />;
}
5 changes: 5 additions & 0 deletions src/app/validator/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import type { Metadata } from "next";
import { Suspense } from "react";

import ValidatorPage from "@/features/staking/components/validator-page";

export const metadata: Metadata = {
title: "XION Validator Details",
};

export default function Page() {
return (
<Suspense>
Expand Down
4 changes: 0 additions & 4 deletions src/features/core/components/base-wrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client";

import { Abstraxion, useModal } from "@burnt-labs/abstraxion";
import Head from "next/head";
import Link from "next/link";

import { basePath } from "@/features/staking/lib/core/constants";
Expand All @@ -17,9 +16,6 @@ export default function RootLayout({

return (
<main className="flex min-h-screen flex-col items-center">
<Head>
<title>XION Staking</title>
</Head>
<nav
className="flex w-full flex-row"
style={{ borderBottom: "1px solid #333" }}
Expand Down

0 comments on commit eb8f304

Please sign in to comment.