add HudozkaLogo component
This commit is contained in:
1 parent
da488654d6
commit
78e33e456c
3 files changed
+50
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import s from "./logo.module.css"
|
||||
|
||||
import Image from "next/future/image"
|
||||
import image from "src/assets/hudozka-logo.png"
|
||||
|
||||
export type HudozkaLogoProps = {
|
||||
dark?: boolean
|
||||
}
|
||||
|
||||
export const HudozkaLogo: React.FC<HudozkaLogoProps> = ({ dark }) => (
|
||||
<div className={`${s.container} ${dark ? s.dark : ""}`}>
|
||||
<Image
|
||||
src={image}
|
||||
width={36}
|
||||
height={36}
|
||||
alt={"Hudozka"}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
Reference in new issue
Block a user