mirror of
https://github.com/godotengine/godot-website.git
synced 2025-12-31 09:48:43 +03:00
Add links to priorities page in the header and on the Features page (#1216)
This commit is contained in:
@@ -12,6 +12,7 @@ header:
|
||||
donate: Spenden
|
||||
language: Sprache
|
||||
console_support: Konsolen-Support
|
||||
priorities: Prioritäten
|
||||
events: Veranstaltungen
|
||||
forum: Forum
|
||||
footer:
|
||||
|
||||
@@ -13,6 +13,7 @@ header:
|
||||
language: Language
|
||||
events: Events
|
||||
console_support: Console support
|
||||
priorities: Priorities
|
||||
forum: Forum
|
||||
footer:
|
||||
godot_engine: Godot Engine
|
||||
@@ -92,4 +93,4 @@ home:
|
||||
text: Found a problem with the engine? Don't forget to report it so that developers can track it down.
|
||||
foundation:
|
||||
text: "You don't need to be an engine developer to help Godot. Join the <a href='https://fund.godotengine.org/'>development fund</a> and help us make the Godot Engine even more awesome!"
|
||||
donate: Donate
|
||||
donate: Donate
|
||||
|
||||
@@ -13,6 +13,7 @@ header:
|
||||
language: Idioma
|
||||
events: Eventos
|
||||
console_support: Soporte de consolas
|
||||
priorities: Prioridades
|
||||
forum: Foro
|
||||
footer:
|
||||
godot_engine: Godot Engine
|
||||
@@ -92,4 +93,4 @@ home:
|
||||
text: ¿Encontraste un problema con el motor? No olvides reportarlo para que los desarrolladores puedan solucionarlo.
|
||||
foundation:
|
||||
text: "No necesitas ser un desarrollador para ayudar a Godot. ¡Únete al <a href='https://fund.godotengine.org/'>fondo de desarrollo</a> y ayúdanos a hacer el motor Godot aún más impresionante!"
|
||||
donate: Dona
|
||||
donate: Dona
|
||||
|
||||
@@ -12,6 +12,7 @@ header:
|
||||
donate: Donner
|
||||
language: Langue
|
||||
console_support: Support des consoles
|
||||
priorities: Priorités
|
||||
events: Événements
|
||||
forum: Forum
|
||||
footer:
|
||||
|
||||
@@ -12,6 +12,7 @@ header:
|
||||
donate: "寄付する"
|
||||
language: "言語"
|
||||
console_support: "コンソールサポート"
|
||||
priorities: "優先事項"
|
||||
events: "イベント"
|
||||
forum: "フォーラム"
|
||||
footer:
|
||||
|
||||
@@ -12,6 +12,7 @@ header:
|
||||
donate: 기부
|
||||
language: 언어
|
||||
console_support: 콘솔 지원
|
||||
priorities: 우선 순위
|
||||
events: 이벤트
|
||||
forum: 포럼
|
||||
footer:
|
||||
@@ -92,4 +93,4 @@ home:
|
||||
text: 엔진에 문제를 찾았습니까? 개발자가 추적할 수 있도록 문제를 보고하는 것을 잊지 마세요.
|
||||
foundation:
|
||||
text: "Godot를 돕기 위해 엔진 개발자가 될 필요는 없습니다. <a href='https://fund.godotengine.org/'>개발 기금</a>에 가입하시고 Godot 엔진을 더욱 멋지게 만드는 데 도움을 주세요!"
|
||||
donate: 기부
|
||||
donate: 기부
|
||||
|
||||
@@ -12,6 +12,7 @@ header:
|
||||
donate: Wpłać datek
|
||||
language: Język
|
||||
console_support: Wsparcie konsol
|
||||
priorities: Priorytety
|
||||
events: Wydarzenia
|
||||
forum: Forum
|
||||
footer:
|
||||
@@ -61,7 +62,7 @@ home:
|
||||
text: System węzłów i scen Godota daje ci zarówno moc, jak i elastyczność, do tworzenia czegokolwiek.
|
||||
script:
|
||||
title: Użyj języka odpowiedniego do zadania
|
||||
text: Zachowaj modularność swojego kodu dzięki zorientowanemu obiektowo API, używając własnego Godotowi GDScriptu, C#, C++ lub przynieś swój własny język za pomocą GDExtension.
|
||||
text: Zachowaj modularność swojego kodu dzięki zorientowanemu obiektowo API, używając własnego Godotowi GDScriptu, C#, C++ lub przynieś swój własny język za pomocą GDExtension.
|
||||
extra: Wsparcie C# jest aktualnie dostępne tylko dla platform komputerowych i mobilnych (stan na wersję 4.2).<br>Użyj Godota 3, aby uruchomić C# na platformie webowej.
|
||||
2d:
|
||||
title: Dedykowany silnik 2D
|
||||
|
||||
@@ -13,6 +13,7 @@ header:
|
||||
language: Idioma
|
||||
events: Eventos
|
||||
console_support: Suporte a consoles
|
||||
priorities: Prioridades
|
||||
forum: Fórum
|
||||
footer:
|
||||
godot_engine: Godot Engine
|
||||
@@ -92,4 +93,4 @@ home:
|
||||
text: Encontrou um problema com a engine? Não esqueça de reportá-lo para que os desenvolvedores possam rastreá-lo.
|
||||
foundation:
|
||||
text: "Você não precisa ser um desenvolvedor de engine para ajudar o Godot. Junte-se ao <a href='https://fund.godotengine.org/'>fundo de desenvolvimento</a> e nos ajude a tornar a Godot Engine ainda mais incrível!"
|
||||
donate: Doar
|
||||
donate: Doar
|
||||
|
||||
@@ -12,6 +12,7 @@ header:
|
||||
donate: 捐助
|
||||
language: 语言
|
||||
console_support: 主机支持
|
||||
priorities: 优先事项
|
||||
events: 活动
|
||||
forum: 论坛
|
||||
footer:
|
||||
|
||||
@@ -12,6 +12,7 @@ header:
|
||||
donate: 捐助
|
||||
language: 語言
|
||||
console_support: 主機支援
|
||||
priorities: 優先事項
|
||||
events: 活動
|
||||
forum: 論壇
|
||||
footer:
|
||||
|
||||
@@ -16,14 +16,15 @@
|
||||
|
||||
<nav id="nav">
|
||||
<ul class="left">
|
||||
<!-- On hover, opens a dropdown containing the link to console support page -->
|
||||
<!-- On hover, opens a dropdown containing the link to additional pages -->
|
||||
<li><a href="/features/" data-dropdown="features-dropdown">{% t header.features %}</a></li>
|
||||
<!-- Show additional links in the mobile hamburger menu -->
|
||||
<li class="mobile-only"><a href="/consoles/">{% t header.console_support %}</a></li>
|
||||
<li class="mobile-only"><a href="/priorities/">{% t header.priorities %}</a></li>
|
||||
<li><a href="/showcase/">{% t header.showcase %}</a></li>
|
||||
<li><a href="/blog/">{% t header.blog %}</a></li>
|
||||
<li><a href="/community/" data-dropdown="community-dropdown">{% t header.community %}</a></li>
|
||||
<li><a href="https://godotengine.org/asset-library/asset">{% t header.assets %}</a></li>
|
||||
<!-- Show console support link in the mobile hamburger menu -->
|
||||
<li class="mobile-only"><a href="/consoles/">{% t header.console_support %}</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class="right">
|
||||
@@ -66,11 +67,12 @@
|
||||
<!-- Dropdown menu positioned outside header to avoid backdrop-filter nesting issues -->
|
||||
<div class="nav-dropdown-menu" id="features-dropdown">
|
||||
<!-- The features link is only visible on high-resolution tablets -->
|
||||
<!-- On desktop we show the dropdown on hover, and the user can navigate to the features page by clicking the link in main menu-->
|
||||
<!-- On desktop we show the dropdown on hover, and the user can navigate to the features page by clicking the link in main menu -->
|
||||
<!-- And on small screens (width < 1200px) we switch to mobile hamburger menu -->
|
||||
<!-- So we need this only to cover the edge case of high-resolution tablets -->
|
||||
<a href="/features/" class="touch-only">{% t header.features %}</a>
|
||||
<a href="/consoles/">{% t header.console_support %}</a>
|
||||
<a href="/priorities/">{% t header.priorities %}</a>
|
||||
</div>
|
||||
|
||||
<div class="nav-dropdown-menu" id="community-dropdown">
|
||||
@@ -234,11 +236,11 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Find all dropdown triggers
|
||||
const dropdownTriggers = document.querySelectorAll('[data-dropdown]');
|
||||
|
||||
|
||||
dropdownTriggers.forEach(trigger => {
|
||||
const dropdownId = trigger.getAttribute('data-dropdown');
|
||||
const dropdownMenu = document.getElementById(dropdownId);
|
||||
|
||||
|
||||
if (dropdownMenu) {
|
||||
let hideTimeout = -1;
|
||||
const clearHideTimeout = () => {
|
||||
@@ -288,7 +290,7 @@
|
||||
}
|
||||
hideTimeout = setTimeout(hideDropdownTrigger, 100);
|
||||
}
|
||||
|
||||
|
||||
// Toggle dropdown on high-resolution tablets
|
||||
const toggleDropdown = (event) => {
|
||||
if (window.innerWidth < 1200) {
|
||||
|
||||
@@ -129,7 +129,7 @@ header .banner-container .banner a {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
|
||||
|
||||
}
|
||||
a:hover, #logo-link:hover {
|
||||
background-color: hsla(0, 0%, 50%, 0.1);
|
||||
@@ -219,6 +219,11 @@ header .banner-container .banner a {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#nav ul li.mobile-only a {
|
||||
/* Indent mobile-only navigation items. */
|
||||
padding-left: 3.375rem;
|
||||
}
|
||||
|
||||
/* Hide mobile-only items on desktop */
|
||||
@media (min-width: 1200px) {
|
||||
.mobile-only {
|
||||
@@ -359,4 +364,4 @@ html[lang="pl"] {
|
||||
#nav a {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -160,10 +160,18 @@ layout: default
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.features-complete-list .btn.btn-flat.btn-flat-white {
|
||||
.features-priorities-list {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 0;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.features-complete-list .btn.btn-flat.btn-flat-white,
|
||||
.features-priorities-list .btn.btn-flat.btn-flat-white {
|
||||
color: var(--base-color-text-title);
|
||||
}
|
||||
|
||||
@@ -621,6 +629,12 @@ layout: default
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="features-priorities-list">
|
||||
<a href="/priorities/" class="btn btn-flat btn-flat-white btn-flat-frosted">
|
||||
View a list of priorities for upcoming features
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% include /download/download-section.html %}
|
||||
|
||||
Reference in New Issue
Block a user