|
| 1 | +import React from 'react'; |
| 2 | +import Image from 'next/image'; |
| 3 | +import Link from 'next/link'; |
| 4 | +import { Icon, Text } from 'opub-ui'; |
| 5 | + |
| 6 | +import { Icons } from '@/components/icons'; |
| 7 | + |
| 8 | +const MainFooter = () => { |
| 9 | + return ( |
| 10 | + <> |
| 11 | + <div |
| 12 | + style={{ |
| 13 | + backgroundColor: 'var( --background-alpha-medium)', |
| 14 | + }} |
| 15 | + > |
| 16 | + <div className="flex flex-wrap items-center justify-start gap-8 p-10 md:justify-center lg:justify-center lg:gap-32 "> |
| 17 | + <div className="flex gap-8 "> |
| 18 | + <div className="flex items-center gap-2"> |
| 19 | + <Icon source={Icons.logo} size={24} color="success" /> |
| 20 | + <Text variant="headingLg" className="text-surfaceDefault" as="h1"> |
| 21 | + CivicDataSpace |
| 22 | + </Text> |
| 23 | + </div> |
| 24 | + <div> |
| 25 | + <Image src={'/cdl.svg'} width={96} alt={'cdl'} height={94} /> |
| 26 | + </div> |
| 27 | + </div> |
| 28 | + <div className=" flex gap-6"> |
| 29 | + <Link href={'#'} className=" text-baseIndigoSolid2"> |
| 30 | + About Us |
| 31 | + </Link> |
| 32 | + <Link href={'#'} className=" text-baseIndigoSolid2"> |
| 33 | + Sitemap |
| 34 | + </Link> |
| 35 | + <Link href={'#'} className=" text-baseIndigoSolid2"> |
| 36 | + Contact Us |
| 37 | + </Link> |
| 38 | + </div> |
| 39 | + <div className=" flex flex-col gap-2"> |
| 40 | + <Text |
| 41 | + color="highlight" |
| 42 | + className=" font-bold text-borderWarningSubdued" |
| 43 | + > |
| 44 | + Follow Us |
| 45 | + </Text> |
| 46 | + <div className=" flex gap-3"> |
| 47 | + <div className=" h-10 w-10 rounded-5 bg-baseBlueSolid8 p-2"> |
| 48 | + <Icon source={Icons.twitter} size={24} color="onBgDefault" /> |
| 49 | + </div> |
| 50 | + <div className=" h-10 w-10 rounded-5 bg-baseBlueSolid8 p-2"> |
| 51 | + <Icon source={Icons.linkedin} size={24} color="onBgDefault" /> |
| 52 | + </div> |
| 53 | + <div className=" h-10 w-10 rounded-5 bg-baseBlueSolid8 p-2"> |
| 54 | + <Icon source={Icons.facebook} size={24} color="onBgDefault" /> |
| 55 | + </div> |
| 56 | + <div className=" h-10 w-10 rounded-5 bg-baseBlueSolid8 p-2"> |
| 57 | + <Icon source={Icons.github} size={24} color="onBgDefault" /> |
| 58 | + </div> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + <div className=" bg-baseBlueSolid6 p-2"> |
| 64 | + <div className=" m-auto flex items-center gap-2 md:pl-4 lg:w-5/6 lg:pl-8"> |
| 65 | + <Icon source={Icons.info} size={24} /> |
| 66 | + |
| 67 | + <Text variant="bodyMd"> |
| 68 | + This Platform is designed, developed and hosted by CivicDataLab for |
| 69 | + Open Data PLatform |
| 70 | + </Text> |
| 71 | + </div> |
| 72 | + </div> |
| 73 | + </> |
| 74 | + ); |
| 75 | +}; |
| 76 | + |
| 77 | +export default MainFooter; |
0 commit comments