mirror of
https://github.com/luxfi/market.git
synced 2026-09-24 00:25:57 +00:00
150 lines
3.7 KiB
TypeScript
150 lines
3.7 KiB
TypeScript
import { FC } from 'react'
|
|
import { Text, Box, Flex, Anchor, Button } from '../primitives'
|
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
|
import { faDiscord, faInstagram, faMedium, faTelegram, faTwitter } from '@fortawesome/free-brands-svg-icons'
|
|
|
|
type SectionTitleProps = {
|
|
title: string
|
|
}
|
|
|
|
const SectionTitle: FC<SectionTitleProps> = ({ title }) => (
|
|
<Text style="subtitle1" css={{ color: '$gray12', mb: 8 }}>
|
|
{title}
|
|
</Text>
|
|
)
|
|
|
|
type SectionLinkProps = {
|
|
name: string
|
|
href: string
|
|
}
|
|
|
|
const SectionLink: FC<SectionLinkProps> = ({ name, href }) => (
|
|
<Anchor
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
href={href}
|
|
weight="medium"
|
|
css={{ fontSize: 14, mt: 16 }}
|
|
>
|
|
{name}
|
|
</Anchor>
|
|
)
|
|
|
|
const developerSectionLinks = [
|
|
{
|
|
name: 'Docs',
|
|
href: 'https://docs.lux.network',
|
|
},
|
|
{
|
|
name: 'Github',
|
|
href: 'https://github.com/luxdefi',
|
|
},
|
|
{
|
|
name: 'Technology',
|
|
href: 'https://docs.lux.network/technology/',
|
|
},
|
|
]
|
|
|
|
const companySectionLinks = [
|
|
{
|
|
name: 'About',
|
|
href: 'https://lux.partners',
|
|
},
|
|
{
|
|
name: 'Terms of Use',
|
|
href: 'https://lux.market/terms',
|
|
},
|
|
{
|
|
name: 'Privacy Policy',
|
|
href: 'https://lux.market/privacy',
|
|
},
|
|
]
|
|
|
|
export const Footer = () => {
|
|
return (
|
|
<Flex
|
|
justify="between"
|
|
css={{
|
|
borderTop: '1px solid $gray7',
|
|
borderStyle: 'solid',
|
|
pt: '$5',
|
|
flexDirection: 'column',
|
|
alignItems: 'flex-start',
|
|
gap: 36,
|
|
'@bp600': {
|
|
flexDirection: 'row',
|
|
gap: 0,
|
|
},
|
|
}}
|
|
>
|
|
<Flex css={{ gap: 80, '@bp600': { gap: 136 } }}>
|
|
<Flex direction="column">
|
|
<SectionTitle title="Developers" />
|
|
{developerSectionLinks.map((props) => (
|
|
<SectionLink key={props.name} {...props} />
|
|
))}
|
|
</Flex>
|
|
<Flex direction="column">
|
|
<SectionTitle title="Company" />
|
|
{companySectionLinks.map((props) => (
|
|
<SectionLink key={props.name} {...props} />
|
|
))}
|
|
</Flex>
|
|
</Flex>
|
|
<Flex
|
|
direction="column"
|
|
css={{ alignItems: 'flex-start', '@bp600': { alignItems: 'flex-end' } }}
|
|
>
|
|
<SectionTitle title="Community" />
|
|
<Flex css={{ gap: '$4', mt: 16 }}>
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="https://twitter.com/luxdefi"
|
|
>
|
|
<Button size="xs" color="gray3">
|
|
<FontAwesomeIcon icon={faTwitter} width={14} height={14} />
|
|
</Button>
|
|
</a>
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="https://instagram.com/luxdefi"
|
|
>
|
|
<Button size="xs" color="gray3">
|
|
<FontAwesomeIcon icon={faInstagram} width={14} height={14} />
|
|
</Button>
|
|
</a>
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="https://medium.com/luxdefi"
|
|
>
|
|
<Button size="xs" color="gray3">
|
|
<FontAwesomeIcon icon={faMedium} width={14} height={14} />
|
|
</Button>
|
|
</a>
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="https://discord.gg/GPyuT6z9N3"
|
|
>
|
|
<Button size="xs" color="gray3">
|
|
<FontAwesomeIcon icon={faDiscord} width={14} height={14} />
|
|
</Button>
|
|
</a>
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="https://t.me/luxdefi"
|
|
>
|
|
<Button size="xs" color="gray3">
|
|
<FontAwesomeIcon icon={faTelegram} width={14} height={14} />
|
|
</Button>
|
|
</a>
|
|
</Flex>
|
|
</Flex>
|
|
</Flex>
|
|
)
|
|
}
|