Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
feat: Update footer data and design (#15)
Browse files Browse the repository at this point in the history
* new footer

* i18n for footer

* bottom of footer

* Add rootDomain

* rc-footer version

* update styles

* fix ts error and bottom responsive design
  • Loading branch information
afc163 committed Nov 8, 2019
1 parent 3ea211c commit 4d89040
Show file tree
Hide file tree
Showing 6 changed files with 4,064 additions and 3,892 deletions.
2 changes: 1 addition & 1 deletion @antv/gatsby-theme-antv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"prism-themes": "^1.2.0",
"prismjs": "^1.17.1",
"ptz-i18n": "^1.0.0",
"rc-footer": "^0.5.0",
"rc-footer": "^0.6.1",
"react": "^16.9.0",
"react-codemirror2": "^6.0.0",
"react-dom": "^16.9.0",
Expand Down
17 changes: 15 additions & 2 deletions @antv/gatsby-theme-antv/site/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,24 @@
"所有产品": "All products",
"生态": "Ecosystem",
"搜索…": "Search...",
"中文首页": "Home Page",
"在 GitHub 上编辑": "Edit on GitHub",
"代码演示": "Examples",
"设计指引": "Design Guide",
"English": "中文",
"进入全屏": "Enter Fullscreen",
"离开全屏": "Exit Fullscreen"
"离开全屏": "Exit Fullscreen",
"产品首页": "Home Page",
"图表示例": "Examples",
"使用文档": "Documentation",

"可视化图形语法": "Grammar of Graphics",
"图可视化引擎": "Graph Visualization",
"移动可视化方案": "Mobile Charts",
"地理空间可视化": "Geospatial Visualization",
"可视化图表库": "Javascript Charts Library",
"图分析框架": "Graph Analysis",
"图表生成工具": "Online Charts Generator",

"关于我们": "About us",
"返回旧版": "Old site"
}
26 changes: 26 additions & 0 deletions @antv/gatsby-theme-antv/site/components/Footer.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,30 @@

.footer {
font-family: Avenir, @font-family;

.description {
opacity: 0.6;
font-weight: normal;
margin-left: 0.5em;
}

.bottom {
display: flex;
justify-content: space-between;
font-size: 14px;

:global(.anticon),
a {
margin-right: 8px;
color: rgba(255, 255, 255, 0.6);
}
}
}

@media only screen and (max-width: 767.99px) {
.footer {
.bottom {
display: block;
}
}
}
Loading

0 comments on commit 4d89040

Please sign in to comment.