mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 14:44:15 +00:00
style: improve search bar and cards design
This commit is contained in:
parent
d8c9514a7d
commit
905547ec6f
2 changed files with 12 additions and 5 deletions
|
|
@ -4,10 +4,14 @@ import { Icon } from "@iconify/react";
|
|||
|
||||
export default function SearchBar() {
|
||||
return (
|
||||
<div className="max-w-md w-full flex rounded-xl focus-within:ring-[3px] ring-orange-200/75 transition shadow-md">
|
||||
<input type="text" placeholder="Search..." className="bg-orange-300 border-2 border-orange-400 py-2 px-3 rounded-l-xl outline-0 w-full" />
|
||||
<button className="bg-orange-400 p-2 w-12 rounded-r-xl flex justify-center items-center">
|
||||
<Icon icon="ic:baseline-search" fontSize={24} />
|
||||
<div className="max-w-md w-full flex rounded-xl focus-within:ring-[3px] ring-orange-400/35 transition shadow-md">
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Search..."
|
||||
className="bg-orange-200 border-2 border-orange-400 py-2 px-3 rounded-l-xl outline-0 w-full placeholder:text-black/40"
|
||||
/>
|
||||
<button className="bg-orange-400 p-2 w-12 rounded-r-xl flex justify-center items-center cursor-pointer text-2xl transition-all hover:text-[1.75rem] active:text-2xl">
|
||||
<Icon icon="ic:baseline-search" />
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue