-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a80cc4d
commit 44436e1
Showing
16 changed files
with
263 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
import React from "react"; | ||
import { footerLinks } from "@/_data/footerLinks"; | ||
import { footerLinks } from "@/_data/footerLinks"; | ||
import SocialComponent from "./_footer_parts/SocialNavItem"; | ||
import ServicesComponent from "./_footer_parts/ServicesNavItem"; | ||
import SupportersComponent from "./_footer_parts/Supporters"; | ||
import SectionDivider from "../_display/SectionDivider"; | ||
import { getFeatureFlags } from "@/_data/featureFlags"; | ||
|
||
const Footer: React.FC = () => { | ||
const servies = getFeatureFlags().footerServices; | ||
|
||
return ( | ||
<footer className="border-white border-1 text-white"> | ||
<SectionDivider/> | ||
<SectionDivider /> | ||
<div className="pt-12 container mx-auto px-4 flex flex-col md:flex-row md:flex-wrap justify-between items-start"> | ||
|
||
<ServicesComponent services={footerLinks.services} /> | ||
|
||
<SupportersComponent supporters={footerLinks.topSupporters} /> | ||
|
||
{servies ? <ServicesComponent services={footerLinks.services} /> : null} | ||
<SupportersComponent supporterData={footerLinks.topSupporters} /> | ||
|
||
<SocialComponent links={footerLinks.socialLinks} /> | ||
|
||
</div> | ||
|
||
<footer className="p-4 bg-gradient-green1 text-center"> | ||
© {new Date().getFullYear()} AI Arena. All rights reserved. | ||
© {new Date().getFullYear()} AI Arena. All rights reserved. | ||
</footer> | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; | ||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.