Skip to content

Commit

Permalink
improve layout of the faq
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Dec 19, 2024
1 parent 52ba114 commit e3605e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/templates/v2/public/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@

<div class="container">
<div class="bg-white">
<div class="mx-auto max-w-7xl px-6 py-24 sm:py-32 lg:px-8 lg:py-40">
<div class="mx-auto max-w-7xl px-6 lg:px-8">
<div class="mx-auto max-w-4xl">

<h1 class="font-semibold tracking-tight text-gray-900 sm:text-5xl">
FAQ – Întrebări frecvente
</h1>

{% for section in questions %}
<div>

<h2
id="#{{ section.title | slugify }}"
class="font-semibold tracking-tight text-gray-900 sm:text-3xl pt-10">

<a href="#{{ section.title | slugify }}" class="group">
{{ section.title }}
</a>

</h2>

<dl class="mt-10 space-y-6">

{% for question in section.questions %}
<div class="pt-6">
{% include "public/components/faq-question.html" with question=question.title answer=question.answer %}
</div>
{% endfor %}

</dl>

</div>
{% endfor %}

Expand Down

0 comments on commit e3605e4

Please sign in to comment.