strava embed

This commit is contained in:
2024-06-12 18:57:33 -05:00
parent 7486949ff9
commit 06e072b050
3 changed files with 16 additions and 5 deletions

View File

@@ -835,6 +835,7 @@ a {
padding: 10px; padding: 10px;
border: solid 2px #553; border: solid 2px #553;
background-image: url("/static/photos/wood.jpg"); background-image: url("/static/photos/wood.jpg");
cursor: pointer;
} }
.bookshelfHeader { .bookshelfHeader {

View File

@@ -62,9 +62,21 @@
}} }}
</div> </div>
<br /> <br />
{% from 'partials/bookshelf.html' import bookshelf %} {{ <div>
bookshelf(var.books) }} {% from 'partials/bookshelf.html' import bookshelf %} {{
bookshelf(var.books) }}
</div>
<br /> <br />
<div>
<iframe
height="200"
max-width="360"
frameborder="0"
allowtransparency="true"
scrolling="yes"
src="https://www.strava.com/athletes/139855203/latest-rides/95b8e0be96e32b8de82254d1c6627723a35eea6f"
></iframe>
</div>
<div class="pointer" onClick="goto('duck')"> <div class="pointer" onClick="goto('duck')">
<img <img
alt="duck spinning" alt="duck spinning"

View File

@@ -1,6 +1,5 @@
{% macro bookshelf(books) %} {% macro bookshelf(books) %}
<a href="/books"> <div class="bookshelf" onclick="goto('books')">
<div class="bookshelf">
<div class="flex"> <div class="flex">
<h4 class="bookshelfHeader">Check out the things I read:</h4> <h4 class="bookshelfHeader">Check out the things I read:</h4>
<p class='nomargin'>See More >></p> <p class='nomargin'>See More >></p>
@@ -19,5 +18,4 @@
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
</a>
{% endmacro %} {% endmacro %}