mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-15 08:26:42 +00:00
🚧 process store pagination
This commit is contained in:
23
website/src/components/Card/index.tsx
Normal file
23
website/src/components/Card/index.tsx
Normal 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>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user