Skip to content

Commit

Permalink
Merge branch 'master' into commitlint-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
paleface001 committed Nov 21, 2019
2 parents 16ba060 + e75ad3b commit 7ca30f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# g2plot
# G2Plot

A charting library based on the Grammar of Graphics.

Expand Down
14 changes: 2 additions & 12 deletions site/pages/index.zh.tsx
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import SEO from '@antv/gatsby-theme-antv/site/components/Seo';
import { useTranslation } from 'react-i18next';
import Banner from '@antv/gatsby-theme-antv/site/components/Banner';
import Companies from '@antv/gatsby-theme-antv/site/components/Companies';
import Features from '@antv/gatsby-theme-antv/site/components/Features';
import Cases from '@antv/gatsby-theme-antv/site/components/Cases';

Expand Down Expand Up @@ -36,14 +35,6 @@ const IndexPage = () => {
},
];

const notifications = [
{
type: t('测试'),
title: t('G6 3.2 全新上线!'),
date: '2019.12.04',
link: '#',
},
];

const bannerButtons = [
{
Expand Down Expand Up @@ -76,13 +67,12 @@ const IndexPage = () => {
<Banner
coverImage = {
<img width="100%" class="Notification-module--number--31-3Z" style={{ marginLeft: '125px', marginTop: '50px' }} src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*JWXcTY-VMmYAAAAAAAAAAABkARQnAQ" /> }
title={t('g2plot 开箱即用的图表库')}
title={t('G2Plot 开箱即用的图表库')}
description={t(
'g2plot 是开箱即用、易于配置、具有良好视觉和交互体验的通用统计图表库。',
'G2Plot 是开箱即用、易于配置、具有良好视觉和交互体验的通用统计图表库。',
)}
buttonText={t('继续了解')}
buttonHref={'/zh/docs/manual/getting-started'}
notifications={notifications}
className='banner'
githubStarLink="https://ghbtns.com/github-btn.html?user=antvis&repo=g2plot&type=star&count=true&size=large"
buttons={bannerButtons}
Expand Down

0 comments on commit 7ca30f6

Please sign in to comment.