feat: replace Image component with LogoSimple in Header and update Logo component to accept props

This commit is contained in:
arraysid
2025-05-27 04:11:18 +07:00
parent 0a4921f2ef
commit 035f7fa8cd
2 changed files with 6 additions and 10 deletions
+4 -2
View File
@@ -1,6 +1,7 @@
export function Logo() {
export function Logo(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
{...props}
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
width="317"
@@ -33,9 +34,10 @@ export function Logo() {
);
}
export function LogoSimple() {
export function LogoSimple(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
{...props}
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
width="138"