|
2 | 2 | <%= I18n.t 'title', org_name: content_tag(:span, t("org_name"), class: "text-logo-green drop-shadow-sm", title: t("org_name_definition")) %> |
3 | 3 | </h1> |
4 | 4 |
|
5 | | -<h2 class="mt-4 mx-auto md:w-4/6 text-center md:leading-normal text-xl font-light"> |
| 5 | +<p class="mt-4 mx-auto md:w-4/6 text-center md:leading-normal text-xl font-light"> |
6 | 6 | <%= I18n.t 'subtitle', orgs_link: link_to(t('subtitle_orgs_link'), '#organizations'), baskets_count: format_number(data.site.baskets_count) %> |
7 | | -</h2> |
| 7 | +</p> |
8 | 8 |
|
9 | 9 | <div class="mt-12 md:mt-8 block text-center"> |
10 | 10 | <%= link_to t('call_to_action'), '#contact', class: 'mx-auto text-center px-6 py-3 bg-logo-green hover:bg-green-700 text-base md:text-lg text-white hover:text-white no-underline font-bold rounded-full' %> |
11 | 11 | </div> |
12 | 12 |
|
13 | | -<h3 id="features" class="mt-16 pt-8 mx-auto md:w-5/6 text-center tracking-tight text-2xl md:text-4xl font-extrabold"> |
| 13 | +<h2 id="features" class="mt-16 pt-8 mx-auto md:w-5/6 text-center tracking-tight text-2xl md:text-4xl font-extrabold scroll-mt-24"> |
14 | 14 | <%= t("features.title") %> |
15 | | -</h3> |
| 15 | +</h2> |
16 | 16 | <p class="mt-2 mx-auto md:w-4/6 text-center md:leading-normal text-xl font-normal"> |
17 | 17 | <%= t("features.subtitle") %> |
18 | 18 | </p> |
|
60 | 60 | <%= t("features.subtitle2") %> |
61 | 61 | </p> |
62 | 62 |
|
63 | | -<div class="mt-10 md:grid md:grid-cols-3 mg:gap-4 lg:gap-6"> |
| 63 | +<div class="mt-10 md:grid md:grid-cols-3 md:gap-4 lg:gap-6"> |
64 | 64 | <%= partial 'feature', locals: { \ |
65 | 65 | logo: 'building-storefront', \ |
66 | 66 | title: t('features.shop.title'), \ |
|
78 | 78 | } %> |
79 | 79 | </div> |
80 | 80 |
|
81 | | -<h3 id="organizations" class="mt-16 pt-8 mx-auto md:w-5/6 text-center tracking-tight text-2xl md:text-4xl font-extrabold"> |
| 81 | +<h2 id="organizations" class="mt-16 pt-8 mx-auto md:w-5/6 text-center tracking-tight text-2xl md:text-4xl font-extrabold scroll-mt-24"> |
82 | 82 | <%= t("organizations.title") %> |
83 | | -</h3> |
| 83 | +</h2> |
84 | 84 | <p class="mt-2 mx-auto md:w-7/12 text-center md:leading-normal text-xl font-normal"> |
85 | 85 | <%= t("organizations.subtitle") %> |
86 | 86 | </p> |
87 | 87 |
|
88 | 88 | <div class="mt-10 mx-auto px-4 grid grid-cols-3 md:grid-cols-7 gap-6 lg:gap-8"> |
89 | | - <% data.organizations.each do |org, data| %> |
90 | | - <%= link_to image_tag("https://cdn.csa-admin.org/logos/#{org}", alt: "#{data.name} (logo)", title: data.name), data.url, class: 'size-16 md:size-20 lg:size-24 mx-auto flex items-center no-underline', title: data.name %> |
| 89 | + <% data.organizations.each do |org, org_data| %> |
| 90 | + <%= link_to image_tag("https://cdn.csa-admin.org/logos/#{org}", alt: I18n.t('organizations.logo_alt', name: org_data.name), title: org_data.name), org_data.url, class: 'size-16 md:size-20 lg:size-24 mx-auto flex items-center no-underline', title: org_data.name %> |
91 | 91 | <% end %> |
92 | 92 | </div> |
93 | 93 |
|
94 | | -<h4 id="contact" class="mt-20 pt-8 mx-auto md:w-5/6 text-center text-xl md:text-3xl font-bold"> |
| 94 | +<h2 id="contact" class="mt-20 pt-8 mx-auto md:w-5/6 text-center text-xl md:text-3xl font-bold scroll-mt-24"> |
95 | 95 | <%= t("contact.title") %> |
96 | | -</h4> |
| 96 | +</h2> |
97 | 97 | <p class="mt-4 mx-auto md:w-7/12 text-justify leading-normal text-lg"> |
98 | 98 | <%= I18n.t("contact.text", mail: link_to(data.site.contact.email, data.site.contact.email_link, class: 'whitespace-nowrap')) %> |
99 | 99 | </p> |
100 | 100 |
|
101 | 101 | <span class="mt-16 mx-auto block w-52 h-1 rounded-full bg-gradient-to-r from-logo-green to-green-600"></span> |
102 | 102 |
|
103 | | -<h4 id="about" class="mt-8 pt-8 mx-auto md:w-5/6 text-center text-xl md:text-3xl font-bold"> |
| 103 | +<h2 id="about" class="mt-8 pt-8 mx-auto md:w-5/6 text-center text-xl md:text-3xl font-bold scroll-mt-24"> |
104 | 104 | <%= t("about.title") %> |
105 | | -</h4> |
| 105 | +</h2> |
106 | 106 | <p class="mt-4 mx-auto md:w-7/12 text-justify leading-normal text-lg"> |
107 | 107 | <%= I18n.t("about.text", \ |
108 | 108 | ragedevert: link_to('Rage de Vert', 'https://www.ragedevert.ch', class: 'whitespace-nowrap'), \ |
|
0 commit comments