Skip to content

Commit

Permalink
Restore colour-changing logo
Browse files Browse the repository at this point in the history
7088c6d removed the colour-changing logo breaking JavaScript that set colour on loading.

Restore the class name back to restore the feature.

Also fixes #564.
  • Loading branch information
therealharshit authored Dec 14, 2024
1 parent 565086d commit 2cf8503
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _includes/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<div class="row">
<div class="container">
<nav class="navbar navbar-default navbar-expand-lg fixed-top align-items-center d-flex justify-content-between pb-0 pt-0">
<a class="navbar-brand" href="{{ site.baseurl }}/">
<img src="{{ site.baseurl }}/assets/logoOpt.png" alt="Sugar Labs logo" height="90" width="270">
</a>
<div class="logo1" id="navLogo">
<a href="{{ site.baseurl }}/">{% include logo.svg %}</a>
</div>
<div>
{% include banner.html %}
</div>
Expand Down Expand Up @@ -99,9 +99,9 @@
<!-- Header for screens with width <= 1215px -->
<div class="sticky-top bg-white container-fluid flex-fill w-100" id="secondHeader">
<nav class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand" href="{{ site.baseurl }}/">
<img src="{{ site.baseurl }}/assets/logoOpt.png" alt="Sugar Labs logo" height="80" width="240">
</a>
<div class="logo2">
<a href="{{ site.baseurl }}/">{% include logo.svg %}</a>
</div>
<button
class="navbar-toggler"
type="button"
Expand Down
5 changes: 5 additions & 0 deletions css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@
.intro_img>.container>div>div>div>p {
padding: 0 10px;
}

/*This is for navLogo of navbar */
#navLogo {
margin-top: 6px;
}

0 comments on commit 2cf8503

Please sign in to comment.