Skip to content

Commit

Permalink
Title link (#53)
Browse files Browse the repository at this point in the history
* Make title link to home page

* Make title link to home page, make title stay centered

---------

Co-authored-by: Casper Beckman <[email protected]>
Co-authored-by: William Kraft <[email protected]>
  • Loading branch information
3 people authored Sep 13, 2024
1 parent a2ebae7 commit a3e7233
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,9 @@
font-size: 1.1em;
padding-top: 0.4em;
z-index: -1;
a {
color: inherit;
text-decoration: inherit;
}
}
}
1 change: 1 addition & 0 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default defineComponent({
{ !this.hideBackButton &&
<button onClick={this.goBack} data-test="navbarBackButton"><img src={backImage} alt="Gå tillbaka"/></button> }
</div>
<div class="title"><a href="https://f.kth.se/sangbok">Sångboken</a></div>
<a class="title" href="https://f.kth.se/sangbok">Sångboken</a>
<div style="float: right;" data-test="settingsButtonWrapper">
{!this.showSettings && <button onClick={() => { this.showSettings = true }} data-test="navbarShowSettingsButton"><img src={settingsImage} alt="Visa inställningar" /></button>}
Expand Down

0 comments on commit a3e7233

Please sign in to comment.