footer is kinda gay
This commit is contained in:
parent
11c4f1c967
commit
8d0a16249c
1 changed files with 77 additions and 74 deletions
|
@ -6,84 +6,87 @@ import { FOOTERLINKS } from "@/constants";
|
||||||
|
|
||||||
const Footer = () => {
|
const Footer = () => {
|
||||||
return (
|
return (
|
||||||
<footer className="flex flex-col px-6 md:px-16 lg:px-32 py-10 w-full bg-zinc-100 text-black dark:bg-[#0308033b] dark:text-white border-t transition-all">
|
<>
|
||||||
<div className="flex flex-col lg:flex-row justify-between md:items-start items-center mb-14">
|
<hr />
|
||||||
<div className="flex items-center mb-6 lg:mb-0">
|
<footer className="flex flex-col px-6 md:px-16 lg:px-32 py-10 w-full max-w-screen-2xl mx-auto bg-zinc-100 text-black dark:bg-[#0308033b] dark:text-white transition-all">
|
||||||
<Image
|
<div className="flex flex-col lg:flex-row justify-between max-lg:items-start max-md:items-center items-center mb-14 ">
|
||||||
src="/logo.svg"
|
<div className="flex items-center mb-6 lg:mb-0">
|
||||||
alt="logo"
|
<Image
|
||||||
width={200}
|
src="/logo.svg"
|
||||||
height={80}
|
alt="logo"
|
||||||
className="dark:block hidden"
|
width={200}
|
||||||
/>
|
height={80}
|
||||||
<Image
|
className="dark:block hidden"
|
||||||
src="/logodark.svg"
|
/>
|
||||||
alt="logo"
|
<Image
|
||||||
width={200}
|
src="/logodark.svg"
|
||||||
height={80}
|
alt="logo"
|
||||||
className="dark:hidden block"
|
width={200}
|
||||||
/>
|
height={80}
|
||||||
</div>
|
className="dark:hidden block"
|
||||||
<div className="flex flex-col items-center md:items-start md:flex-row justify-between w-full lg:w-auto gap-8 lg:space-y-0 lg:space-x-12">
|
/>
|
||||||
<div className="flex flex-col items-center md:items-start">
|
|
||||||
<h1 className="text-2xl font-light text-primary">Other Pages</h1>
|
|
||||||
{FOOTERLINKS.otherPages.map((link) => (
|
|
||||||
<h3 key={link.href}>
|
|
||||||
<Link
|
|
||||||
href={link.href}
|
|
||||||
className="text-base font-light dark:hover:text-green-100/70 hover:text-green-500"
|
|
||||||
>
|
|
||||||
{link.label}
|
|
||||||
</Link>
|
|
||||||
</h3>
|
|
||||||
))}
|
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col items-center md:items-start">
|
<div className="flex flex-col items-center md:items-start md:flex-row justify-between w-full lg:w-auto lg:space-y-0 space-x-8 xl:space-x-16">
|
||||||
<h1 className="text-2xl font-light text-primary">Resources</h1>
|
<div className="flex flex-col items-center md:items-start">
|
||||||
{FOOTERLINKS.plans.map((link) => (
|
<h1 className="text-2xl font-light text-primary">Other Pages</h1>
|
||||||
<h3 key={link.href}>
|
{FOOTERLINKS.otherPages.map((link) => (
|
||||||
<Link
|
<h3 key={link.href}>
|
||||||
href={link.href}
|
<Link
|
||||||
className="text-base font-light dark:hover:text-green-100/70 hover:text-green-500"
|
href={link.href}
|
||||||
>
|
className="text-base font-light dark:hover:text-green-100/70 hover:text-green-500"
|
||||||
{link.label}
|
>
|
||||||
</Link>
|
{link.label}
|
||||||
</h3>
|
</Link>
|
||||||
))}
|
</h3>
|
||||||
</div>
|
))}
|
||||||
<div className="flex flex-col items-center md:items-start">
|
</div>
|
||||||
<h1 className="text-2xl font-light text-primary">Social</h1>
|
<div className="flex flex-col items-center md:items-start">
|
||||||
<p className="text-base font-light">
|
<h1 className="text-2xl font-light text-primary">Resources</h1>
|
||||||
{FOOTERLINKS.social.supportText}
|
{FOOTERLINKS.plans.map((link) => (
|
||||||
</p>
|
<h3 key={link.href}>
|
||||||
<div className="flex space-x-1 py-3">
|
<Link
|
||||||
<Iconss />
|
href={link.href}
|
||||||
|
className="text-base font-light dark:hover:text-green-100/70 hover:text-green-500"
|
||||||
|
>
|
||||||
|
{link.label}
|
||||||
|
</Link>
|
||||||
|
</h3>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
<div className="flex flex-col items-center md:items-start">
|
||||||
|
<h1 className="text-2xl font-light text-primary">Social</h1>
|
||||||
|
<p className="text-base font-light">
|
||||||
|
{FOOTERLINKS.social.supportText}
|
||||||
|
</p>
|
||||||
|
<div className="flex space-x-1 py-3">
|
||||||
|
<Iconss />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div className="border-t mb-6 border-gray-300 dark:border-white/30"></div>
|
||||||
<div className="border-t mb-6 border-gray-300 dark:border-white/30"></div>
|
<div className="flex flex-col lg:flex-row justify-between items-center space-y-4 lg:space-y-0 px-4">
|
||||||
<div className="flex flex-col lg:flex-row justify-between items-center space-y-4 lg:space-y-0 px-4">
|
<h4 className="text-sm font-light">
|
||||||
<h4 className="text-sm font-light">
|
Designed and Developed by{" "}
|
||||||
Designed and Developed by{" "}
|
<Link
|
||||||
<Link
|
href={FOOTERLINKS.footerBottom.designedBy.href}
|
||||||
href={FOOTERLINKS.footerBottom.designedBy.href}
|
className="text-primary font-semibold"
|
||||||
className="text-primary font-semibold"
|
>
|
||||||
>
|
{FOOTERLINKS.footerBottom.designedBy.label}
|
||||||
{FOOTERLINKS.footerBottom.designedBy.label}
|
</Link>
|
||||||
</Link>
|
</h4>
|
||||||
</h4>
|
<h4 className="text-sm font-light">
|
||||||
<h4 className="text-sm font-light">
|
All Rights Reserved{" "}
|
||||||
All Rights Reserved{" "}
|
<Link
|
||||||
<Link
|
href={FOOTERLINKS.footerBottom.rightsReserved.href}
|
||||||
href={FOOTERLINKS.footerBottom.rightsReserved.href}
|
className="text-primary font-semibold"
|
||||||
className="text-primary font-semibold"
|
>
|
||||||
>
|
{FOOTERLINKS.footerBottom.rightsReserved.label}
|
||||||
{FOOTERLINKS.footerBottom.rightsReserved.label}
|
</Link>
|
||||||
</Link>
|
</h4>
|
||||||
</h4>
|
</div>
|
||||||
</div>
|
</footer>
|
||||||
</footer>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue