@@ -4,8 +4,13 @@ import KlerosColorsSection from "@/components/BrandAssets/KlerosColorsSection/in
4
4
import KlerosFontsSection from "@/components/BrandAssets/KlerosFontsSection" ;
5
5
import KlerosLogoSection from "@/components/BrandAssets/KlerosLogoSection" ;
6
6
import LogosPackageSection from "@/components/BrandAssets/LogosPackageSection" ;
7
+ import PnkTokenSection from "@/components/BrandAssets/PnkTokenSection" ;
7
8
import StyledImagesSection from "@/components/BrandAssets/StyledImagesSection" ;
8
9
import { heroQuery , HeroQueryType } from "@/queries/brand-assets/hero" ;
10
+ import {
11
+ klerosBadgesSectionQuery ,
12
+ KlerosBadgesSectionQueryType ,
13
+ } from "@/queries/brand-assets/kleros-badges-section" ;
9
14
import {
10
15
klerosColorsSectionQuery ,
11
16
KlerosColorsSectionQueryType ,
@@ -23,22 +28,15 @@ import {
23
28
LogosPackageSectionQueryType ,
24
29
} from "@/queries/brand-assets/logos-package-section" ;
25
30
import {
26
- klerosBadgesSectionQuery ,
27
- KlerosBadgesSectionQueryType ,
28
- } from "@/queries/brand-assets/kleros-badges -section" ;
31
+ pnkTokenSectionQuery ,
32
+ PnkTokenSectionQueryType ,
33
+ } from "@/queries/brand-assets/pnk-token -section" ;
29
34
import {
30
35
styledImagesSectionQuery ,
31
36
StyledImagesSectionQueryType ,
32
37
} from "@/queries/brand-assets/styled-images-section" ;
33
- // import {
34
- // pnkTokenSectionQuery,
35
- // PnkTokenSectionQueryType,
36
- // } from "@/queries/brand-assets/pnk-token-section";
37
-
38
38
import { request } from "@/utils/graphQLClient" ;
39
39
40
- // import PnkTokenSection from "@/components/BrandAssets/PnkTokenSection";
41
-
42
40
const BrandAssets : React . FC = async ( ) => {
43
41
const heroData = await request < HeroQueryType > ( heroQuery ) ;
44
42
const logosPackageData = await request < LogosPackageSectionQueryType > (
@@ -59,9 +57,8 @@ const BrandAssets: React.FC = async () => {
59
57
const styledImagesSection = await request < StyledImagesSectionQueryType > (
60
58
styledImagesSectionQuery ,
61
59
) ;
62
- // const pnkTokenSection = await request<PnkTokenSectionQueryType>(
63
- // pnkTokenSectionQuery,
64
- // );
60
+ const pnkTokenSection =
61
+ await request < PnkTokenSectionQueryType > ( pnkTokenSectionQuery ) ;
65
62
66
63
return (
67
64
< >
@@ -90,6 +87,9 @@ const BrandAssets: React.FC = async () => {
90
87
styledImagesSection . brandAssetsPageStyledImagesSection
91
88
}
92
89
/>
90
+ < PnkTokenSection
91
+ pnkTokenData = { pnkTokenSection . brandAssetsPagePnkTokenSection }
92
+ />
93
93
</ >
94
94
) ;
95
95
} ;
0 commit comments