|
| 1 | +'use client'; |
| 2 | + |
| 3 | +import Image from 'next/image'; |
| 4 | +import { Text } from 'opub-ui'; |
| 5 | + |
| 6 | +import BreadCrumbs from '@/components/BreadCrumbs'; |
| 7 | +import ListingComponent from '../components/ListingComponent'; |
| 8 | + |
| 9 | +const breadcrumbData = [ |
| 10 | + { href: '/', label: 'Home' }, |
| 11 | + { href: '#', label: 'Use Cases' }, |
| 12 | +]; |
| 13 | + |
| 14 | +const UseCasesListingClient = () => { |
| 15 | + return ( |
| 16 | + <main> |
| 17 | + <BreadCrumbs data={breadcrumbData} /> |
| 18 | + <div className="bg-primaryBlue"> |
| 19 | + <div className="container flex flex-col-reverse justify-center gap-8 p-10 lg:flex-row"> |
| 20 | + <div className="flex flex-col justify-center gap-6"> |
| 21 | + <Text variant="heading2xl" className="text-surfaceDefault"> |
| 22 | + Our Use Cases |
| 23 | + </Text> |
| 24 | + <Text |
| 25 | + variant="headingLg" |
| 26 | + fontWeight="regular" |
| 27 | + className="leading-3 text-surfaceDefault lg:leading-5" |
| 28 | + > |
| 29 | + By use case, we mean any data-led intervention across sectors that |
| 30 | + can address challenges from hyper-local to global levels |
| 31 | + effectively. |
| 32 | + </Text> |
| 33 | + </div> |
| 34 | + <Image |
| 35 | + src={'/Usecase_illustration.png'} |
| 36 | + width={600} |
| 37 | + height={316} |
| 38 | + alt={'Usecase Illustration'} |
| 39 | + className="m-auto h-auto w-full" |
| 40 | + /> |
| 41 | + </div> |
| 42 | + </div> |
| 43 | + <div className="container p-6 lg:p-10 lg:pb-20"> |
| 44 | + <div> |
| 45 | + <Text variant="heading2xl" fontWeight="bold"> |
| 46 | + Explore Use Cases |
| 47 | + </Text> |
| 48 | + </div> |
| 49 | + <ListingComponent |
| 50 | + type="usecase" |
| 51 | + placeholder="Start typing to search for any Use Case" |
| 52 | + redirectionURL={`/usecases`} |
| 53 | + /> |
| 54 | + </div> |
| 55 | + </main> |
| 56 | + ); |
| 57 | +}; |
| 58 | + |
| 59 | +export default UseCasesListingClient; |
0 commit comments