akhaliq HF Staff commited on
Commit
faf8431
·
1 Parent(s): 04093c9

new label update

Browse files
frontend/src/components/ControlPanel.tsx CHANGED
@@ -196,7 +196,7 @@ export default function ControlPanel({
196
  >
197
  <div className="flex items-center justify-between gap-2">
198
  <span className="text-sm text-[#f5f5f7]">{model.name}</span>
199
- {model.id === 'zai-org/GLM-4.7' && (
200
  <span className="px-1.5 py-0.5 bg-gradient-to-r from-purple-500 to-pink-500 text-white text-[9px] font-bold rounded uppercase flex-shrink-0">
201
  NEW
202
  </span>
 
196
  >
197
  <div className="flex items-center justify-between gap-2">
198
  <span className="text-sm text-[#f5f5f7]">{model.name}</span>
199
+ {(model.id === 'zai-org/GLM-4.7' || model.id === 'MiniMaxAI/MiniMax-M2.1') && (
200
  <span className="px-1.5 py-0.5 bg-gradient-to-r from-purple-500 to-pink-500 text-white text-[9px] font-bold rounded uppercase flex-shrink-0">
201
  NEW
202
  </span>
frontend/src/components/LandingPage.tsx CHANGED
@@ -833,7 +833,7 @@ Note: After generating the redesign, I will create a Pull Request on the origina
833
  >
834
  <div className="flex items-center justify-between gap-2">
835
  <span className="text-xs font-medium text-[#f5f5f7]">{model.name}</span>
836
- {model.id === 'zai-org/GLM-4.7' && (
837
  <span className="px-1.5 py-0.5 bg-gradient-to-r from-purple-500 to-pink-500 text-white text-[9px] font-bold rounded uppercase">
838
  NEW
839
  </span>
@@ -1004,12 +1004,6 @@ Note: After generating the redesign, I will create a Pull Request on the origina
1004
  <path strokeLinecap="round" strokeLinejoin="round" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
1005
  </svg>
1006
  <span>Redesign</span>
1007
- {/* Enhanced NEW Badge with glow effect */}
1008
- <span className="absolute -top-2 -right-2 px-2 py-0.5 bg-gradient-to-r from-pink-500 via-purple-500 to-indigo-500 text-white text-[9px] font-extrabold rounded-full shadow-lg animate-pulse">
1009
- <span className="relative z-10">NEW</span>
1010
- {/* Glow effect */}
1011
- <span className="absolute inset-0 bg-gradient-to-r from-pink-500 via-purple-500 to-indigo-500 rounded-full blur-sm opacity-75 animate-pulse"></span>
1012
- </span>
1013
  </button>
1014
 
1015
  {/* Redesign Dialog */}
 
833
  >
834
  <div className="flex items-center justify-between gap-2">
835
  <span className="text-xs font-medium text-[#f5f5f7]">{model.name}</span>
836
+ {(model.id === 'zai-org/GLM-4.7' || model.id === 'MiniMaxAI/MiniMax-M2.1') && (
837
  <span className="px-1.5 py-0.5 bg-gradient-to-r from-purple-500 to-pink-500 text-white text-[9px] font-bold rounded uppercase">
838
  NEW
839
  </span>
 
1004
  <path strokeLinecap="round" strokeLinejoin="round" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
1005
  </svg>
1006
  <span>Redesign</span>
 
 
 
 
 
 
1007
  </button>
1008
 
1009
  {/* Redesign Dialog */}