1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

adds logo to drawer title and updates favicon (#76)

This commit is contained in:
Vegard Sandvold 2017-03-07 11:39:10 +01:00 committed by GitHub
parent ce51d98e4f
commit bf86929a44
7 changed files with 18 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="unleash"> <meta name="description" content="unleash">
<title>Unleash Admin</title> <title>Unleash</title>
<link rel="stylesheet" href="bundle.css"> <link rel="stylesheet" href="bundle.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
frontend/public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -122,7 +122,10 @@ export default class App extends Component {
</Navigation> </Navigation>
</Header> </Header>
<Drawer className="mdl-color--white"> <Drawer className="mdl-color--white">
<span className={[styles.drawerTitle, 'mdl-layout-title'].join(' ')}>Unleash</span> <span className={[styles.drawerTitle, 'mdl-layout-title'].join(' ')}>
<img src="/public/logo.png" width="32" height="32" className={styles.drawerTitleLogo}/>
<span className={styles.drawerTitleText}>Unleash</span>
</span>
<hr/> <hr/>
<Navigation className={styles.navigation}> <Navigation className={styles.navigation}>
{createListItem('/features', 'Feature toggles', 'list', true)} {createListItem('/features', 'Feature toggles', 'list', true)}
@ -173,7 +176,7 @@ export default class App extends Component {
</FooterLinkList> </FooterLinkList>
</FooterDropDownSection> </FooterDropDownSection>
</FooterSection> </FooterSection>
<FooterSection type="bottom" logo="Unleash Admin"> <FooterSection type="bottom" logo="Unleash">
<FooterLinkList> <FooterLinkList>
<a href="https://github.com/Unleash/unleash/" target="_blank"> <a href="https://github.com/Unleash/unleash/" target="_blank">
GitHub GitHub

View File

@ -45,13 +45,25 @@
} }
.drawerTitle { .drawerTitle {
line-height: 1 !important;
padding-top: 16px;
padding-bottom: 16px;
padding-left: 24px !important; padding-left: 24px !important;
} }
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
.drawerTitle { .drawerTitle {
padding-top: 12px;
padding-bottom: 12px;
padding-left: 16px !important; padding-left: 16px !important;
} }
} }
.drawerTitleLogo {
padding-right: 16px;
}
.drawerTitleText {
display: inline-block;
vertical-align: middle;
}
.navigation { .navigation {
padding: 8px 0 !important; padding: 8px 0 !important;