Update App.tsx

This commit is contained in:
Leo Wen
2025-01-25 13:22:47 -08:00
parent 93b5d54706
commit 580bce018b
+3 -3
View File
@@ -17,7 +17,7 @@ export const classOptions = [ // TODO REMOVE
function findIfMobile() { function findIfMobile() {
//return true; return true;
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
} }
@@ -165,10 +165,10 @@ function App() {
<span className="text-xs">1 volunteer hours</span></span> <span className="text-xs">1 volunteer hours</span></span>
</button> </button>
<div className="flex-1 flex bg-white rounded-lg"> <div className="flex-1 flex bg-white rounded-lg">
<input type="search" onKeyDown={handleKeyDown} placeholder="search, hit enter or the search button to enter query" className="focus:outline-none bg-transparent border-none flex-1 text-black" value={query} onChange={(e) => setQuery(e.target.value)}> <input type="search" onKeyDown={handleKeyDown} placeholder="class or professor" className="focus:outline-none bg-transparent border-none flex-1 text-black" value={query} onChange={(e) => setQuery(e.target.value)}>
</input> </input>
<button className="aspect-square flex justify-center items-center" onClick={handleSearch}> <button className="aspect-square flex justify-center bg-white items-center" onClick={handleSearch}>
<span className="material-symbols-rounded text-black"> <span className="material-symbols-rounded text-black">
search search
</span> </span>