Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
refactor: update page metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Mar 28, 2024
1 parent 22b1d86 commit 4086ad0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const ibm_plex_sans = IBM_Plex_Sans({
});

export const metadata: Metadata = {
title: "Helix Bridge",
description: "Helix Bridge App",
title: "Helix xToken - Helix Bridge",
description: "Helix Bridge for xToken cross-chain.",
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
Expand Down
6 changes: 0 additions & 6 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import PageWrap from "@/ui/page-wrap";
import { Metadata } from "next";
import dynamic from "next/dynamic";

export const metadata: Metadata = {
title: "Helix Bridge - Cross-chain for tokens",
description: "Perform cross-chain transfers through Helix Bridge",
};

const Transfer = dynamic(() => import("@/components/transfer"), { ssr: false });

export default function HomePage() {
Expand Down
6 changes: 0 additions & 6 deletions src/app/records/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import RecordDetail from "@/components/record-detail";
import PageWrap from "@/ui/page-wrap";
import { Metadata } from "next";

export const metadata: Metadata = {
title: "Detail - Helix Bridge",
description: "View Helix Bridge transfer details",
};

interface Props {
params: {
Expand Down
6 changes: 0 additions & 6 deletions src/app/records/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import PageWrap from "@/ui/page-wrap";
import { Metadata } from "next";
import dynamic from "next/dynamic";

export const metadata: Metadata = {
title: "History Records - Helix Bridge",
description: "View the history of transfers via the Helix Bridge",
};

const HistoryRecords = dynamic(() => import("@/components/history-records"));

export default function RecordsPage() {
Expand Down

0 comments on commit 4086ad0

Please sign in to comment.