@@ -4,6 +4,7 @@ import Icon from "../../assets/icon-square-small.svg";
44import OpenJSLogo from "../../assets/openjs-logo.png" ;
55import Container from "../Container/Container.jsx" ;
66import Link from "../Link/Link.jsx" ;
7+ import footerLegal from './_footer-legal.json' ;
78
89const footerLinkClasses =
910 "text-[11px] uppercase text-[#777676] dark:text-[#cccccc] hover:text-[#333333] dark:hover:text-[#ffffff]" ;
@@ -36,19 +37,14 @@ const Footer = () => (
3637 holders. Use of them does not imply any affiliation with or endorsement
3738 by them.
3839 </ p >
39- < p className = "mx-auto mt-[18px] text-[15px] leading-[1.6] text-[#333333] dark:text-[#e0e0e0]" >
40- < a href = "https://openjsf.org" > The OpenJS Foundation</ a > |{ " " }
41- < a href = "https://ai-coding-assistants-policy.openjsf.org/" >
42- AI Coding Assistants Policy
43- </ a > |{ " " }
44- < a href = "https://terms-of-use.openjsf.org" > Terms of Use</ a > |{ " " }
45- < a href = "https://privacy-policy.openjsf.org" > Privacy Policy</ a > |{ " " }
46- < a href = "https://bylaws.openjsf.org" > Bylaws</ a > |{ " " }
47- < a href = "https://code-of-conduct.openjsf.org" > Code of Conduct</ a > |{ " " }
48- < a href = "https://trademark-policy.openjsf.org" > Trademark Policy</ a > |{ " " }
49- < a href = "https://trademark-list.openjsf.org" > Trademark List</ a > |{ " " }
50- < a href = "https://www.linuxfoundation.org/cookies" > Cookie Policy</ a >
51- </ p >
40+ < p className = "mx-auto mt-[18px] text-[15px] leading-[1.6] text-[#333333] dark:text-[#e0e0e0]" >
41+ { footerLegal . links . map ( ( link , i ) => (
42+ < span key = { link . url } >
43+ { i > 0 && ' | ' }
44+ < a href = { link . url } > { link . label } </ a > a>
45+ </ span > span >
46+ ) ) }
47+ </ p >
5248 </ Container >
5349 < Container className = "flex flex-wrap justify-center gap-y-4 content-center border-t border-[#f2f2f2] px-0 py-[0.4em] md:flex-row md:justify-between" >
5450 < section
0 commit comments