Website: fix screenshot aspect ratio, embed the live demo, GitHub button in hero

The screenshot img tags carry width/height attributes; with only a CSS
width the height attribute won (240x2532 — stretched). height:auto fixes
it. New #demo section runs the GitHub-Pages demo in a phone frame right
on the page; nav gets a Demo link and the hero a GitHub star button.
This commit is contained in:
Duarte Santos committed 2026-07-23 15:54:25 +02:00
1 parent becd2357ff
commit ae399cd1dd
4 files changed
+29 -3

No files matched your search

+1
View File
@@ -21,6 +21,7 @@
<div class="nav-links">
<a href="/#features" class="hide-s">Features</a>
<a href="/#screens" class="hide-s">Screenshots</a>
<a href="/#demo" class="hide-s">Demo</a>
<a href="docs.html">Docs</a>
<a href="about.html" class="hide-s">About</a>
<a href="https://github.com/DuarteSantos8/openGym" rel="noopener"><span data-gh="stars">GitHub</span></a>