11'use client' ;
22
33import Image from 'next/image' ;
4+ import { fetchUseCases } from '@/fetch' ;
45import { graphql } from '@/gql' ;
56import { useQuery } from '@tanstack/react-query' ;
6- import { fetchUseCases } from '@/fetch' ;
77import { Card , Spinner , Text } from 'opub-ui' ;
8- import BreadCrumbs from '@/components/BreadCrumbs' ;
8+
99import { GraphQL } from '@/lib/api' ;
10+ import BreadCrumbs from '@/components/BreadCrumbs' ;
1011import ListingComponent from '../components/ListingComponent' ;
12+
1113const breadcrumbData = [
1214 { href : '/' , label : 'Home' } ,
1315 { href : '#' , label : 'Use Cases' } ,
1416] ;
1517
1618const UseCasesListingPage = ( ) => {
1719 return (
18- < main className = "bg-baseGraySlateSolid2" >
19- < BreadCrumbs
20- data = { breadcrumbData }
21- />
20+ < main >
21+ < BreadCrumbs data = { breadcrumbData } />
2222 < div className = " bg-primaryBlue " >
2323 < div className = "container flex flex-col-reverse justify-center gap-8 p-10 lg:flex-row " >
2424 < div className = "flex flex-col justify-center gap-6" >
@@ -28,7 +28,7 @@ const UseCasesListingPage = () => {
2828 < Text
2929 variant = "headingLg"
3030 fontWeight = "regular"
31- className = " text-surfaceDefault leading-3 lg:leading-5"
31+ className = " leading-3 text-surfaceDefault lg:leading-5"
3232 >
3333 By Use case we mean any specific sector or domain data led
3434 interventions that can be applied to address some of the most
@@ -45,13 +45,13 @@ const UseCasesListingPage = () => {
4545 />
4646 </ div >
4747 </ div >
48- < div className = "container p-6 lg:pb-20 lg:p-10 " >
48+ < div className = "container p-6 lg:p-10 lg:pb-20 " >
4949 < div >
50- < Text variant = "heading2xl" fontWeight = 'bold' > Explore Use Cases</ Text >
50+ < Text variant = "heading2xl" fontWeight = "bold" >
51+ Explore Use Cases
52+ </ Text >
5153 </ div >
52- < ListingComponent
53- fetchDatasets = { fetchUseCases }
54- />
54+ < ListingComponent fetchDatasets = { fetchUseCases } />
5555 </ div >
5656 </ main >
5757 ) ;
0 commit comments