|
1 | 1 | 'use client'; |
2 | 2 |
|
| 3 | +import { graphql } from '@/gql'; |
| 4 | +import { useQuery } from '@tanstack/react-query'; |
3 | 5 | import Image from 'next/image'; |
4 | 6 | import Link from 'next/link'; |
5 | 7 | import { useRouter } from 'next/navigation'; |
6 | | -import { graphql } from '@/gql'; |
7 | | -import { useQuery } from '@tanstack/react-query'; |
8 | | -import { SearchInput, Spinner, Tag, Text } from 'opub-ui'; |
| 8 | +import { SearchInput, Spinner, Text } from 'opub-ui'; |
9 | 9 |
|
| 10 | +import { useTourTrigger } from '@/hooks/use-tour-trigger'; |
10 | 11 | import { GraphQL } from '@/lib/api'; |
11 | 12 | import { cn } from '@/lib/utils'; |
12 | 13 | import Styles from '../page.module.scss'; |
13 | | -import { useTourTrigger } from '@/hooks/use-tour-trigger'; |
14 | 14 |
|
15 | 15 | const statsInfo: any = graphql(` |
16 | 16 | query StatsList { |
@@ -79,20 +79,10 @@ export const Content = () => { |
79 | 79 | }, |
80 | 80 | ]; |
81 | 81 |
|
82 | | - const Sectors = [ |
83 | | - 'Public Finance', |
84 | | - 'Law And Justice', |
85 | | - 'Climate Action', |
86 | | - 'Urban Development', |
87 | | - 'Gender', |
88 | | - 'Coastal', |
89 | | - 'Disaster Risk Reduction', |
90 | | - 'Child Rights' |
91 | | - ]; |
92 | 82 |
|
93 | 83 | return ( |
94 | | - <main className="py-6 md:px-6 md:py-10 lg:py-16 "> |
95 | | - <div className=" flex justify-around gap-8 px-4 md:px-8 lg:px-18"> |
| 84 | + <main className="container py-10 md:px-8 lg:py-20"> |
| 85 | + <div className="flex justify-around gap-8 px-4 md:px-12 lg:px-12"> |
96 | 86 | <div className="flex flex-col gap-11 lg:w-[60%]"> |
97 | 87 | <div className="flex flex-col gap-2"> |
98 | 88 | <Text variant="heading3xl" color="onBgDefault" className='text-textOnBGDefault1'> |
@@ -133,7 +123,7 @@ export const Content = () => { |
133 | 123 | : undefined |
134 | 124 | } |
135 | 125 | > |
136 | | - <div className="flex h-[100px] flex-col text-start justify-center rounded-[8px] bg-surfaceStats px-10 py-10 text-center"> |
| 126 | + <div className="flex h-[100px] flex-col justify-center rounded-[8px] bg-surfaceStats px-10 py-10 text-center"> |
137 | 127 | <Text variant="heading3xl" className="text-primaryBlue"> |
138 | 128 | {item.count} |
139 | 129 | </Text> |
|
0 commit comments