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 0000000..8fc5cec Binary files /dev/null and b/website/static/img/favicon.ico differ 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