From 61cf422784375e56f403c19b56821bc147295fe6 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Sun, 24 Nov 2019 14:09:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(site):=20=E9=A6=96=E9=A1=B5=E5=A4=B4?= =?UTF-8?q?=E5=9B=BE=E4=BD=8D=E7=BD=AE,=E4=BB=A5=E5=8F=8A=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E5=A4=A7=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ docs/manual/tutorial/data.en.md | 2 +- docs/tutorial/data.en.md | 2 +- gatsby-config.js | 2 +- packages/l7/.gitignore | 3 +++ site/css/home.css | 30 ++++-------------------------- site/locale.json | 4 ++-- site/pages/index.zh.tsx | 6 +++--- 8 files changed, 17 insertions(+), 34 deletions(-) create mode 100644 packages/l7/.gitignore diff --git a/.gitignore b/.gitignore index 3a9c1ec9e0..38ae7254bc 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,7 @@ build/Release # Dependency directories node_modules/ + jspm_packages/ # Typescript v1 declaration files @@ -75,3 +76,4 @@ public yarn.lock package-lock.json git_log.sh +node_modules/ \ No newline at end of file diff --git a/docs/manual/tutorial/data.en.md b/docs/manual/tutorial/data.en.md index f6ddefc5df..2660d4ba5d 100644 --- a/docs/manual/tutorial/data.en.md +++ b/docs/manual/tutorial/data.en.md @@ -1,5 +1,5 @@ --- -title: data +title: Data order: 1 --- diff --git a/docs/tutorial/data.en.md b/docs/tutorial/data.en.md index f6ddefc5df..2660d4ba5d 100644 --- a/docs/tutorial/data.en.md +++ b/docs/tutorial/data.en.md @@ -1,5 +1,5 @@ --- -title: data +title: Data order: 1 --- diff --git a/gatsby-config.js b/gatsby-config.js index 4119f91ac9..b18992b32a 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -25,7 +25,7 @@ module.exports = { slug: 'docs/tutorial', title: { zh: '教程', - en: 'tutorial' + en: 'Tutorial' } }, { diff --git a/packages/l7/.gitignore b/packages/l7/.gitignore new file mode 100644 index 0000000000..49c199b6ab --- /dev/null +++ b/packages/l7/.gitignore @@ -0,0 +1,3 @@ +lib +es +dist diff --git a/site/css/home.css b/site/css/home.css index fc6eda07df..2139901ba7 100644 --- a/site/css/home.css +++ b/site/css/home.css @@ -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; +} \ No newline at end of file diff --git a/site/locale.json b/site/locale.json index bdccc5f64e..ab492f8b8b 100644 --- a/site/locale.json +++ b/site/locale.json @@ -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", @@ -11,7 +11,7 @@ "蚂蚁数据可视化": "AntV", "继续了解": "More", "更新": "Update", - "下载使用":"Download", + "开始使用":"Getting Started", "浅版精彩案例": "Light Theme", "深版精彩案例": "Dark Theme", "感谢信赖":"WE ARE TRUSTED BY", diff --git a/site/pages/index.zh.tsx b/site/pages/index.zh.tsx index 6b264c5661..5c45655614 100644 --- a/site/pages/index.zh.tsx +++ b/site/pages/index.zh.tsx @@ -82,7 +82,7 @@ const IndexPage = () => { type: 'primary', }, { - text: t('下载使用'), + text: t('开始使用'), link: `/${i18n.language}/docs/api/l7`, }, ]; @@ -129,10 +129,10 @@ const IndexPage = () => { } - title={t('L7 地理空间数据可视分析引擎')} + title={t('L7 空间数据可视分析')} description={t( 'L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于WebGL的开源大规模地理空间数据可视分析开发框架。', )}