Skip to content

Commit

Permalink
refactor: update page description (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 authored Mar 21, 2024
1 parent f6c28e3 commit dade22c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "helix-ui",
"description": "Helix UI",
"description": "Helix Bridge UI",
"private": true,
"scripts": {
"dev": "next dev -p 3030",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Helix Bridge",
"description": "Helix Bridge Apps",
"description": "Secure, fast, and low-cost cross-chain crypto transfers.",
"icons": [{ "src": "favicon.svg", "sizes": "any" }]
}
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const ibm_plex_sans = IBM_Plex_Sans({

export const metadata: Metadata = {
title: "Helix Bridge",
description: "Helix Bridge Apps",
description: "Secure, fast, and low-cost cross-chain crypto transfers.",
manifest: "/manifest.json",
};

Expand Down
4 changes: 2 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ 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",
title: "Transfer - Helix Bridge",
description: "Secure, fast, and low-cost cross-chain crypto transfers.",
};

const TransferV2 = dynamic(() => import("@/components/transfer-v2"), { ssr: false });
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
6 changes: 6 additions & 0 deletions src/app/relayer/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ import RelayerProviderV3 from "@/providers/relayer-provider-v3";
import PageWrap from "@/ui/page-wrap";
import SegmentedTabs from "@/ui/segmented-tabs";
import VersionSwitch from "@/ui/version-switch";
import { Metadata } from "next";
import { useState } from "react";

type TabKey = "manage" | "register" | "overview";

export const metadata: Metadata = {
title: "Relayer - Helix Bridge",
description: "Secure, fast, and low-cost cross-chain crypto transfers.",
};

export default function RelayerPage() {
const [activeTab, setActiveTab] = useState<TabKey>("manage");
const [version, setVersion] = useState<"v2" | "v3">("v3");
Expand Down

0 comments on commit dade22c

Please sign in to comment.