www_duniayetu/templates/positionPage.html

31 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2023-12-15 20:12:07 +00:00
{% extends "_default/base.html" %}
{% block content %}
<!-- Default page template for blog posts and basic informative markdown files -->
<main>
{% set banner_path = config.extra.taxonomies["roles"][page.taxonomies.roles[0]].banner_path | as_str %}
{% set styles = "background: url('/" ~ banner_path ~ "'); background-size: cover; background-position: center" %}
<div class="w-screen -mx-8 sm:-mx-12 md:-mx-16 lg:-mx-20 -mt-6 max-w-none py-28 max-h-80" style="{{styles}}"></div>
<div class="flex flex-col lg:flex-row md:mx-4 lg:mx-6">
<article class="article mx-auto lg:w-1/2 lg:mr-8 lg:mt-10">
<div class="pt-8 lg:pt-8 2xl:pt-24">
<h3 class="text-2xl font-normal my-0 text-gray-600">Our World</h3>
<h1 class="text-left text-5xl font-normal my-2 font-medium">
{{ page.title }}
</h1>
<p class="my-4">{{page.description}}</p>
{% include "partials/categories.html" %}
</div>
{{ page.content | safe }}
</article>
<div class="mx-auto lg:mt-12">
{% include "partials/applicationForm.html"%}
</div>
</div>
</div>
</main>
{% endblock content %}