Skip to content

docs: Implement card alike documents index #212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from

Conversation

tt-haogege
Copy link
Contributor

Modify site docs projects #180

@vercel
Copy link

vercel bot commented Aug 31, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/beyondstorage/site/DiTVocxX5DNpnmEx3qVh3ge2C8wV
✅ Preview: https://site-git-fork-tt-haogege-docs-index-beyondstorage.vercel.app

@tt-haogege tt-haogege changed the title Docs index docs:docs card projects Aug 31, 2021
// {
// name: "General",
// url: "/docs/general/index"
// },
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不能注释掉,需求是现有的六个项目需要按照 ui 上的 card style 来显示

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗯,未来还会新增其他项目

{
name: "go-storage",
url: "/docs/go-storage/index"
url: "/docs/go-storage/index",
description: 'A vendor-neutral storage library for Golang: Write once, run on every storage service.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description 字段可以通过 githu API 获取

const ProjectCard = (props) => {
const {
name,
url,
description,
version = '0.1.0',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

项目的最新版本和发布日期也可以通过 github API 获取

@@ -9,7 +9,7 @@
display: inline-block;
padding-right: 2px;

background-image: url('/img/underline.svg');
background-image: url("/img/underline.svg");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里为为什么要改成双引号

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该是格式化的时候干的

@Xuanwo Xuanwo changed the title docs:docs card projects docs: Implement card alike documents index Sep 1, 2021
{projects}
<div className={styles.docs}>
<h1>DOCUMENTS</h1>
<p>Under Development</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we need to remove this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants