Skip to content

Commit ac7a95d

Browse files
thooamsclaude
andcommitted
Fix platform language links and contact button style
- Fix language prefix in platforms list links (/fr/platforms/macos/ instead of /platforms/macos/fr) - Contact submit button: use explicit Tailwind classes instead of btn-primary Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent be6722a commit ac7a95d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

layouts/contact/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1 class="text-3xl font-bold mb-3">{{ i18n "contact_title" }}</h1>
3434
<!-- Honeypot anti-spam -->
3535
<input type="text" name="_honeypot" style="display:none" tabindex="-1" autocomplete="off" />
3636

37-
<button type="submit" class="btn btn-primary w-full mt-2">
37+
<button type="submit" class="btn bg-transparent border border-primary text-primary hover:bg-primary hover:text-primary-content w-full mt-2">
3838
{{ i18n "contact_send" }}
3939
</button>
4040
</form>

layouts/platforms/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h1 class="text-4xl md:text-5xl font-bold mb-4">{{ i18n "available_on" }}</h1>
1919
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-6xl mx-auto">
2020
{{ $platforms := $.Site.Data.platforms.platforms }}
2121
{{ range $platforms }}
22-
<a href="{{ $.Site.BaseURL | strings.TrimSuffix "/" }}/platforms/{{ .slug }}{{ if ne $.Page.Lang "en" }}/{{ $.Page.Lang }}{{ end }}" class="group">
22+
<a href="{{ $.Site.BaseURL | strings.TrimSuffix "/" }}{{ $.Site.LanguagePrefix }}/platforms/{{ .slug }}/" class="group">
2323
<div class="card bg-base-200 hover:bg-base-300 transition-all duration-300 h-full shadow-md hover:shadow-xl hover:-translate-y-1">
2424
<div class="card-body">
2525
<div class="text-4xl mb-4">

0 commit comments

Comments
 (0)