Skip to content

Commit 4720ef3

Browse files
committed
feat(insights): add publisher details page
1 parent 8b3fd2c commit 4720ef3

File tree

80 files changed

+3224
-601
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3224
-601
lines changed

apps/insights/src/app/price-feeds/[slug]/price-components/[componentId]/page.tsx

Lines changed: 0 additions & 11 deletions
This file was deleted.

apps/insights/src/app/price-feeds/[slug]/price-components/layout.tsx

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/insights/src/app/price-feeds/[slug]/price-components/page.tsx

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { Publishers as default } from "../../../../components/PriceFeed/publishers";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { PriceFeedsLayout as default } from "../../components/PriceFeeds/layout";
1+
export { ZoomLayoutTransition as default } from "../../components/ZoomLayoutTransition";
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"use client";
2+
3+
export { Error as default } from "../../../components/Error";
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import type { Metadata } from "next";
2+
3+
export { PublishersLayout as default } from "../../../components/Publisher/layout";
4+
import { getPublishers } from "../../../services/clickhouse";
5+
6+
export const metadata: Metadata = {
7+
title: "Publishers",
8+
};
9+
10+
export const generateStaticParams = async () => {
11+
const publishers = await getPublishers();
12+
return publishers.map(({ key }) => ({ key }));
13+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { Performance as default } from "../../../components/Publisher/performance";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { PriceFeeds as default } from "../../../../components/Publisher/price-feeds";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { ZoomLayoutTransition as default } from "../../components/ZoomLayoutTransition";

0 commit comments

Comments
 (0)