feat: Add themes marketplace page and components

This commit is contained in:
Mauro Balades
2024-08-14 23:12:22 +02:00
parent ca1540a6c5
commit f16a46a290
8 changed files with 268 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
import { SearchIcon } from "lucide-react";
export default function ThemesSearch({
input, setInput
}: {
input: string;
setInput: (input: string) => void;
}) {
return (
<div className="flex w-full p-2 bg-muted/50 rounded-full mt-10 items-center border border-muted">
<SearchIcon className="w-6 h-6 mx-4 text-muted" />
<input
type="text"
value={input}
onChange={(e) => setInput(e.target.value)}
placeholder="Search themes"
className="w-full bg-transparent border-none focus:outline-none focus:border-none focus:ring-0 text-white placeholder-muted"
/>
</div>
);
}