Skip to content

Commit 0f84fdc

Browse files
Ismaestroiramos
authored andcommitted
Adds new logo in header
1 parent f413132 commit 0f84fdc

File tree

3 files changed

+37
-6
lines changed

3 files changed

+37
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
[![GitHub forks](https://img.shields.io/github/forks/ismaestro/angular7-example-app.svg?style=social&label=Fork)](https://github.com/ismaestro/angular7-example-app/fork)
1818
[![GitHub stars](https://img.shields.io/github/stars/ismaestro/angular7-example-app.svg?style=social&label=Star)](https://github.com/ismaestro/angular7-example-app)
1919

20-
<img src="Logotype Primary.png" width="60%" height="60%" />
2120

2221
## [LIVE DEMO](http://angularexampleapp.com/)
2322

@@ -136,14 +135,16 @@ We use Travis CI to run this tasks in order:
136135

137136
This repo is using Firebase. We use Cloud Firestore and Cloud Storage to handle CRUD operations over the heroes and to store their images.
138137

139-
## License
140-
141-
MIT
142-
143138
## Contributors
144139

145-
Thanks to all contributors and their support!
140+
Thanks to all contributors and their support:
141+
[mansya](https://github.com/mansya) - App logo!
142+
146143
If you have an idea or you want to do something, tell me or just do it!
147144
I'm always happy to hear your feedback!
148145

146+
## License
147+
148+
MIT
149+
149150
Enjoy :metal:

src/app/shared/components/header/header.component.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<header>
22
<nav>
33
<div fxFlex fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center center">
4+
<div id="logo">
5+
<a href="/">
6+
<img matTooltip="{{'Thank\'s mansya!' | translate}}"
7+
[matTooltipPosition]="'below'" src="assets/images/logo.svg">
8+
</a>
9+
</div>
410
<div fxFlex="40">
511
<a mat-raised-button *ngFor="let item of menuItems" routerLink="{{item.link}}">
612
{{item.name | translate | uppercase}}

src/app/shared/components/header/header.component.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,26 @@
4343
#today {
4444
font-size: 0.7rem;
4545
}
46+
47+
#logo {
48+
display: flex;
49+
margin-right: 1rem;
50+
51+
a {
52+
width: 4.25rem;
53+
height: 4.25rem;
54+
55+
img {
56+
width: 100%;
57+
height: auto;
58+
opacity: 0.8;
59+
60+
&:hover {
61+
opacity: 1;
62+
}
63+
}
64+
}
65+
}
4666
}
4767
}
4868
}
@@ -51,6 +71,10 @@
5171
#today {
5272
width: 50%;
5373
}
74+
75+
#logo {
76+
display: none;
77+
}
5478
}
5579

5680
@media (max-width: 680px) {

0 commit comments

Comments
 (0)