Skip to content

Commit

Permalink
fix(site): 首页头图位置,以及英文大小写
Browse files Browse the repository at this point in the history
  • Loading branch information
lzxue committed Nov 24, 2019
1 parent c105743 commit 1c1f5b1
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 34 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ build/Release

# Dependency directories
node_modules/

jspm_packages/

# Typescript v1 declaration files
Expand Down Expand Up @@ -75,3 +76,4 @@ public
yarn.lock
package-lock.json
git_log.sh
node_modules/
2 changes: 1 addition & 1 deletion docs/manual/tutorial/data.en.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: data
title: Data
order: 1
---

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/data.en.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: data
title: Data
order: 1
---

Expand Down
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
slug: 'docs/tutorial',
title: {
zh: '教程',
en: 'tutorial'
en: 'Tutorial'
}
},
{
Expand Down
3 changes: 3 additions & 0 deletions packages/l7/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lib
es
dist
30 changes: 4 additions & 26 deletions site/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,7 @@
.feature-logo {
height: 100px !important;
}
.cover-image {
margin-top: 60px;
height: 300px;

}
@media only screen and (max-height: 599) and (max-width: 800px) {
.cover-image {
margin-top: 40px;
margin-left: 260px;
max-height: 400px;
}
}
@media only screen and (min-height: 599px) and (min-width:800px) {
.cover-image {
margin-top: 40px;
margin-left: 10px;
height: 600px;
}
}
@media only screen and (max-height: 599px) and (min-width:800px) {
.cover-image {
margin-top: 40px;
margin-left: 10px;
height: 600px;
}
}
.teaser {
right: 0% !important;
margin-top: 90px !important;
}
4 changes: 2 additions & 2 deletions site/locale.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"L7 地理空间数据可视分析引擎": "L7 Geospatial Visualization Analysis",
"L7 空间数据可视分析": "L7 Geospatial Visualization",
"地理空间数据可视化": "Geospatial Data Visualization Analysis Framework",
"L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于WebGL的开源大规模地理空间数据可视分析开发框架。": "Large-scale WebGL-powered Geospatial data visualization analysis framework",
"架构灵活且自由":"Flexible and Scalable",
Expand All @@ -11,7 +11,7 @@
"蚂蚁数据可视化": "AntV",
"继续了解": "More",
"更新": "Update",
"下载使用":"Download",
"开始使用":"Getting Started",
"浅版精彩案例": "Light Theme",
"深版精彩案例": "Dark Theme",
"感谢信赖":"WE ARE TRUSTED BY",
Expand Down
6 changes: 3 additions & 3 deletions site/pages/index.zh.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const IndexPage = () => {
type: 'primary',
},
{
text: t('下载使用'),
text: t('开始使用'),
link: `/${i18n.language}/docs/api/l7`,
},
];
Expand Down Expand Up @@ -129,10 +129,10 @@ const IndexPage = () => {
<img
width="100%"
className="Notification-module--number--31-3Z"
src="https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*o40BRo-ANLoAAAAAAAAAAABkARQnAQ"
src="https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*cCI7RaJs46AAAAAAAAAAAABkARQnAQ"
/>
}
title={t('L7 地理空间数据可视分析引擎')}
title={t('L7 空间数据可视分析')}
description={t(
'L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于WebGL的开源大规模地理空间数据可视分析开发框架。',
)}
Expand Down

0 comments on commit 1c1f5b1

Please sign in to comment.