Spaces:
Running
Running
Update src/components/logo/Logo.tsx
Browse files
src/components/logo/Logo.tsx
CHANGED
@@ -2,11 +2,12 @@
|
|
2 |
|
3 |
import React from 'react';
|
4 |
import cn from "classnames";
|
5 |
-
|
|
|
6 |
|
7 |
type LogoProps = {
|
8 |
isMini: boolean;
|
9 |
-
isAi: boolean;
|
10 |
isActive: boolean;
|
11 |
}
|
12 |
|
@@ -52,8 +53,8 @@ export default function Logo({isAi, isActive, isMini}: LogoProps) {
|
|
52 |
/>
|
53 |
|
54 |
<div className={cn(
|
55 |
-
"z-10 absolute flex items-center justify-center text-white",
|
56 |
-
"inset-0"
|
57 |
)}>
|
58 |
{humanAiIcon({ size: isMini ? 24 : 45 })}
|
59 |
</div>
|
|
|
2 |
|
3 |
import React from 'react';
|
4 |
import cn from "classnames";
|
5 |
+
// تغییر در این خط: به جای "@/components/icons" از مسیر نسبی "../icons" استفاده شده
|
6 |
+
import { humanAiIcon } from '../icons';
|
7 |
|
8 |
type LogoProps = {
|
9 |
isMini: boolean;
|
10 |
+
isAi: boolean;
|
11 |
isActive: boolean;
|
12 |
}
|
13 |
|
|
|
53 |
/>
|
54 |
|
55 |
<div className={cn(
|
56 |
+
"z-10 absolute flex items-center justify-center text-white",
|
57 |
+
"inset-0"
|
58 |
)}>
|
59 |
{humanAiIcon({ size: isMini ? 24 : 45 })}
|
60 |
</div>
|