Skip to content

Commit c076812

Browse files
committed
match width of hero section with other sections
1 parent e87a954 commit c076812

1 file changed

Lines changed: 7 additions & 17 deletions

File tree

app/[locale]/(user)/components/Content.tsx

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
'use client';
22

3+
import { graphql } from '@/gql';
4+
import { useQuery } from '@tanstack/react-query';
35
import Image from 'next/image';
46
import Link from 'next/link';
57
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';
99

10+
import { useTourTrigger } from '@/hooks/use-tour-trigger';
1011
import { GraphQL } from '@/lib/api';
1112
import { cn } from '@/lib/utils';
1213
import Styles from '../page.module.scss';
13-
import { useTourTrigger } from '@/hooks/use-tour-trigger';
1414

1515
const statsInfo: any = graphql(`
1616
query StatsList {
@@ -79,20 +79,10 @@ export const Content = () => {
7979
},
8080
];
8181

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-
];
9282

9383
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">
9686
<div className="flex flex-col gap-11 lg:w-[60%]">
9787
<div className="flex flex-col gap-2">
9888
<Text variant="heading3xl" color="onBgDefault" className='text-textOnBGDefault1'>
@@ -133,7 +123,7 @@ export const Content = () => {
133123
: undefined
134124
}
135125
>
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">
137127
<Text variant="heading3xl" className="text-primaryBlue">
138128
{item.count}
139129
</Text>

0 commit comments

Comments
 (0)