Browse Source

Moving a lot of files that were in static to assets in order for building files not to be bundled for public website

Also (nearly) joining the 1MB gang on ad5001.eu lol.
master
Ad5001 2 months ago
parent
commit
b014b0d3f3
Signed by: Ad5001 GPG Key ID: EF45F9C6AFE20160
  1. 3
      assets/icons/README.md
  2. 0
      assets/icons/about.svg
  3. 0
      assets/icons/apps.svg
  4. 0
      assets/icons/bug.svg
  5. 0
      assets/icons/code.svg
  6. 0
      assets/icons/documentation.svg
  7. 0
      assets/icons/download.svg
  8. 0
      assets/icons/frameworks.svg
  9. 0
      assets/icons/free.svg
  10. 0
      assets/icons/git.svg
  11. 0
      assets/icons/keyboard.svg
  12. 0
      assets/icons/lang.svg
  13. 0
      assets/icons/license.svg
  14. 0
      assets/icons/lookup.svg
  15. 0
      assets/icons/menu.svg
  16. 0
      assets/icons/open-external.svg
  17. 0
      assets/icons/person.svg
  18. 0
      assets/icons/platform/Firefox.svg
  19. 0
      assets/icons/platform/Linux.svg
  20. 0
      assets/icons/platform/MacOSX.svg
  21. 0
      assets/icons/platform/Universal.svg
  22. 0
      assets/icons/platform/Web.svg
  23. 0
      assets/icons/platform/Windows.svg
  24. 0
      assets/icons/platforms.svg
  25. 0
      assets/icons/privacy.svg
  26. 0
      assets/icons/social/docker.svg
  27. 0
      assets/icons/social/git.svg
  28. 0
      assets/icons/social/github.svg
  29. 0
      assets/icons/social/mail.svg
  30. 0
      assets/icons/social/mastodon.svg
  31. 0
      assets/icons/social/stackoverflow.svg
  32. 0
      assets/icons/social/twitter.svg
  33. 0
      assets/icons/touch.svg
  34. 0
      assets/icons/transparent.svg
  35. 0
      assets/icons/wrench.svg
  36. 0
      assets/img/badges/en/amo-text.svg
  37. 0
      assets/img/badges/en/amo.svg
  38. 0
      assets/img/badges/en/export.sh
  39. 0
      assets/img/badges/en/flathub-text.svg
  40. 0
      assets/img/badges/en/flathub.svg
  41. 0
      assets/img/badges/en/launchpad-text.svg
  42. 0
      assets/img/badges/en/launchpad.svg
  43. 0
      assets/img/badges/en/snapcraft-text.svg
  44. 0
      assets/img/badges/en/snapcraft.svg
  45. 0
      assets/img/badges/fr/amo-text.svg
  46. 0
      assets/img/badges/fr/amo.svg
  47. 0
      assets/img/badges/fr/export.sh
  48. 0
      assets/img/badges/fr/flathub-text.svg
  49. 0
      assets/img/badges/fr/flathub.svg
  50. 0
      assets/img/badges/fr/launchpad-text.svg
  51. 0
      assets/img/badges/fr/launchpad.svg
  52. 0
      assets/img/badges/fr/snapcraft-text.svg
  53. 0
      assets/img/badges/fr/snapcraft.svg
  54. 11
      layouts/partials/badge.html
  55. BIN
      static/fonts/metropolis/Metropolis-Black.otf
  56. BIN
      static/fonts/metropolis/Metropolis-BlackItalic.otf
  57. BIN
      static/fonts/metropolis/Metropolis-ExtraBold.otf
  58. BIN
      static/fonts/metropolis/Metropolis-ExtraBoldItalic.otf
  59. BIN
      static/fonts/metropolis/Metropolis-ExtraLight.otf
  60. BIN
      static/fonts/metropolis/Metropolis-ExtraLightItalic.otf
  61. BIN
      static/fonts/metropolis/Metropolis-Medium.otf
  62. BIN
      static/fonts/metropolis/Metropolis-MediumItalic.otf
  63. BIN
      static/fonts/metropolis/Metropolis-SemiBold.otf
  64. BIN
      static/fonts/metropolis/Metropolis-SemiBoldItalic.otf
  65. BIN
      static/fonts/metropolis/Metropolis-Thin.otf
  66. BIN
      static/fonts/metropolis/Metropolis-ThinItalic.otf

3
assets/icons/README.md

@ -0,0 +1,3 @@
# About these icons.
Theses icons are mostly from Iconmonstr, but some of them are made by myself. They are used in the "omegicons" font bundle, and are not directly used by Hugo in order NOT to be shipped with the website.

0
static/icons/about.svg → assets/icons/about.svg

Before

Width:  |  Height:  |  Size: 283 B

After

Width:  |  Height:  |  Size: 283 B

0
static/icons/apps.svg → assets/icons/apps.svg

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 219 B

0
static/icons/bug.svg → assets/icons/bug.svg

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
static/icons/code.svg → assets/icons/code.svg

Before

Width:  |  Height:  |  Size: 284 B

After

Width:  |  Height:  |  Size: 284 B

0
static/icons/documentation.svg → assets/icons/documentation.svg

Before

Width:  |  Height:  |  Size: 289 B

After

Width:  |  Height:  |  Size: 289 B

0
static/icons/download.svg → assets/icons/download.svg

Before

Width:  |  Height:  |  Size: 150 B

After

Width:  |  Height:  |  Size: 150 B

0
static/icons/frameworks.svg → assets/icons/frameworks.svg

Before

Width:  |  Height:  |  Size: 278 B

After

Width:  |  Height:  |  Size: 278 B

0
static/icons/free.svg → assets/icons/free.svg

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

0
static/icons/git.svg → assets/icons/git.svg

Before

Width:  |  Height:  |  Size: 842 B

After

Width:  |  Height:  |  Size: 842 B

0
static/icons/keyboard.svg → assets/icons/keyboard.svg

Before

Width:  |  Height:  |  Size: 602 B

After

Width:  |  Height:  |  Size: 602 B

0
static/icons/lang.svg → assets/icons/lang.svg

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

0
static/icons/license.svg → assets/icons/license.svg

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

0
static/icons/lookup.svg → assets/icons/lookup.svg

Before

Width:  |  Height:  |  Size: 437 B

After

Width:  |  Height:  |  Size: 437 B

0
static/icons/menu.svg → assets/icons/menu.svg

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

0
static/icons/open-external.svg → assets/icons/open-external.svg

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 211 B

0
static/icons/person.svg → assets/icons/person.svg

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 344 B

0
static/icons/platform/Firefox.svg → assets/icons/platform/Firefox.svg

Before

Width:  |  Height:  |  Size: 819 B

After

Width:  |  Height:  |  Size: 819 B

0
static/icons/platform/Linux.svg → assets/icons/platform/Linux.svg

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

0
static/icons/platform/MacOSX.svg → assets/icons/platform/MacOSX.svg

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 481 B

0
static/icons/platform/Universal.svg → assets/icons/platform/Universal.svg

Before

Width:  |  Height:  |  Size: 177 B

After

Width:  |  Height:  |  Size: 177 B

0
static/icons/platform/Web.svg → assets/icons/platform/Web.svg

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

0
static/icons/platform/Windows.svg → assets/icons/platform/Windows.svg

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 224 B

0
static/icons/platforms.svg → assets/icons/platforms.svg

Before

Width:  |  Height:  |  Size: 770 B

After

Width:  |  Height:  |  Size: 770 B

0
static/icons/privacy.svg → assets/icons/privacy.svg

Before

Width:  |  Height:  |  Size: 302 B

After

Width:  |  Height:  |  Size: 302 B

0
static/icons/social/docker.svg → assets/icons/social/docker.svg

Before

Width:  |  Height:  |  Size: 651 B

After

Width:  |  Height:  |  Size: 651 B

0
static/icons/social/git.svg → assets/icons/social/git.svg

Before

Width:  |  Height:  |  Size: 843 B

After

Width:  |  Height:  |  Size: 843 B

0
static/icons/social/github.svg → assets/icons/social/github.svg

Before

Width:  |  Height:  |  Size: 815 B

After

Width:  |  Height:  |  Size: 815 B

0
static/icons/social/mail.svg → assets/icons/social/mail.svg

Before

Width:  |  Height:  |  Size: 351 B

After

Width:  |  Height:  |  Size: 351 B

0
static/icons/social/mastodon.svg → assets/icons/social/mastodon.svg

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
static/icons/social/stackoverflow.svg → assets/icons/social/stackoverflow.svg

Before

Width:  |  Height:  |  Size: 448 B

After

Width:  |  Height:  |  Size: 448 B

0
static/icons/social/twitter.svg → assets/icons/social/twitter.svg

Before

Width:  |  Height:  |  Size: 608 B

After

Width:  |  Height:  |  Size: 608 B

0
static/icons/touch.svg → assets/icons/touch.svg

Before

Width:  |  Height:  |  Size: 913 B

After

Width:  |  Height:  |  Size: 913 B

0
static/icons/transparent.svg → assets/icons/transparent.svg

Before

Width:  |  Height:  |  Size: 359 B

After

Width:  |  Height:  |  Size: 359 B

0
static/icons/wrench.svg → assets/icons/wrench.svg

Before

Width:  |  Height:  |  Size: 605 B

After

Width:  |  Height:  |  Size: 605 B

0
static/img/badges/en/amo-text.svg → assets/img/badges/en/amo-text.svg

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

0
static/img/badges/en/amo.svg → assets/img/badges/en/amo.svg

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

0
static/img/badges/en/export.sh → assets/img/badges/en/export.sh

0
static/img/badges/en/flathub-text.svg → assets/img/badges/en/flathub-text.svg

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

0
static/img/badges/en/flathub.svg → assets/img/badges/en/flathub.svg

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

0
static/img/badges/en/launchpad-text.svg → assets/img/badges/en/launchpad-text.svg

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

0
static/img/badges/en/launchpad.svg → assets/img/badges/en/launchpad.svg

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

0
static/img/badges/en/snapcraft-text.svg → assets/img/badges/en/snapcraft-text.svg

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

0
static/img/badges/en/snapcraft.svg → assets/img/badges/en/snapcraft.svg

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

0
static/img/badges/fr/amo-text.svg → assets/img/badges/fr/amo-text.svg

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

0
static/img/badges/fr/amo.svg → assets/img/badges/fr/amo.svg

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

0
static/img/badges/fr/export.sh → assets/img/badges/fr/export.sh

0
static/img/badges/fr/flathub-text.svg → assets/img/badges/fr/flathub-text.svg

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

0
static/img/badges/fr/flathub.svg → assets/img/badges/fr/flathub.svg

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

0
static/img/badges/fr/launchpad-text.svg → assets/img/badges/fr/launchpad-text.svg

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

0
static/img/badges/fr/launchpad.svg → assets/img/badges/fr/launchpad.svg

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

0
static/img/badges/fr/snapcraft-text.svg → assets/img/badges/fr/snapcraft-text.svg

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

0
static/img/badges/fr/snapcraft.svg → assets/img/badges/fr/snapcraft.svg

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

11
layouts/partials/badge.html

@ -1,2 +1,11 @@
<img src="/img/badges/{{ .Lang }}/{{ .Icon }}.svg" alt="{{ i18n .Alt }}" class="badge center" loading=lazy/>
{{/* Fetch a new badge from assets. TODO: Convertion from the -text version when hugo implements it.*/}}
{{ $scratch := newScratch }}
{{ $scratch.Set "badge" "/img/badges/" }}
{{ $scratch.Add "badge" .Lang }}
{{ $scratch.Add "badge" "/" }}
{{ $scratch.Add "badge" .Icon }}
{{ $scratch.Add "badge" ".svg" }}
{{ $badgeimg := resources.Get ($scratch.Get "badge") }}
<img src="{{ $badgeimg.Permalink }}" alt="{{ i18n .Alt }}" class="badge center" loading=lazy/>

BIN
static/fonts/metropolis/Metropolis-Black.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-BlackItalic.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-ExtraBold.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-ExtraBoldItalic.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-ExtraLight.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-ExtraLightItalic.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-Medium.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-MediumItalic.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-SemiBold.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-SemiBoldItalic.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-Thin.otf

Binary file not shown.

BIN
static/fonts/metropolis/Metropolis-ThinItalic.otf

Binary file not shown.
Loading…
Cancel
Save