Skip to content

Commit

Permalink
Adding logo in navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
rotirk20 committed Oct 19, 2024
1 parent ee64350 commit 0c63ae0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/components/navbar/navbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="flex items-center">
<a routerLink="/" class="text-xl font-semibold"
[class.text-black]="!isHomePage || hasScrolled || isMobileMenuOpen"
[class.text-white]="isHomePage && !hasScrolled && !isMobileMenuOpen">SMETOVI</a>
[class.text-white]="isHomePage && !hasScrolled && !isMobileMenuOpen"><img class="logo" src="../../../assets/images/smetovi-logo.png"></a>
</div>

<!-- Navigation Menu on the Right (Desktop) -->
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/app/components/navbar/navbar.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ nav {
a {
padding: 8px;
}
img.logo {
max-width: 160px;
}
.sub-menu {
a {
padding: 8px 20px;
Expand Down
Binary file added frontend/src/assets/images/smetovi-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0c63ae0

Please sign in to comment.