Ezmary commited on
Commit
c50f4c9
·
verified ·
1 Parent(s): ae09350

Update src/components/logo/Logo.tsx

Browse files
Files changed (1) hide show
  1. src/components/logo/Logo.tsx +2 -2
src/components/logo/Logo.tsx CHANGED
@@ -2,7 +2,6 @@
2
 
3
  import React from 'react';
4
  import cn from "classnames";
5
- // تغییر در این خط: به جای "@/components/icons" از مسیر نسبی "../icons" استفاده شده
6
  import { humanAiIcon } from '../icons';
7
 
8
  type LogoProps = {
@@ -52,8 +51,9 @@ export default function Logo({isAi, isActive, isMini}: LogoProps) {
52
  )}
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 })}
 
2
 
3
  import React from 'react';
4
  import cn from "classnames";
 
5
  import { humanAiIcon } from '../icons';
6
 
7
  type LogoProps = {
 
51
  )}
52
  />
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 })}