diff --git a/static/base.css b/static/base.css index 3e800cf..ec5ec2d 100644 --- a/static/base.css +++ b/static/base.css @@ -74,6 +74,14 @@ body .banner > *:first-child { font-size: 1.5em; } +body .columns { + display: flex; +} + +body .columns > *:not(:last-child) { + margin-right: 20px; +} + @media (prefers-color-scheme: dark) { body { color: white; diff --git a/static/scripts/gitea.js b/static/scripts/gitea.js new file mode 100644 index 0000000..115727c --- /dev/null +++ b/static/scripts/gitea.js @@ -0,0 +1,11 @@ +const apiURL = "https://sauce.pizzawednes.day/api/v1/" + +const jsonify = response => response.json() + +/** + * Fetches a manifest of all public Github repositories belonging to a given user. + * + * @param {string} username Identifier of the target Github user. + * @returns @see Promise of an array containing all public repository metadata for a given user. + */ +export const fetchRepos = username => fetch(`${apiURL}users/${username}/repos`).then(jsonify) diff --git a/static/showreel/afterglow-menu.png b/static/showreel/afterglow-menu.png index 88c64c7..2c818fc 100644 --- a/static/showreel/afterglow-menu.png +++ b/static/showreel/afterglow-menu.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d377d435cc8d58cea667f88ba70660d51de880d24038c61bf59fdf15d1808e0e -size 451537 +oid sha256:f75013791e7dd73f0a3f5300d23b59f50e4280b6a25c480e91e6ddcd0fff84c7 +size 249527 diff --git a/static/showreel/le-mans-ultimate-hud.png b/static/showreel/le-mans-ultimate-hud.png new file mode 100644 index 0000000..693a02d --- /dev/null +++ b/static/showreel/le-mans-ultimate-hud.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0dd411484d3ac0df317b3c33de0e4af605b8c8e136daa28390db091f1fc32159 +size 963616 diff --git a/templates/base.html b/templates/base.html index 00bf53a..39fdd91 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,12 +11,12 @@