[gimp-web] themes: add a button for "GIMP on Microsoft Store".
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web] themes: add a button for "GIMP on Microsoft Store".
- Date: Sat, 18 Jun 2022 11:07:36 +0000 (UTC)
commit 05a168fb4a4ff7c89fa19a18c8ab32d82d350918
Author: Jehan <jehan girinstud io>
Date: Sat Jun 18 13:04:24 2022 +0200
themes: add a button for "GIMP on Microsoft Store".
I hesitated because it doesn't bring anything different from the direct
installer link (it is technically *exactly* the same as the store just
uses this installer). But I guess some people might still prefer to go
through the store and won't care about the non-difference. And it's
probably good to emphasize the fact we have an official build there,
hence this is the one link to use if you want a store-installed
application.
Give the button a new color. I picked the Microsoft blue.
themes/newgimp/static/css/gimp.css | 4 ++++
themes/newgimp/templates/downloads.html | 22 +++++++++++++++-------
2 files changed, 19 insertions(+), 7 deletions(-)
---
diff --git a/themes/newgimp/static/css/gimp.css b/themes/newgimp/static/css/gimp.css
index 6171b3fe..a88dad09 100644
--- a/themes/newgimp/static/css/gimp.css
+++ b/themes/newgimp/static/css/gimp.css
@@ -773,6 +773,10 @@ a.donate-orange {
background-color: #008080;
}
+#download-ms-store {
+ background-color: #27a3ed;
+}
+
.download-button a {
color: white;
font-weight: bold;
diff --git a/themes/newgimp/templates/downloads.html b/themes/newgimp/templates/downloads.html
index 0f9ebedf..9e01876b 100644
--- a/themes/newgimp/templates/downloads.html
+++ b/themes/newgimp/templates/downloads.html
@@ -334,21 +334,29 @@
directly
</a>
</span>
+ <span class='download-button' id='download-ms-store'>
+ <a
+ href="ms-windows-store://pdp/?productid=XPDM27W10192Q0"
+ title="Download GIMP on Microsoft Store" id='win-store-download-link' >
+ GIMP {{ WINDOWS_VER }}<br/>
+ on Microsoft Store
+ </a>
+ </span>
</p>
-
-
<small>
<p>
The download links above will attempt to download GIMP from one of our trusted <a
href="/donating/sponsors.html">mirror servers</a>.
If the mirrors do not work or you would rather download directly from our server, you can get
the <a href="//download.gimp.org/pub/gimp/v{{ WINDOWS_MAJOR_MINOR_VER }}/windows/">direct download here</a>.
</p>
<p>
- GIMP is also <a
- href="https://apps.microsoft.com/store/detail/gimp/XPDM27W10192Q0">available
- through the <strong>Microsoft Store</strong></a>. We recommend using <a
- href="ms-windows-store://pdp/?productid=XPDM27W10192Q0">this
- direct store link</a> as our team cannot vouch for
+ <a href="https://apps.microsoft.com/store/detail/gimp/XPDM27W10192Q0">GIMP
+ on the <strong>Microsoft Store</strong></a> is the <a
+ href="/news/2022/06/18/gimp-2-10-32-on-microsoft-store/#limitations-of-stores-gimp">same
+ as the direct link installer</a>. If you wish to install
+ through the store, we recommend using <a
+ href="ms-windows-store://pdp/?productid=XPDM27W10192Q0">the
+ provided store link</a> as our team cannot vouch for
third-party packages of our code.
</p>
</small>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]