From: Raphaƫl Gertz <git@rapsys.eu>
Date: Wed, 28 Jul 2021 07:54:18 +0000 (+0200)
Subject: Add about template
X-Git-Tag: 0.2.4~3
X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/787eaf61cfe49427a35fdd30c0536162290eafd3

Add about template
---

diff --git a/Resources/views/default/about.html.twig b/Resources/views/default/about.html.twig
new file mode 100644
index 0000000..0e8b341
--- /dev/null
+++ b/Resources/views/default/about.html.twig
@@ -0,0 +1,50 @@
+{% extends '@RapsysAir/body.html.twig' %}
+{% block content %}
+	<section id="dashboard">
+		<header>
+			<h2><a href="{{ path('rapsys_air_about') }}">{{ page.title }}</a></h2>
+			<p>{{ page.description }}</p>
+		</header>
+		<nav>
+			<strong>{% trans %}Table of contents{% endtrans %}</strong>
+			<ul>
+				<li><a href="#about">{% trans %}About Libre Air{% endtrans %}</a></li>
+				<li><a href="#mission">{% trans %}Our mission{% endtrans %}</a></li>
+				<li><a href="#howtohelp">{% trans %}How you can help{% endtrans %}</a></li>
+				<li><a href="#history">{% trans %}History of Libre Air{% endtrans %}</a></li>
+				<li><a href="#technicalsupport">{% trans %}Technical support{% endtrans %}</a></li>
+			</ul>
+		</nav>
+		<section>
+			<h3 id="about">{% trans %}About Libre Air{% endtrans %}</h3>
+			<p>{{ '%title%, an information site for outdoor dancers and organizers.'|trans({'%title%': '<a href="' ~ absolute_url(site.url) ~ '" title="' ~ site.title ~ '">' ~ site.title ~ '</a>'})|raw }}</p>
+		</section>
+		<section>
+			<h3 id="mission">{% trans %}Our mission{% endtrans %}</h3>
+			<p>{{ '%title%\'s mission is simple: provide dancers with the information they need to easily find organizers dance sessions.'|trans({'%title%': '<a href="' ~ absolute_url(site.url) ~ '" title="' ~ site.title ~ '">' ~ site.title ~ '</a>'})|raw }}</p>
+			<p>{% trans %}If it's an outdoor place we want to document it.{% endtrans %}</p>
+			{# <p><a href="{{ absolute_url(site.url) }}" title="{{ site.title }}">{{ site.title }}</a>{% trans %}, an information site for outdoor dancers and organizers.{% endtrans %}</p> #}
+		</section>
+		<section>
+			<h3 id="howtohelp">{% trans %}How you can help{% endtrans %}</h3>
+			<p>{% trans %}Our community is composed of amazing dancers all around the world who participate, review dance session and help us promote them.{% endtrans %}</p>
+			<p>{{ 'However, you don\'t need to be a professional dancer or organizer to help %title%!'|trans({'%title%': '<a href="' ~ absolute_url(site.url) ~ '" title="' ~ site.title ~ '">' ~ site.title ~ '</a>'})|raw }}</p>
+			<p>{{ 'Donate on %title% to help us fund our mission.'|trans({'%title%': '<a href="' ~ site.donate ~ '" title="' ~ 'Fund our mission'|trans ~ '">' ~ 'our donation page'|trans ~ '</a>'})|raw }}</p>
+		</section>
+		<section>
+			<h3 id="history">{% trans %}History of Libre Air{% endtrans %}</h3>
+			{# <p>{% trans %}Our community is composed of amazing dancers all around the world who participate, review dance session and help us promote them.{% endtrans %}</p>
+			<p>{{ 'However, you don\'t need to be a professional dancer or organizer to help %title%!'|trans({'%title%': '<a href="' ~ absolute_url(site.url) ~ '" title="' ~ site.title ~ '">' ~ site.title ~ '</a>'})|raw }}</p>
+			<p>{{ 'Donate on %title% to help us fund our mission.'|trans({'%title%': '<a href="' ~ site.donate ~ '" title="' ~ 'Fund our mission'|trans ~ '">' ~ 'our donation page'|trans ~ '</a>'})|raw }}</p> #}
+
+			<p>{{ 'The %title% project started in 2019 when the need for a new dispatch platform for outdoor dance events arose.'|trans({'%title%': '<a href="' ~ absolute_url(site.url) ~ '" title="' ~ site.title ~ '">' ~ site.title ~ '</a>'})|raw }}</p>
+			<p>{% trans %}Since then the project has grown and now forms a central point for broadcasting outdoor dance events from different organizers.{% endtrans %}</p>
+			<p>{{ 'In the future, %title% hopes to become a daily visited resource for participants and organizers of outdoor dance sessions.'|trans({'%title%': '<a href="' ~ absolute_url(site.url) ~ '" title="' ~ site.title ~ '">' ~ site.title ~ '</a>'})|raw }}</p>
+		</section>
+		<section>
+			<h3 id="technicalsupport">{% trans %}Technical support{% endtrans %}</h3>
+			<p>{{ 'The development and hosting services are graciously provided by: %title%'|trans({'%title%': '<a href="' ~ copy.link ~ '" title="' ~ copy.title ~ '">' ~ copy.by ~ '</a>'})|raw }}</p>
+			<p>{{ 'In case of bug or glitch you may contact us throught the contact form: %title%'|trans({'%title%': '<a href="' ~ path('rapsys_air_contact') ~ '" title="' ~ 'Contact Libre Air'|trans ~ '">' ~ 'Contact'|trans ~ '</a>'})|raw }}</p>
+		</section>
+	</section>
+{% endblock %}