From 4c1dfb366db0227d2d042dec44426b2044a19a9f Mon Sep 17 00:00:00 2001 From: Fred Date: Tue, 16 Apr 2024 04:14:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20working=20on=20blobstream?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../[network]/blobstream/page.tsx | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 apps/web/app/(blobstream)/[network]/blobstream/page.tsx diff --git a/apps/web/app/(blobstream)/[network]/blobstream/page.tsx b/apps/web/app/(blobstream)/[network]/blobstream/page.tsx new file mode 100644 index 00000000..6cb0b49c --- /dev/null +++ b/apps/web/app/(blobstream)/[network]/blobstream/page.tsx @@ -0,0 +1,82 @@ +import type { Metadata } from "next"; +import { capitalize } from "~/lib/shared-utils"; +import { Button } from "~/ui/button"; + +export type BlobStreamPageProps = { + params: { + network: string; + }; +}; + +export function generateMetadata(props: BlobStreamPageProps) { + const names = props.params.network.split("-"); + const formattedName = names.map(capitalize).join(" "); + return { + title: `${formattedName} Blobstream`, + }; +} + +export default function BlobStreamPage({ params }: BlobStreamPageProps) { + return ( +
+
+
+

Blobstream

+

Select to see blob streams:

+
+ +
+
+
+
+
+
Latest Block on Celestia
  + +   +
1300
+
+
+
Latest Synched Block
  + +   +
1000
+
+
+
+
+ + + + + + + + +
TransferFileTime
+ + + +
+
Contract Address
+
+
+
+
+ ); +} + +export const runtime = "edge";