fixed pricing table issues

This commit is contained in:
Chaoming Li 2024-11-20 23:25:44 +11:00
parent aed855d55d
commit cd0f455855
2 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,8 @@
{{ define "main" }}
<div class="container mx-auto px-4 py-8 mb-12 flex-1">
<h1 class="text-4xl font-bold text-center mb-12">{{ .Title }}</h1>
<div class="!max-w-none">
{{ .Content }}
</div>
</div>
{{ end }}

View file

@ -42,8 +42,7 @@
{{ end }} {{ end }}
</ul> </ul>
<div class="mt-8"> <div class="mt-8">
<a href="{{ .button.url }}" <a href="{{ .button.url }}" class="btn btn-primary w-full">
class="block w-full rounded-lg bg-blue-600 px-6 py-4 text-center text-base font-medium text-white shadow hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2">
{{ .button.text }} {{ .button.text }}
</a> </a>
</div> </div>