additional changes

This commit is contained in:
Steph
2025-02-13 01:59:42 -08:00
parent ec0e3e4cd6
commit 6471ae4d49

View File

@@ -108,7 +108,6 @@ const allTaglines: Taglines[] = [
}, },
]; ];
// Randomly select group A, B, C, or D
const groups = ['A', 'B', 'C', 'D']; const groups = ['A', 'B', 'C', 'D'];
const selectedGroup = groups[Math.floor(Math.random() * groups.length)]; const selectedGroup = groups[Math.floor(Math.random() * groups.length)];
const taglines = allTaglines.filter((tagline) => tagline.name.startsWith(selectedGroup)); const taglines = allTaglines.filter((tagline) => tagline.name.startsWith(selectedGroup));
@@ -144,7 +143,7 @@ const buttonClass = computed(() => {
class="unstyled flex justify-center items-center gap-4 text-white tracking-wide plausible-event-name=bannerClick" class="unstyled flex justify-center items-center gap-4 text-white tracking-wide plausible-event-name=bannerClick"
> >
<span class="font-semibold">{{ taglines[index].label }}</span> <span class="font-semibold">{{ taglines[index].label }}</span>
<button :class="['rounded-lg p-2 px-4 font-semibold tracking-wide', buttonClass]"> <button :class="['rounded-lg p-1.5 px-4 font-semibold tracking-wide', buttonClass]">
Try now Try now
</button> </button>
</a> </a>