Skip to content

Commit

Permalink
add sponsors logo & footer
Browse files Browse the repository at this point in the history
  • Loading branch information
minh-ton committed Aug 17, 2024
1 parent 49f5323 commit 751c5e3
Show file tree
Hide file tree
Showing 4 changed files with 2,424 additions and 6 deletions.
Binary file modified resources/icons/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,424 changes: 2,421 additions & 3 deletions resources/icons/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,8 @@ <h2 style="display:inline">
<span id="footer-content">
<br>
{{_('proudly powered by %(dmoj)s', dmoj=safe('<a style="color: #808080" href="https://dmoj.ca"><b>DMOJ</b></a>'))}} |
{{_('follow us on %(github)s', github=safe('<a style="color: #808080" href="https://github.com/qhhoj/online-judge"><b>GitHub</b></a>'))}}
{{_('follow us on %(github)s', github=safe('<a style="color: #808080" href="https://github.com/qhhoj/online-judge"><b>GitHub</b></a>'))}} |
{{_('sponsored by %(fpt)s', fpt=safe('<a style="color: #808080" href="https://www.facebook.com/fsofthue/"><b>FPT Software Hue</b></a>'))}}
{% if misc_config.footer %}
{{ misc_config.footer|safe }} |
{% endif %}
Expand Down
3 changes: 1 addition & 2 deletions templates/site-logo-fragment.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
{% elif logo_override_image is defined and logo_override_image %}
<img src="{{ logo_override_image|camo }}" alt="{{ SITE_NAME }}" height="40" style="border: none; padding-top: 4px">
{% else %}
<img src="{{ static('icons/logo.svg') }}" alt="{{ SITE_NAME }}" width="130" height="40"
onerror="this.src=&quot;{{ static('icons/logo.png') }}&quot;; this.onerror=null" style="border: none; padding-top: 4px">
<img src="{{ static('icons/logo.png') }}" alt="{{ SITE_NAME }}" width="185" height="32" style="border: none; padding-top: 4px">
{% endif %}

0 comments on commit 751c5e3

Please sign in to comment.