import Logo from 'shared/components/logos/freesewing.js'
import OsiLogo from 'shared/components/logos/osi.js'
import CreativeCommonsLogo from 'shared/components/logos/cc.js'
import CcByLogo from 'shared/components/logos/cc-by.js'
import { useTranslation } from 'next-i18next'
import PinkedRibbon from 'shared/components/pinked-ribbon.js'
import Link from 'next/link'
import DiscordIcon from 'shared/components/icons/discord.js'
import FacebookIcon from 'shared/components/icons/facebook.js'
import GithubIcon from 'shared/components/icons/github.js'
import InstagramIcon from 'shared/components/icons/instagram.js'
import RedditIcon from 'shared/components/icons/reddit.js'
import TwitterIcon from 'shared/components/icons/twitter.js'
// Classes
const link = "text-secondary font-bold hover:pointer hover:underline px-1"
// Keep these translations in the component because they're only used here
const translations = {
cc: {
en:
Content on FreeSewing.org is available under a Creative Commons license,
de:
Inhalte auf FreeSewing.org sind unter einer Creative
Commons-Lizenz verfügbar
,
es:
El contenido de FreeSewing.org está disponible bajo una licencia Creative Commons,
fr:
Le contenu de FreeSewing.org est sous
licence Creative Commons,
nl:
De inhoud op FreeSewing.org is beschikbaar onder
een Creative Commons licentie,
},
mit: {
en:
The FreeSewing source code is available on Github under the MIT license,
de:
Der FreeSewing-Quellcode ist auf Github verfügbar unter der MIT-Lizenz,
es:
El código fuente de FreeSewing está disponible en Github bajo la licencia MIT,
fr:
Le code source de FreeSewing est disponible sur Github sous la licence MIT,
nl:
De FreeSewing broncode is beschikbaar op Github onder de MIT licentie,
},
}
const icon = { className: "w-20 h-20" }
const social = {
Discord: {
icon: ,
href: 'https://discord.freesewing.org/'
},
Instagram: {
icon: ,
href: 'https://instagram.com/freesewing_org'
},
Facebook: {
icon: ,
href: 'https://www.facebook.com/groups/627769821272714/'
},
Github: {
icon: ,
href: 'https://github.com/freesewing'
},
Reddit: {
icon: ,
href: 'https://www.reddit.com/r/freesewing/'
},
Twitter: {
icon: ,
href: 'https://twitter.com/freesewing_org'
}
}
const Footer = ({ app, full=false }) => {
const { t } = useTranslation(['common', 'patrons'])
return (
)
}
export default Footer