📝 Docs: 重写教程与进阶指南 (#1604)

Co-authored-by: Johnny Hsieh <32300164+mnixry@users.noreply.github.com>
This commit is contained in:
Ju4tCode
2023-03-24 16:34:21 +08:00
committed by GitHub
parent 8977be2985
commit 18beb63d55
165 changed files with 6443 additions and 15655 deletions

View File

@ -10,6 +10,7 @@ import Tag from "../Tag";
export default function Card({
module_name,
project_link,
name,
desc,
author,
@ -65,15 +66,24 @@ export default function Card({
))}
</div>
)}
{/* FIXME: full height */}
{desc && (
<div className="pb-4 text-sm font-normal opacity-60">{desc}</div>
)}
{project_link && (
<div className="my-2 text-sm font-normal opacity-60 font-mono">
<FontAwesomeIcon icon={["fas", "cube"]} className="mr-2" />
{project_link}
</div>
)}
{module_name && (
<div className="my-2 text-sm font-normal opacity-60 font-mono">
<FontAwesomeIcon icon={["fas", "fingerprint"]} className="mr-2" />
{module_name}
</div>
)}
{/* TODO: add user avatar */}
{/* link: https://github.com/<username>.png */}
{author && (
<div className="my-2 text-sm font-normal opacity-60 font-mono">
<FontAwesomeIcon icon={["fas", "user"]} className="mr-2" />