Update frontend/src/App.js
Browse files- frontend/src/App.js +1 -3
frontend/src/App.js
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
import React, { useState, useEffect } from 'react';
|
2 |
import _ from 'lodash';
|
3 |
-
import { Search } from 'lucide-react';
|
4 |
-
|
5 |
const ScoreBar = ({ score }) => {
|
6 |
const percentage = score <= 1 ? score * 100 : score;
|
7 |
const hue = Math.min(percentage * 1.2, 120); // 0 = red, 120 = green
|
@@ -93,7 +91,7 @@ function App() {
|
|
93 |
|
94 |
<div className="mb-6 relative">
|
95 |
<div className="relative">
|
96 |
-
<
|
97 |
<input
|
98 |
type="text"
|
99 |
placeholder="Search models..."
|
|
|
1 |
import React, { useState, useEffect } from 'react';
|
2 |
import _ from 'lodash';
|
|
|
|
|
3 |
const ScoreBar = ({ score }) => {
|
4 |
const percentage = score <= 1 ? score * 100 : score;
|
5 |
const hue = Math.min(percentage * 1.2, 120); // 0 = red, 120 = green
|
|
|
91 |
|
92 |
<div className="mb-6 relative">
|
93 |
<div className="relative">
|
94 |
+
<span className="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400">⚲</span>
|
95 |
<input
|
96 |
type="text"
|
97 |
placeholder="Search models..."
|