Improve layout blocks
未关闭
@robyngit 已经在做这个了。
开始于 2020年3月12日。
评估
这个 Issue 还没有评估数据。
描述
design
website
Some layout blocks that are not otherwise included in a GitHub issue need either minor style and layout improvements, updates to front matter templates, or both:
- checklist - needs to be updated to use the line icons that are used elsewhere in the page. Consider making the icons configurable for each item, and/or merging this block with the "features-list" block
- disqus - if Disqus will still be used for webinars, this block needs to be tested, styled, and requires a front matter template
- icon - The icon block uses custom icon svgs that are currently stored in the
partials/iconsdirectory. These should be moved to the icon block folder and the front matter template needs to be updated to include a list of icon options - line-icon - This block uses feather icons. It needs a front matter template which should include a select field listing all possible icon options. Consider merging this with the icon block
- image - needs to be updated to use the getImage function and should add options that make use of Hugo's image processing functionality (e.g. allow a user to set max height or max width of an image). Any blocks that include images should be updated to use this block as a partial instead (e.g. the logos-bar block)
- item-with-icon - This block is similar to the simple-feature block and can probably be combined
- map - This block is so far not used anywhere and is a WIP, but could be used to show a map given longitude and latitude. If we'll use it, it needs a front matter template, styles, and the layout needs to use longitude and latitude as variables
- markdown - all the HTML elements created from markdown should be reviewed and styled if required. Consider adding the
.markdownclass to any elements in the site that are run through Hugo'smarkdownifyfunction - metrics - This block should be updated to show more metrics (as on the old website), the front matter template needs boolean fields to show/hide each available metric, and we need to determine the best way to update the data that it pulls in (so far it's using
jsonstored in the data directory) - paginator - This block is used for list pages (the News, Webinars, Jobs pages). It needs to be tested and styled
- 主要语言
- SCSS
- 星标
- 2
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DataONEorg/dataone-web 的其他 Issue
-
add map of member repositories to web page可能重新可做 @robyngit 于 195 天前认领,目前没有进行中的 PR。 未关闭documentation
DataONEorg/dataone-web#190 · 1 条评论 · 已指派 2 人 ·
-
Improve FAQ block with meaningful IDs & auto-expansion of answers可能重新可做 @robyngit 于 525 天前认领,目前没有进行中的 PR。 未关闭enhancement
DataONEorg/dataone-web#188 · 1 条评论 · 1 个 reaction · 已指派 1 人 ·
-
Update FAQ with new Hosted Repo-related content and corrections to current content可能重新可做 @iannesbitt 于 534 天前认领,目前没有进行中的 PR。 未关闭page content
DataONEorg/dataone-web#185 · 1 条评论 · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 25/100
DataONEorg/dataone-web#183 · 1 条评论 ·
-
Set up a FAQ about DataONE Services可能重新可做 @angiegarciaa 于 750 天前认领,目前没有进行中的 PR。 未关闭page content status: in progress website
DataONEorg/dataone-web#180 · 2 条评论 · 已指派 2 人 ·