Upgrades:

- Profile Editor
- Categories
- FAQ
- Search
This commit is contained in:
2024-03-05 12:19:47 +00:00
parent 2e43b4ef8b
commit 5b718c5dcf
51 changed files with 1199 additions and 6591 deletions

View File

@ -0,0 +1,15 @@
import { ReactNode } from "react";
import { Link } from "react-router-dom";
import { Icon } from "./icon";
export default function CategoryLink({ id, name, icon }: { id: string; name: ReactNode; icon: string }) {
return (
<Link
to={`/category/${id}`}
key={id}
className="min-w-[10rem] flex items-center justify-between px-6 py-4 rounded-xl bg-layer-1">
{name}
<Icon name={icon} />
</Link>
);
}