feat: restructure News layout with new header and footer components; remove redundant files

This commit is contained in:
Ardeman
2025-02-03 17:01:56 +08:00
parent d9070b1b49
commit 7ee342f493
9 changed files with 29 additions and 33 deletions
+22
View File
@@ -0,0 +1,22 @@
import { SearchIcon } from '~/components/icons/search'
import { Button } from '~/components/ui/button'
export const HeaderSearch = () => {
return (
<form className="flex flex-1 justify-between gap-[15px] px-[35px]">
<input
placeholder="Cari..."
className="flex-1 placeholder:text-white focus:ring-0 focus:outline-none"
size={1}
/>
<Button
type="submit"
variant="icon"
size="icon"
className="[&_svg]:size-[30px]"
>
<SearchIcon />
</Button>
</form>
)
}