Skip to content

Commit

Permalink
Merge pull request #73 from sbrunk/small-website-fixes
Browse files Browse the repository at this point in the history
Improve landing page for smaller screens and remove double link to sources
  • Loading branch information
sbrunk authored Feb 7, 2024
2 parents c7c769c + 45fc15d commit 2dfa388
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions project/SiteSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ object StorchSitePlugin extends AutoPlugin {
Root / "api" / "index.html",
HeliumIcon.api,
options = Styles("svg-link")
),
IconLink.external(
scmInfo.value.fold("https://github.com/sbrunk/storch")(_.browseUrl.toString),
HeliumIcon.github,
options = Styles("svg-link")
)
// IconLink.external("https://discord.gg/XF3CXcMzqD", HeliumIcon.chat),
// IconLink.external("https://twitter.com/typelevel", HeliumIcon.twitter)
Expand Down
2 changes: 1 addition & 1 deletion site/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@

.teasers {
margin: 15px auto 0 auto;
}
}
8 changes: 4 additions & 4 deletions site/src/landing-page.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="teasers" style="padding-top: 0;">

<div class="teaser" style="min-width: 580px;">
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/ZoJanBS9kw8?si=sNssUCy4VFavgONu" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<div class="teaser" style="min-width: 45%;">
<iframe style="width: 100%; aspect-ratio: 16 / 9;" src="https://www.youtube-nocookie.com/embed/ZoJanBS9kw8?si=sNssUCy4VFavgONu" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

<div class="teaser" style="min-width: 660px; margin-top: -20px;">
<script id="asciicast-548330" src="https://asciinema.org/a/548330.js" async data-autoplay="true" data-speed="32" data-rows=24></script>
<div class="teaser" style="min-width: 45%; margin-top: -20px;">
<script id="asciicast-548330" src="https://asciinema.org/a/548330.js" async data-autoplay="true" data-speed="32" data-rows=25></script>
</div>

</div>
Expand Down

0 comments on commit 2dfa388

Please sign in to comment.