fix: harden editorial brand rendering and SEO

This commit is contained in:
pipeline
2026-07-21 20:54:20 +03:00
parent 14d616d1c9
commit 6150ce762d
13 changed files with 158 additions and 52 deletions
+6 -7
View File
@@ -7,16 +7,15 @@
<span class="grid h-5 w-5 place-items-center rounded-full bg-white/20"><span data-age-value>{{ $brand.ageRestrictionDefault }}</span></span>
{{ i18n "overAgeOnly" }}
</span>
<span class="inline-flex items-center gap-2 rounded-full border border-white/20 px-3 py-1">
<svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" d="M12 3l7 4v5c0 4.4-3 8.3-7 9-4-0.7-7-4.6-7-9V7l7-4z"/></svg>
{{ $brand.licenseAuthority }}
</span>
{{- if and $brand.licenseAuthority $brand.licenseNumber (not (in $brand.licenseNumber "XXX")) }}
<span class="inline-flex items-center gap-2 rounded-full border border-white/20 px-3 py-1">
<svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" d="M12 3l7 4v5c0 4.4-3 8.3-7 9-4-0.7-7-4.6-7-9V7l7-4z"/></svg>
{{ $brand.licenseAuthority }}
</span>
{{- end }}
<span class="inline-flex items-center gap-2 rounded-full border border-white/20 px-3 py-1">
<svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/></svg>
{{ i18n "sslSecured" }}
</span>
<span class="inline-flex items-center gap-2 rounded-full border border-white/20 px-3 py-1">
{{ i18n "licensedOperator" }}
</span>
</div>
</div>