2024-01-15 12:33:15 +00:00
|
|
|
import dynamic from 'next/dynamic'
|
|
|
|
import { Icon } from './Icon'
|
|
|
|
|
|
|
|
const FancyBox = dynamic(async () => await import('./FancyBox'), { ssr: false })
|
|
|
|
|
|
|
|
export function Footer() {
|
|
|
|
return (
|
|
|
|
<div className="footer">
|
|
|
|
<FancyBox />
|
|
|
|
<a className="footer__lockup" href="https://tldraw.com">
|
|
|
|
<span
|
|
|
|
className="footer__lockup__icon"
|
|
|
|
style={{
|
|
|
|
mask: `url(/tldraw-icon.svg) center 100% / 100% no-repeat`,
|
|
|
|
WebkitMask: `url(/tldraw-icon.svg) center 100% / 100% no-repeat`,
|
|
|
|
}}
|
|
|
|
/>
|
2024-01-30 14:19:25 +00:00
|
|
|
<p>tldraw © {new Date().getFullYear()}</p>
|
2024-01-15 12:33:15 +00:00
|
|
|
</a>
|
|
|
|
<div className="footer__socials">
|
|
|
|
<a
|
|
|
|
href="https://twitter.com/tldraw"
|
|
|
|
className="sidebar__button icon-button"
|
|
|
|
title="twitter"
|
|
|
|
>
|
|
|
|
<Icon icon="twitter" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
href="https://github.com/tldraw/tldraw"
|
|
|
|
className="sidebar__button icon-button"
|
|
|
|
title="github"
|
|
|
|
>
|
|
|
|
<Icon icon="github" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
href="https://discord.com/invite/SBBEVCA4PG"
|
|
|
|
className="sidebar__button icon-button"
|
|
|
|
title="discord"
|
|
|
|
>
|
|
|
|
<Icon icon="discord" />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|