This commit is contained in:
Dmytro Antonyuk 2023-11-15 16:28:16 +02:00
parent cc6ab88e56
commit 504a2776ca
7 changed files with 95 additions and 31 deletions

39
.idea/workspace.xml generated
View file

@ -5,36 +5,13 @@
</component>
<component name="ChangeListManager">
<list default="true" id="b9871119-7d48-43df-9f66-6fd91d65a1cb" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/sass/_download-button.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/sass/_freedom-section.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/sass/_hero.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/sass/_open-map.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/sass/_site-sections.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/sass/_top-menu.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/arrow-link.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/arrow-link.svg" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/hero/hero-bg.jpg" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/hero/hero-image.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/open-map/open-map-bg.jpg" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/open-map/open-map-logo.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/sections/free-and-builty-by-community-banner.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/sections/no-tracking-banner.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/sections/save-your-battery-banner.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/static/images/sections/search-and-plan-route-banner.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/freedom_section.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/hero.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/index-old.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/open_map.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/site_sections.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/ui/download-button.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/ui/logo.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/content/_index.md" beforeDir="false" afterPath="$PROJECT_DIR$/content/_index.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/sass/_top_menu.scss" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/sass/main.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/main.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/content/community/_index.md" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/community.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/section/component.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config.toml" beforeDir="false" afterPath="$PROJECT_DIR$/config.toml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/base.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/base.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/bottom_menu.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/bottom_menu.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/top_menu.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/top_menu.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/common/footer.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/common/footer.html" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -60,7 +37,7 @@
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
"last_opened_file_path": "E:/organicmaps.github.io/static/images",
"last_opened_file_path": "E:/organicmaps.github.io/templates/section",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.stylelint": "true",
"node.js.detected.package.tslint": "true",
@ -73,6 +50,7 @@
}]]></component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="E:\organicmaps.github.io\templates\section" />
<recent name="E:\organicmaps.github.io\static\images" />
<recent name="E:\organicmaps.github.io\templates" />
<recent name="E:\organicmaps.github.io\sass" />
@ -96,6 +74,7 @@
<workItem from="1699445596944" duration="246000" />
<workItem from="1699445857666" duration="387000" />
<workItem from="1699446263788" duration="8939000" />
<workItem from="1700056665392" duration="1774000" />
</task>
<servers />
</component>

View file

@ -38,7 +38,8 @@ language = "English"
name = "Name"
token = "Token"
button-download = "Download"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
button-search = "Search"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia 123"
# Please sort all other translation sections and values in alphabetical order.
[languages.de]
@ -53,6 +54,7 @@ install-fdroid = "Installiere Organic Maps aus F-Droid"
language = "Deutsch"
name = "Name"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.fr]
[languages.fr.translations]
address = "Addresse"
@ -65,6 +67,7 @@ install-fdroid = "Installer Organic Maps depuis F-Droid"
language = "Français"
name = "Nom"
token = "Jeton"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.it]
[languages.it.translations]
address = "Indirizzi"
@ -77,6 +80,7 @@ install-fdroid = "Installa Organic Maps da F-Droid"
language = "Italiano"
name = "Nome"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.pl]
[languages.pl.translations]
address = "Adres"
@ -89,6 +93,7 @@ install-fdroid = "Zainstaluj Organic Maps z F-Droid"
language = "Polski"
name = "Nazwa"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.ru]
[languages.ru.translations]
address = "Адрес"
@ -101,6 +106,7 @@ install-fdroid = "Установите Organic Maps из F-Droid"
language = "Русский"
name = "Название"
token = "Токен"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.tr]
[languages.tr.translations]
address = "Adres"
@ -113,6 +119,7 @@ install-fdroid = "Organic Maps'i F-Droid'den İndir"
language = "Türkçe"
name = "İsim"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.id]
[languages.id.translations]
address = "Alamat"
@ -125,6 +132,7 @@ install-fdroid = "Instal Peta Organik dari F-Droid"
language = "Bahasa Indonesia"
name = "Nama"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.cs]
[languages.cs.translations]
address = "Adresa"
@ -137,6 +145,7 @@ install-fdroid = "Instalace Organic Maps z F-Droid"
language = "Čeština"
name = "Název"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.pt-BR.translations]
address = "Endereço"
back = "Voltar às Notícias"
@ -148,6 +157,7 @@ install-fdroid = "Instale Organic Maps a partir do F-Droid"
language = "Português (Brazil)"
name = "Nome"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.es.translations]
address = "Dirección"
back = "Volver a Noticias"
@ -159,6 +169,7 @@ install-fdroid = "Instalar Organic Maps desde F-Droid"
language = "Español"
name = "Nombre"
token = "Ficha"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.nl.translations]
address = "Adres"
back = "Terug naar Nieuws"
@ -170,6 +181,7 @@ install-fdroid = "Installeer Organic Maps op F-Droid"
language = "Dutch"
name = "Naam"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.eu.translations]
address = "Helbidea"
back = "Back to News"
@ -181,6 +193,7 @@ install-fdroid = "Install Organic Maps from F-Droid"
language = "Euskara"
name = "Izena"
token = "token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.hu.translations]
address = "Cím"
back = "Vissza a Hírekhez"
@ -192,6 +205,7 @@ install-fdroid = "Telepítse az Organic Maps-et az F-Droidról"
language = "Magyar"
name = "Név"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.hi.translations]
address = "पता"
back = "ख़बरों पर वापस जाएं"
@ -203,6 +217,7 @@ install-fdroid = "F-Droid से ऑर्गेनिक मैप्स इं
language = "हिंदी"
name = "नाम"
token = "टोकन/Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.uk.translations]
address = "Адреса"
back = "Назад до Новин"
@ -214,6 +229,7 @@ install-fdroid = "Встановіть Organic Maps з F-Droid"
language = "Українська"
name = "Назва"
token = "Токен"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.ca.translations]
address = "Adreça"
back = "Torna a Notícies"
@ -225,6 +241,7 @@ install-fdroid = "Instal·leu lOrganic Maps des del F-Droid"
language = "Català"
name = "Nom"
token = "Testimoni"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.zh-CN]
[languages.zh-CN.translations]
address = "地址"
@ -237,6 +254,7 @@ install-fdroid = "从 F-Droid 安装有机地图"
language = "英语"
name = "姓名"
token = "令牌"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.sv.translations]
address = "Adress"
back = "Tillbaka till nyheter"
@ -248,6 +266,7 @@ install-fdroid = "Installera Organic Maps från F-Droid"
language = "Svenska"
name = "Namn"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.mr.translations]
address = "पत्ता"
back = "बातम्यांवर परता"
@ -259,6 +278,7 @@ install-fdroid = "F-Droid द्वारे Organic Maps स्थापित
language = "मराठी"
name = "नाव"
token = "Token"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.zh-Hans.translations]
address = "地址"
back = "返回到新闻"
@ -270,6 +290,7 @@ install-fdroid = "从F-Droid安装Organic Maps"
language = "简体中文"
name = "名称"
token = "令牌"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.oc.translations]
address = "Address"
back = "Back to News"
@ -281,6 +302,7 @@ install-fdroid = "Installar Mapas Organicas de F-Droid"
language = "Occitan"
name = "Nom"
token = "geton"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.af.translations]
address = "Adres"
back = "Terug na nuus"
@ -292,6 +314,7 @@ install-fdroid = "Installeer Organic Maps vanaf F-Droid"
language = "Afrikaans"
name = "Naam"
token = "Teken"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"
[languages.ar.translations]
address = "العنوان"
back = "العودة إلى الأخبار"
@ -303,3 +326,4 @@ install-fdroid = "تثبيت Organic Maps من F-Droid"
language = "العربية"
name = "الاسم"
token = "رمز"
footer-copyright = "reg. code 16225385 Harju county, Tallinn, Kesklinna district, Rävala pst 8-810, 10143, Estonia"

View file

@ -0,0 +1,28 @@
---
title: Community
description: Organic Maps is created and maintained by people like you
template: community.html
sort_by: weight
extra:
menu_title: Community
component-name:
title: Join the discussion
description: Report, bugs, discuss idea, and propose features
component-name2:
title: Contribute Code
description: Help fix bugs, do code reviews, and develop new features.
component-name3:
title: Add Location Info
description: Add info about shops, points of interest, trails, public transport to OpenStreetMap
component-name4:
title: Provide Support
description: "Help people use the app, respond to questions on: Telegram, Instagram, Facebook, X (Twitter), Reddit, LinkedIn, Mastodon, Matrix"
component-name5:
title: Translate
description: Add and update translations in the app's interface, app stores and this website.
component-name6:
title: Design & Product Management
description: Shape the direction of the product and the user experience
---

View file

@ -80,6 +80,9 @@
<footer class="footer">
{% include 'common/footer.html' %}
{% if page.extra.menu_title %}
{{ page.extra.menu_title }}
{% endif %}
</footer>
</div>

View file

@ -17,6 +17,7 @@
<div class="footer__text">
<p class="p-md footer__description">Harju maakond, Tallinn, Kesklinna </p>
<p class="p-md footer__description">linnaosa, Rävala pst 8-810, 10143, Estoni</p>
{{ trans(key='footer-copyright', lang=lang) }}
</div>
</div>
<div class="footer__item">

19
templates/community.html Normal file
View file

@ -0,0 +1,19 @@
{% extends 'base.html' %}
{% block content %}
{% include 'section/hero.html' %}
{% include 'section/component.html' %}
{% include 'section/open_map.html' %}
{% include 'section/home-services.html' %}
{% include 'section/single-section.html' %}
{{ resource.content | safe }}
{% endblock content %}

View file

@ -0,0 +1,10 @@
<section>
<div class="container">
<h1>
{% if page.extra.component_name %}
{{ page.extra.component_name }}
{% endif %}
123
</h1>
</div>
</section>