🚧 process store pagination

This commit is contained in:
yanyongyu
2021-12-30 16:05:05 +08:00
parent d1706e438b
commit 2beed6bf16
11 changed files with 242 additions and 40 deletions

View File

@ -0,0 +1,23 @@
import React from "react";
import Link from "@docusaurus/Link";
import type { Obj } from "../../libs/store";
export default function Card({
name,
desc,
author,
homepage,
}: Obj): JSX.Element {
return (
<div className="block max-w-full border rounded-lg outline-none no-underline bg-white shadow">
<div>
{name}
{homepage && <Link href={homepage}></Link>}
</div>
<div>{desc}</div>
<div>{author}</div>
</div>
);
}