Add svg logo

This commit is contained in:
Eric Jinks 2018-01-25 12:36:42 +10:00
parent 99c35b1756
commit 8b9194b50b
4 changed files with 4 additions and 3 deletions

View file

@ -50,7 +50,7 @@
/* Custom logo */
/* .nc-githubAuthenticationPage-logo {
background-image: url(/images/logo.png);
background-image: url(/images/logo.svg);
background-position: center;
background-repeat: no-repeat;
background-size: 100px;

1
public/images/logo.svg Normal file
View file

@ -0,0 +1 @@
<svg fill="#FF3D3D" width="100pt" height="100pt" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M79 34.699c-.3.398-.898.602-1.7.602-1 0-2.3-.301-3.698-.801-1.5-.602-3.899-1.899-4.301-3.102L69 31.5c-2.3.8-4.3 2.5-5.898 4.398C60.703 38.698 59 42 58.3 45.797c-3.2 17.3-17.301 33.602-38.602 37.8-2.102.399-3.7 1.7-3.7 3.301 0 1.602 1.7 2.899 4.102 3C44.203 91 68.101 77.2 79.402 53.2c2.602-5.3 2.602-11.3.899-15.602-.2-.996-.7-1.996-1.301-2.898zM61.699 53.398c-5.8 14.699-18 25.898-32.898 30.5-.2.102-.398 0-.5-.102 0-.101.102-.3.3-.398 14.5-5.2 25.603-16.699 30.5-30.898.302-1 1.2-1.7 1.9-1.5.8.3 1.1 1.398.698 2.398z"/><path d="M83.801 10.801c-.102-.602-.602-.898-1.2-.7-2.1.602-2.898 2.5-3.3 4.4-.5 2.6-.7 5.198-1.398 7.8-.399 1.5-.899 2.898-1.602 4.3-.3.7-.7 1.4-1.2 2-.898 1.4-2.198 1.7-3.698 2.102-.301.102-1.399.399-1.399.399-.199.699 1.399 2 3.801 2.8 2.3.9 4.398 1 4.7.301 0 0-1.2-1.5-1.9-2.5a1.358 1.358 0 0 1 0-1.699c3.102-4.101 3.5-9.5 4.4-14.398.3-1.5.398-3.398 2.198-3.898.399-.008.696-.508.598-.906z"/></svg>

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -3,7 +3,7 @@
background-size: contain;
background-repeat: no-repeat;
background-position: center;
height: 2rem;
height: 2.5rem;
width: 2.5rem;
margin-right: 1rem;
}

View file

@ -6,7 +6,7 @@ export default ({ inverted }) => (
<div
className='Logo'
style={{
backgroundImage: 'url(/images/logo.png)'
backgroundImage: 'url(/images/logo.svg)'
}}
/>
)