From b68a63fed1ce820421b702cb4f6cd8a330146a46 Mon Sep 17 00:00:00 2001 From: Chun-MingChen Date: Sun, 16 Sep 2018 16:15:06 +0800 Subject: [PATCH] Update primary color and implement logo to Home page --- website/siteConfig.js | 30 ++++++++++-------- website/static/img/favicon.ico | Bin 0 -> 17542 bytes .../static/img/logo/hybrid-white-large.svg | 1 + website/static/img/logo/pure-color-square.svg | 1 + 4 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 website/static/img/favicon.ico create mode 100644 website/static/img/logo/hybrid-white-large.svg create mode 100644 website/static/img/logo/pure-color-square.svg diff --git a/website/siteConfig.js b/website/siteConfig.js index cdaf997..ad1d50a 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -4,23 +4,27 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ +const ORGANIZATION_NAME = 'react-bootstrap-table'; +const PROJECT_NAME = 'react-bootstrap-table2'; +const PRIMARY_COLOR = '#007bff'; +const SECONDARY_COLOR = '#1769aa'; /* List of projects/orgs using your project for the users page */ const users = [ { caption: '', - // image: '/react-bootstrap-table2/img/docusaurus.svg', + image: '/react-bootstrap-table2/img/logo/pure-color-square.svg', infoLink: 'https://github.com/react-bootstrap-table/react-bootstrap-table2', pinned: true, }, ]; const siteConfig = { - title: 'react-bootstrap-table2' /* title for your website */, + title: PROJECT_NAME /* title for your website */, tagline: 'Next Generation of react-bootstrap-table', url: 'https://react-bootstrap-table.github.io' /* your website url */, baseUrl: '/react-bootstrap-table2/' /* base url for your project */, - projectName: 'react-bootstrap-table2', + projectName: PROJECT_NAME, headerLinks: [ {doc: 'about', label: 'Docs'}, {doc: 'table-props', label: 'API'}, @@ -29,21 +33,19 @@ const siteConfig = { ], users, /* path to images for header/footer */ - // headerIcon: 'img/docusaurus.svg', - // footerIcon: 'img/docusaurus.svg', - // favicon: 'img/favicon.png', + headerIcon: 'img/logo/hybrid-white-large.svg', + favicon: 'img/favicon.ico', + disableHeaderTitle: true, + /* colors for website */ colors: { - primaryColor: '#294E80', - secondaryColor: '#3CA7F2', + primaryColor: PRIMARY_COLOR, + secondaryColor: SECONDARY_COLOR, }, // This copyright info is used in /core/Footer.js and blog rss/atom feeds. - copyright: - 'Copyright © ' + - new Date().getFullYear() + - ' react-bootstrap-table2', - organizationName: 'react-bootstrap-table', // or set an env variable ORGANIZATION_NAME - projectName: 'react-bootstrap-table2', // or set an env variable PROJECT_NAME + copyright: `Copyright © ${new Date().getFullYear()} ${PROJECT_NAME}`, + organizationName: ORGANIZATION_NAME, + projectName: PROJECT_NAME, highlight: { // Highlight.js theme to use for syntax highlighting in code blocks theme: 'default', diff --git a/website/static/img/favicon.ico b/website/static/img/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..8fc5cecac4430bbf902619d075d39674a19b114e GIT binary patch literal 17542 zcmeI3Ux-yz6vnr9hD^i;5%FQrK};lk5DSSxoE{{?2N97RB*f|^d=ME1lMsyxk&qrl zqPa*#L`X#RASxmu8tOx-^bq1h$utfkB9nzoI^EOn+vlt^XYS0s-h1cVe{m0dtiAWy zd#!J+z0N-S?m6S!EEl-WPKWGvZwJo3;+$K&II16h#<}lk>+X)~C+N3!zH_Tr$Mxr& z`)!GHD;dKrG(_!)x?Cf<4hI%gYb+jr2l)|LRE?h7xsFwgJpo2<=Yp#BFg~TH22=K(|t^0e4%FpxMTHFl5r0F4Z5r!W0!!vRxc%|8-J?Lt)l%{sd08MJ)ZLO z;2SWCPi6UEF#ZVjkg*@bVV>D2C2c%$T%&%}*MW2BxLInP-HXS6f_wlz1xpya0$Eo4 zQ+m1?lLON8eWl~4(KBRi)kxyO3XuI3hRzB9fboNrmxAA&drbYYB=twV$j_Y{qn@W8 zQnqngXGDzU$FEn}Gi-j1tT)SeKIhhoDZ2ZyF^t?@3p*o&LC@{M;06f6Ft#$cgN*?0 zJHQPPf??XQ6J#1UxKFaf`agVoaAyAS>`%Gi9}ue@skps9rBj&=tWP^x9}i$>PT>&j z^hEIrW}?5J^&>?8s;T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H%T5@ULCQvR+PlQeYGRd zjzE%f@$r(RI!LO6m$wc^a?Hzo zI3CH~Liw-npV&jK#^rnSasPOHZ=^5Z8|lxlkL=~wMfMYE?bgr6Esga&9oY|O#q#`q fZzmk>isZP9WN7kyTpx{PJTBC~mdW3U?-S&I+dEV< literal 0 HcmV?d00001 diff --git a/website/static/img/logo/hybrid-white-large.svg b/website/static/img/logo/hybrid-white-large.svg new file mode 100644 index 0000000..e63f010 --- /dev/null +++ b/website/static/img/logo/hybrid-white-large.svg @@ -0,0 +1 @@ +logo color \ No newline at end of file diff --git a/website/static/img/logo/pure-color-square.svg b/website/static/img/logo/pure-color-square.svg new file mode 100644 index 0000000..bc897b9 --- /dev/null +++ b/website/static/img/logo/pure-color-square.svg @@ -0,0 +1 @@ +logo square \ No newline at end of file