add HudozkaLogo component

This commit is contained in:
tmshv committed 2022-10-13 13:47:45 +06:00
1 parent da488654d6
commit 78e33e456c
3 files changed
+50

No files matched your search

+19
View File
@@ -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>
)