Skip to content

Commit

Permalink
Add the go to top arrow to every page
Browse files Browse the repository at this point in the history
Previously it was only visible on the index page. This makes it visible
on every page of the guides website.
  • Loading branch information
tombruijn committed Oct 27, 2023
1 parent 64a50a1 commit c4cc15d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
<main class="container">
{{ content }}
</main>

<button onclick="topFunction()" class="go-to-top-arrow" title="Go to top"><div class="arrow"></div></button>
{% include footer.html %}
{% include analytics.html %}
</body>
Expand Down
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ <h2>Guides in other languages</h2>
</div>
</div>

<button onclick="topFunction()" class="go-to-top-arrow" title="Go to top"><div class="arrow"></div></button>

<h2 id="guides">Welcome to Rails Girls!</h2>
<p>These are the main Rails Girls workshop guides. Start here and follow the guides in order.</p>
<ul class="guides-list">
Expand Down

0 comments on commit c4cc15d

Please sign in to comment.