mirror of
https://github.com/godotengine/godot-website.git
synced 2025-12-31 09:48:43 +03:00
Merge branch 'master' into made-with-godot-section
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<a class="card-download-other" href="/download/archive/{{ release_version.name }}-{{ release_version.flavor }}">
|
||||
Export templates and other downloads
|
||||
</a>
|
||||
<a class="card-download-donate" href="/donate">
|
||||
<a class="card-download-donate" href="/donate/">
|
||||
Make a Donation
|
||||
</a>
|
||||
</div>
|
||||
|
||||
80
_includes/download/download-section.html
Normal file
80
_includes/download/download-section.html
Normal file
@@ -0,0 +1,80 @@
|
||||
<style>
|
||||
.section-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) {
|
||||
.section-download {
|
||||
padding: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.section-download h2 {
|
||||
color: var(--dark-color-text-title);
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.section-download p {
|
||||
color: var(--dark-color-text);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.section-download-ready {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 26px;
|
||||
}
|
||||
|
||||
.section-download-ready .btn-download {
|
||||
min-width: 310px;
|
||||
}
|
||||
|
||||
.section-download .download-3 {
|
||||
text-align: center;
|
||||
color: #ffffffd6;
|
||||
font-weight: 100;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.section-download .download-3 a {
|
||||
color: inherit;
|
||||
text-decoration-color: inherit;
|
||||
text-decoration-thickness: 1px;
|
||||
}
|
||||
.section-download .download-3 a:hover {
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<div id="call-to-action" class="container card section-download">
|
||||
{% if include.title %}
|
||||
<h2>{{ include.title }}</h2>
|
||||
{% else %}
|
||||
<h2>Ready to start?</h2>
|
||||
{% endif %}
|
||||
|
||||
<div class="section-download-ready">
|
||||
{% assign stable_version_3 = site.data.versions | find: "featured", "3" %}
|
||||
{% assign stable_version_4 = site.data.versions | find: "featured", "4" %}
|
||||
|
||||
<p>Download the <strong>latest version of Godot 4</strong> right now and begin your creative journey!</p>
|
||||
<a href="/download/windows/" class="btn btn-download set-os-download-url" data-version="4"
|
||||
title="Download the latest version of Godot 4">
|
||||
<div class="download-title">Download Latest</div>
|
||||
<div class="download-hint">{{ stable_version_4.name }}</div>
|
||||
</a>
|
||||
|
||||
<span class="download-3">Looking for <a href="/download/windows/" class="set-os-download-url" data-version="3" title="Download the long-term support version of Godot 3">Godot 3</a> or a <a href="/download/archive">previous version</a>?</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -14,37 +14,38 @@
|
||||
<div id="sitemap">
|
||||
<ul class="sitemap-group">
|
||||
<li><strong>Get Godot</strong></li>
|
||||
<li><a href="/download/windows" class="set-os-download-url">Download</a></li>
|
||||
<li><a href="/download/windows/" class="set-os-download-url">Download</a></li>
|
||||
<li><a href="/download/archive/">Release Archive</a></li>
|
||||
<li><a href="https://editor.godotengine.org/releases/latest/">Web Editor</a></li>
|
||||
<li> </li>
|
||||
<li><strong>Public Relations</strong></li>
|
||||
<li><a href="/blog">Blog</a></li>
|
||||
<li><a href="/community">Communities and Events</a></li>
|
||||
<li><a href="/press">Press Kit</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/community/">Communities and Events</a></li>
|
||||
<li><a href="/press/">Press Kit</a></li>
|
||||
</ul>
|
||||
<ul class="sitemap-group">
|
||||
<li><strong>About Godot</strong></li>
|
||||
<li><a href="/features">Features</a></li>
|
||||
<li><a href="/showcase">Showcase</a></li>
|
||||
<li><a href="/education">Education</a></li>
|
||||
<li><a href="/license">License</a></li>
|
||||
<li><a href="/code-of-conduct">Code of Conduct</a></li>
|
||||
<li><a href="/privacy-policy">Privacy Policy</a></li>
|
||||
<li><a href="/features/">Features</a></li>
|
||||
<li><a href="/showcase/">Showcase</a></li>
|
||||
<li><a href="/education/">Education</a></li>
|
||||
<li><a href="/license/">License</a></li>
|
||||
<li><a href="/code-of-conduct/">Code of Conduct</a></li>
|
||||
<li><a href="/privacy-policy/">Privacy Policy</a></li>
|
||||
<li><a href="https://fund.godotengine.org">Donate</a></li>
|
||||
</ul>
|
||||
<ul class="sitemap-group">
|
||||
<li><strong>Project Team</strong></li>
|
||||
<li><a href="/governance">Governance</a></li>
|
||||
<li><a href="/teams">Teams</a></li>
|
||||
<li><a href="/governance/">Governance</a></li>
|
||||
<li><a href="/teams/">Teams</a></li>
|
||||
<li> </li>
|
||||
<li><strong>Extra Resources</strong></li>
|
||||
<li><a href="/asset-library/asset">Asset Library</a></li>
|
||||
<li><a href="https://godotengine.org/asset-library/asset">Asset Library</a></li>
|
||||
<li><a href="https://docs.godotengine.org">Documentation</a></li>
|
||||
<li><a href="https://github.com/godotengine">Code Repository</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="social" class="dark-desaturate">
|
||||
<h4 class="text-right"><a href="/contact">Contact us</a></h4>
|
||||
<h4 class="text-right"><a href="/contact/">Contact us</a></h4>
|
||||
<div class="flex justify-space-between" style="gap: 3px;">
|
||||
<a href="https://github.com/godotengine" target="_blank" rel="noopener">
|
||||
<img src="/assets/footer/github_logo.svg" width="32" height="32" alt="GitHub">
|
||||
@@ -110,7 +111,7 @@
|
||||
link_platform = 'linux';
|
||||
}
|
||||
|
||||
link.href = `/${link_slug}/${link_platform}`;
|
||||
link.href = `/${link_slug}/${link_platform}/`;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -13,18 +13,18 @@
|
||||
|
||||
<nav id="nav">
|
||||
<ul class="left">
|
||||
<li><a href="/features">Features</a></li>
|
||||
<li class="only-on-mobile"><a href="/showcase">Showcase</a></li>
|
||||
<li><a href="/blog">Blog</a></li>
|
||||
<li><a href="/community">Community</a></li>
|
||||
<li><a href="/contact">About</a></li>
|
||||
<li><a href="/features/">Features</a></li>
|
||||
<li class="only-on-mobile"><a href="/showcase/">Showcase</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/community/">Community</a></li>
|
||||
<li><a href="/contact/">About</a></li>
|
||||
<li><a href="https://godotengine.org/asset-library/asset">Assets</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class="right">
|
||||
<li><a href="/download/windows" class="set-os-download-url">Download</a></li>
|
||||
<li><a href="https://docs.godotengine.org">Learn</a></li>
|
||||
<li><a href="https://docs.godotengine.org/en/stable/community/contributing/index.html">Contribute</a></li>
|
||||
<li><a href="/download/windows/" class="set-os-download-url">Download</a></li>
|
||||
<li><a href="https://docs.godotengine.org">Docs</a></li>
|
||||
<li><a href="https://docs.godotengine.org/en/stable/contributing/how_to_contribute.html">Contribute</a></li>
|
||||
{% comment %}
|
||||
We add the control character at the end to force the heart to render as text and not as an emoji.
|
||||
{% endcomment %}
|
||||
|
||||
Reference in New Issue
Block a user