Tweaked UI and removed extra pricing pages

This commit is contained in:
2025-04-18 11:44:23 -08:00
parent 1b46838397
commit 4f196c0139
17 changed files with 171 additions and 3992 deletions

View File

@@ -1,18 +1,18 @@
<section class="pt-6 pb-6">
<section class="pt-6 pb-6 dark:bg-gray-900">
<div class="grid gap-8 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 py-8">
{{ range $index, $element := .items }}
{{ range $index, $element := .Site.Data.rates.items }}
<!-- Pricing Card -->
<div
class="drop-shadow-xl dark:drop-shadow-xl flex flex-col max-w-lg p-4 mx-auto text-center text-gray-900 bg-white border border-gray-200 rounded-lg shadow-xs dark:border-gray-600 xl:p-8 dark:text-white dark:bg-gray-700">
<h3 class=" text-2xl font-semibold">{{ .name }}</h3>
<p class="text-gray-500 text-light sm:text-lg dark:text-gray-400">{{ .desc }}</p>
<p class="text-gray-600 kanit-light sm:text-lg dark:text-gray-400">{{ .desc }}</p>
<div class="mt-2 mb-6 grid grid-cols-2">
{{ if ( .price ) }}
{{ range $index, $element := .price }}
<div class="justify-evenly">
<div class="mb-2 text-lg kanit-thin">{{ .name }}</div>
<div class="mb-2 text-lg kanit-light">{{ .name }}</div>
<div class="mr-2 text-5xl kanit-medium">${{ .price }}</div>
<div class="mr-2 text-sm kanit-thin">{{ .period }}</div>
<div class="mr-2 text-sm kanit-light">{{ .period }}</div>
</div>
{{ end }}
@@ -22,7 +22,7 @@
<!-- List -->
<div class="">
{{ if ( .features ) }}
<ul role="list" class="mb-6 space-y-4 text-left">
<ul class="mb-6 space-y-4 text-left">
{{ range $index, $element := .features}}
<li class="flex items-center space-x-3">
@@ -66,7 +66,7 @@
<div class="max-w-xs pt-4 text-left">
{{ range $index, $element := .features }}
{{ if ( .super ) }}
<div class="kanit-thin text-xs text-wrap">
<div class=" text-gray-700 dark:text-gray-400 kanit-lite text-xs text-wrap">
{{ .super }}: {{ .note }}
</div>
{{ end }}