Skip to content

Commit

Permalink
created and added a new logo for react leaflet. updated the primary a…
Browse files Browse the repository at this point in the history
…nd secondary color to match logo scheme
  • Loading branch information
colbyfayock committed Oct 12, 2019
1 parent b7b6ef2 commit b01fb5d
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 3 deletions.
50 changes: 50 additions & 0 deletions website/core/Logo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion website/pages/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const CompLibrary = require('../../core/CompLibrary.js')
const Container = CompLibrary.Container

const Code = require(process.cwd() + '/core/Code.js')
const Logo = require(process.cwd() + '/core/Logo.js')
const siteConfig = require(process.cwd() + '/siteConfig.js')

function docUrl(doc, language) {
Expand Down Expand Up @@ -49,7 +50,7 @@ const SplashContainer = props => (

const ProjectTitle = () => (
<h2 className="projectTitle">
{siteConfig.title}
<Logo />
<small>{siteConfig.tagline}</small>
</h2>
)
Expand Down
6 changes: 4 additions & 2 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ const siteConfig = {
users: [],
favicon: 'img/favicon.png',
colors: {
primaryColor: '#1EB300',
secondaryColor: '#160',
logoPrimary: '#60BA9D',
logoSecondary: '#2A473E',
primaryColor: '#41957a',
secondaryColor: '#2C5145',
},
copyright:
'Copyright © ' + new Date().getFullYear() + ' Paul Le Cam and contributors',
Expand Down
6 changes: 6 additions & 0 deletions website/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
max-width: none;
}

.logo {
width: 400px;
max-width: 100%;
height: auto;
}

@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
}

Expand Down

0 comments on commit b01fb5d

Please sign in to comment.