mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add festive logo file
This commit is contained in:
parent
71d8611757
commit
e86276e1de
1 changed files with 33 additions and 0 deletions
|
|
@ -0,0 +1,33 @@
|
|||
import { config } from '../../tokens/stitches.config'
|
||||
import Image from 'next/image'
|
||||
import Link from 'next/link'
|
||||
|
||||
export type OmnivoreFestiveLogoProps = {
|
||||
color?: string
|
||||
href?: string
|
||||
}
|
||||
|
||||
export function OmnivoreFestiveLogo(
|
||||
props: OmnivoreFestiveLogoProps
|
||||
): JSX.Element {
|
||||
const fillColor = props.color || config.theme.colors.graySolid
|
||||
const href = props.href || '/home'
|
||||
|
||||
return (
|
||||
<Link passHref href={href}>
|
||||
<a
|
||||
style={{
|
||||
textDecoration: 'none',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
}}
|
||||
>
|
||||
<Image
|
||||
src="/static/images/omnivore-logo-santa.png"
|
||||
width="27"
|
||||
height="27"
|
||||
/>
|
||||
</a>
|
||||
</Link>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in a new issue