improvements

This commit is contained in:
daniel31x13
2023-12-16 15:06:26 -05:00
parent 1955cca589
commit f5e7e373a8
17 changed files with 167 additions and 168 deletions
+16
View File
@@ -0,0 +1,16 @@
import LinkCard from "@/components/LinkViews/LinkComponents/LinkCard";
import { LinkIncludingShortenedCollectionAndTags } from "@/types/global";
export default function DefaultGridView({
links,
}: {
links: LinkIncludingShortenedCollectionAndTags[];
}) {
return (
<div className="grid 2xl:grid-cols-3 xl:grid-cols-2 grid-cols-1 gap-5">
{links.map((e, i) => {
return <LinkCard key={i} link={e} count={i} />;
})}
</div>
);
}