diff options
| author | 2023-11-03 21:13:33 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:13:33 +0800 | |
| commit | 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (patch) | |
| tree | 51614fe47bff8bb11028a07d4a35c34c9ff6594a /docs/pages/blog.mdx | |
| parent | 8f135707d069c900e055dae71e69909d6b9a41bb (diff) | |
| download | HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.tar.gz HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.zip | |
chore: delete useless codes
Diffstat (limited to 'docs/pages/blog.mdx')
| -rw-r--r-- | docs/pages/blog.mdx | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/docs/pages/blog.mdx b/docs/pages/blog.mdx deleted file mode 100644 index 5e69e20..0000000 --- a/docs/pages/blog.mdx +++ /dev/null @@ -1,44 +0,0 @@ ---- -description: The latest updates and releases from the Turbo team at Vercel. -type: posts ---- - -import { getPagesUnderRoute } from "nextra/context"; -import Link from "next/link"; - -export function BlogHeader() { - return ( - <div className="max-w-screen-lg mx-auto pt-4 pb-8 mb-16 border-b border-gray-400 border-opacity-20"> - <h1> - <span className="font-bold leading-tight lg:text-5xl">Blog</span> - </h1> - <p className="text-center text-gray-500 dark:text-gray-400 font-space-grotesk"> - 关于 HydroRoll'水系的最新release更新内容以及一些成员小插曲。 - </p> - </div> - ); -} - -export function BlogIndex() { - return getPagesUnderRoute("/blog").map((page) => { - return ( - <div key={page.route} className="mb-10"> - <Link href={page.route} style={{ color: "inherit", textDecoration: "none" }} className="block font-semibold mt-8 text-2xl"> - {page.meta?.title || page.frontMatter?.title || page.name} - </Link> - <p className="opacity-80" style={{ marginTop: ".5rem" }}> - {page.frontMatter?.description}{" "} - <span className="inline-block"> - <Link href={page.route}>{"Read more →"}</Link> - </span> - </p> - {page.frontMatter?.date ? ( - <p className="opacity-50 text-sm">{page.frontMatter.date}</p> - ) : null} - </div> - ); - }); -} - -<BlogHeader /> -<BlogIndex /> |
