From bb0f0a41c3cb1a69dbf7f96ce9c4d98eb9e55822 Mon Sep 17 00:00:00 2001
From: Emi <2206700+coppolaemilio@users.noreply.github.com>
Date: Fri, 3 May 2024 12:08:59 +0200
Subject: [PATCH] Consolidate download sections and remove LTS terminology for
Godot 3
---
_includes/download/download-section.html | 80 ++++++++++++++++++++++++
_includes/footer.html | 1 +
_layouts/download.html | 4 +-
pages/download/preview.html | 77 +----------------------
pages/features.html | 77 +----------------------
pages/home.html | 3 +-
6 files changed, 85 insertions(+), 157 deletions(-)
create mode 100644 _includes/download/download-section.html
diff --git a/_includes/download/download-section.html b/_includes/download/download-section.html
new file mode 100644
index 0000000000..4be95377bc
--- /dev/null
+++ b/_includes/download/download-section.html
@@ -0,0 +1,80 @@
+
+
+ {% if include.title %}
+
{{ include.title }}
+ {% else %}
+
Ready to start?
+ {% endif %}
+
+
+
\ No newline at end of file
diff --git a/_includes/footer.html b/_includes/footer.html
index c81faa9c4c..00442f1e46 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -15,6 +15,7 @@
- Get Godot
- Download
+ - Release Archive
- Web Editor
-
- Public Relations
diff --git a/_layouts/download.html b/_layouts/download.html
index 98afa55d57..f81a61f88f 100644
--- a/_layouts/download.html
+++ b/_layouts/download.html
@@ -49,9 +49,7 @@ layout: default
{% endfor %}
- For the LTS version, Download Godot 3.
-
- You can find previous releases in the download archive.
+ Looking for Godot 3 or a previous version?.
diff --git a/pages/download/preview.html b/pages/download/preview.html
index 073160c1c9..bd2fe98dbc 100644
--- a/pages/download/preview.html
+++ b/pages/download/preview.html
@@ -25,60 +25,6 @@ layout: default
gap: 16px;
}
- .stable-download {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- gap: 16px;
- background-color: var(--dark-color);
- padding: 24px;
- padding-bottom: 60px;
- width: auto;
- max-width: 100%;
- }
- @media (max-width: 900px) {
- .stable-download {
- padding: 20px;
- }
- }
-
- .stable-download h2 {
- color: var(--dark-color-text-title);
- font-weight: 600;
- margin: 0;
- margin-bottom: 16px;
- }
-
- .stable-download p {
- color: var(--dark-color-text);
- margin: 0;
- }
-
- .stable-download-ready {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- gap: 26px;
- }
-
- .stable-download-ready .btn-download {
- min-width: 310px;
- }
-
- .stable-download-ready .btn-download:nth-of-type(2n) {
- background-color: rgb(132 151 174 / 68%);
- -webkit-backdrop-filter: blur(4px);
- backdrop-filter: blur(4px);
- }
- .stable-download-ready .btn-download:nth-of-type(2n) .download-title {
- color: #f7f7f7;
- }
- .stable-download-ready .btn-download:nth-of-type(2n) .download-hint {
- background-color: var(--primary-color-subdued);
- }
-
footer {
margin-top: 0;
}
@@ -124,27 +70,6 @@ layout: default
-
-
Need a stable version?
-
-
-
+{% include /download/download-section.html title="Need a stable version?" %}
{% include footer.html %}
diff --git a/pages/features.html b/pages/features.html
index 7c6f6cb35b..4ad6348a97 100644
--- a/pages/features.html
+++ b/pages/features.html
@@ -167,60 +167,6 @@ layout: default
color: var(--base-color-text-title);
}
- .features-download {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- gap: 16px;
- background-color: var(--dark-color);
- padding: 24px;
- padding-bottom: 60px;
- width: auto;
- max-width: 100%;
- }
- @media (max-width: 900px) {
- .features-download {
- padding: 20px;
- }
- }
-
- .features-download h2 {
- color: var(--dark-color-text-title);
- font-weight: 600;
- margin: 0;
- margin-bottom: 16px;
- }
-
- .features-download p {
- color: var(--dark-color-text);
- margin: 0;
- }
-
- .features-download-ready {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- gap: 26px;
- }
-
- .features-download-ready .btn-download {
- min-width: 310px;
- }
-
- .features-download-ready .btn-download:nth-of-type(2n) {
- background-color: rgb(132 151 174 / 68%);
- -webkit-backdrop-filter: blur(4px);
- backdrop-filter: blur(4px);
- }
- .features-download-ready .btn-download:nth-of-type(2n) .download-title {
- color: #f7f7f7;
- }
- .features-download-ready .btn-download:nth-of-type(2n) .download-hint {
- background-color: var(--primary-color-subdued);
- }
-
.features-showcase {
display: flex;
flex-direction: column;
@@ -681,27 +627,6 @@ layout: default
-
+{% include /download/download-section.html %}
{% include footer.html %}
diff --git a/pages/home.html b/pages/home.html
index 288c09b90a..1d7bc78006 100644
--- a/pages/home.html
+++ b/pages/home.html
@@ -32,7 +32,7 @@ layout: default
color: #ffffffd6;
text-shadow: 0 0 10px black;
font-weight: 100;
- font-size: 14px;
+ font-size: 15px;
}
.main-download-links .download-3 a {
@@ -191,7 +191,6 @@ layout: default
Looking for Godot 3 or a previous version?
-