Add: Click on the logo to return to the main page
This commit is contained in:
parent
ca49f38ce4
commit
6eda44bc0d
3 changed files with 8 additions and 1 deletions
|
|
@ -8,7 +8,11 @@
|
||||||
<p>Devspace</p>
|
<p>Devspace</p>
|
||||||
</div>
|
</div>
|
||||||
} @else {
|
} @else {
|
||||||
<img src="./assets/img/home-icon.svg" class="homeIcon" />
|
<img
|
||||||
|
src="./assets/img/home-icon.svg"
|
||||||
|
class="homeIcon"
|
||||||
|
routerLink="/main/"
|
||||||
|
/>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
@if (viewWidth >= RESPONSIVE_THRESHOLD) {
|
@if (viewWidth >= RESPONSIVE_THRESHOLD) {
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ header {
|
||||||
width: 242px;
|
width: 242px;
|
||||||
height: 70px;
|
height: 70px;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import { SharedService } from '../../../service/shared.service';
|
||||||
import { SmallBtnComponent } from '../buttons/small-btn/small-btn.component';
|
import { SmallBtnComponent } from '../buttons/small-btn/small-btn.component';
|
||||||
import { LanguageService } from '../../../service/language.service';
|
import { LanguageService } from '../../../service/language.service';
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
|
import { RouterLink } from '@angular/router';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-header',
|
selector: 'app-header',
|
||||||
|
|
@ -19,6 +20,7 @@ import { TranslateModule } from '@ngx-translate/core';
|
||||||
SearchBarComponent,
|
SearchBarComponent,
|
||||||
SmallBtnComponent,
|
SmallBtnComponent,
|
||||||
TranslateModule,
|
TranslateModule,
|
||||||
|
RouterLink,
|
||||||
],
|
],
|
||||||
templateUrl: './header.component.html',
|
templateUrl: './header.component.html',
|
||||||
styleUrl: './header.component.scss',
|
styleUrl: './header.component.scss',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue