feat: standardizer changes
This commit is contained in:
1 parent
8728308fc6
commit
70ebcc9cd5
13 files changed
+147
-119
No files matched your search
@@ -1,22 +1,13 @@
|
||||
/* eslint-disable @next/next/no-img-element */
|
||||
|
||||
type BrandLogoProps = {
|
||||
variant: "black" | "white";
|
||||
};
|
||||
|
||||
export function BrandLogo({ variant }: Readonly<BrandLogoProps>) {
|
||||
const logo =
|
||||
variant === "white"
|
||||
? { source: "/brand/logo-white.png", width: 250, height: 250 }
|
||||
: { source: "/brand/logo-black.png", width: 1000, height: 1000 };
|
||||
|
||||
export function BrandLogo() {
|
||||
return (
|
||||
<img
|
||||
alt="Leon Tonhäuser Sportfotografie"
|
||||
className="brand-logo"
|
||||
height={logo.height}
|
||||
src={logo.source}
|
||||
width={logo.width}
|
||||
height={250}
|
||||
src="/brand/logo-black.png"
|
||||
width={250}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user