Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/yarn-update
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ yarn upgrade-interactive

# Clipboard
cp node_modules/clipboard/dist/clipboard.min.js ../../weblate_web/static/vendor/clipboard.js
cp node_modules/simpleslider-js/dist/simpleSlider.min.js ../../weblate_web/static/vendor/simpleSlider.min.js
cp node_modules/simpleslider-js/dist/simpleSlider.min.css ../../weblate_web/static/vendor/simpleSlider.min.css


# Source Sans/Code Pro fonts
mkdir -p ../../weblate_web/static/font-source
Expand Down
1 change: 1 addition & 0 deletions scripts/yarn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"license": "GPL-3.0+",
"dependencies": {
"clipboard": "^2.0.6",
"simpleslider-js": "^1.9.0",
"source-code-pro": "2.30.2",
"source-sans-pro": "3.6.0"
}
Expand Down
10 changes: 10 additions & 0 deletions weblate_web/static/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,13 @@ ready(() => {

new ClipboardJS("[data-clipboard-text]");
});

if (typeof SimpleSlider === 'function'){

new SimpleSlider('.page-slider', {
slidesPerView: {
850: 2,
1165: 3
}
});
}
Binary file added weblate_web/static/img/Dyson-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/Logo-Turris.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/LogoFreedomBox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/LogoOpenSuse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/LogoPhpMyAdmin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/LogoSonicPi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/Quotes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/Siemens-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/YouGov-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/chevron.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/chevron1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/donald.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/dyson-group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions weblate_web/static/img/next.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions weblate_web/static/img/prev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/siemens-group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added weblate_web/static/img/siemens-log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions weblate_web/static/vendor/simpleSlider.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions weblate_web/static/vendor/simpleSlider.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions weblate_web/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
<link rel="stylesheet" href="{% if LANGUAGE_BIDI %}{% static "style-rtl.css" %}{% else %}{% static "style.css" %}{% endif %}" />
{% endcompress %}

{% if request.resolver_match.url_name == 'home' %}
<link rel="stylesheet" href="{% static 'vendor/simpleSlider.min.css' %}" />
{% endif %}


<link rel="stylesheet" href="https://s.weblate.org/cdn/font-source/source-sans-pro.css">
<link rel="stylesheet" href="https://s.weblate.org/cdn/font-source/source-code-pro.css">

Expand Down Expand Up @@ -125,6 +130,10 @@
{% include "snippets/languages.html" %}
</section>

{% if request.resolver_match.url_name == 'home' %}
<script src="{% static 'vendor/simpleSlider.min.js' %}" /></script>
{% endif %}

{% compress js %}
<script src="{% static "vendor/clipboard.js" %}"></script>
<script src="{% static "custom.js" %}"></script>
Expand Down
7 changes: 6 additions & 1 deletion weblate_web/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ <h2 class="section-title hp-style">{% trans "Robust feature set" %}</h2>
<a class="button inline border rev" href="{% url 'features' %}">{% trans "Explore all features" %}</a>
</div>
<div class="wrap supporters">
<h2 class="section-title hp-style">{% trans "Users and Supporters" %}</h2>
<h2 class="section-title hp-style">{% trans "Companies using Weblate" %}</h2>
{% include "snippets/reviews.html" %}
</div>

<div class="wrap supporters">
<h2 class="section-title hp-style">{% trans "SUPPORTERS & OPEN SOURCE PROJECTS" %}</h2>
Comment thread
nijel marked this conversation as resolved.
Outdated
{% include "snippets/users.html" %}
</div>
</div>
Expand Down
Loading