fix: add price of template & adaptive style

This commit is contained in:
Rotimi Best
2024-12-18 13:30:27 +01:00
parent 5d1543b1f4
commit e2cc29aa72
4 changed files with 13 additions and 11 deletions
@@ -35,7 +35,7 @@
</Dialog.Description> </Dialog.Description>
</Dialog.Header> </Dialog.Header>
<div class="grid gap-4 py-4"> <div class="grid gap-4 py-4">
<p>What you get:</p> <p>What you get for <strong>ONLY $20</strong>:</p>
<ul> <ul>
{#each whatYouGet as item} {#each whatYouGet as item}
<li class="mb-2 flex items-center gap-2"> <li class="mb-2 flex items-center gap-2">
@@ -55,7 +55,7 @@
<span <span
class="whitespace-pre-wrap text-center text-sm font-medium leading-none tracking-tight text-white lg:text-lg dark:from-white dark:to-slate-900/10" class="whitespace-pre-wrap text-center text-sm font-medium leading-none tracking-tight text-white lg:text-lg dark:from-white dark:to-slate-900/10"
> >
Buy Buy ($20)
</span> </span>
</ShimmerButton> </ShimmerButton>
</Dialog.Footer> </Dialog.Footer>
@@ -7,12 +7,14 @@
<div <div
id="custom-template-card" id="custom-template-card"
class="group relative mb-5 flex h-full w-full max-w-[340px] flex-col items-center justify-center rounded-md border px-4 py-2 shadow-2xl transition-all duration-500" class="group relative mb-5 flex h-full w-4/5 max-w-[340px] flex-col items-center justify-center rounded-md border px-4 py-2 shadow-2xl transition-all duration-500"
> >
<BorderBeam /> <BorderBeam />
<DotPattern /> <DotPattern />
<img src={Santa} alt="Santa" class="z-20 h-28 w-28" /> <img src={Santa} alt="Santa" class="z-20 h-28 w-28" />
<h3 class="z-20 mb-6 text-center font-sans text-5xl font-bold">Buy A Custom Template</h3> <h3 class="z-20 mb-6 text-center font-sans text-3xl font-bold md:text-5xl">
Buy A Custom Template
</h3>
<BuyTemplate ctaLabel="Learn More" /> <BuyTemplate ctaLabel="Learn More" />
</div> </div>
@@ -13,7 +13,7 @@
let { template }: Props = $props(); let { template }: Props = $props();
</script> </script>
<div class="mb-5 w-full max-w-[340px]"> <div class="mb-5 w-[95%] max-w-[340px]">
<Button <Button
href={template.url} href={template.url}
variant="link" variant="link"
+6 -6
View File
@@ -93,7 +93,7 @@
className="py-10 max-w-4xl mx-auto flex flex-col items-center justify-center px-30 gap-2 md:gap-5" className="py-10 max-w-4xl mx-auto flex flex-col items-center justify-center px-30 gap-2 md:gap-5"
> >
<BlurIn <BlurIn
class="pointer-events-none flex max-w-2xl flex-col items-center whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-4xl font-semibold leading-none tracking-tighter text-transparent md:mb-4 md:block md:text-6xl" class="pointer-events-none flex max-w-2xl flex-col items-center whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-2xl font-semibold leading-none tracking-tighter text-transparent md:mb-4 md:block md:text-4xl lg:text-6xl"
> >
Create a <span class="font-mono italic text-blue-700">UNIVERSITY</span> Create a <span class="font-mono italic text-blue-700">UNIVERSITY</span>
<span>Site for your SAAS in</span> <span>Site for your SAAS in</span>
@@ -158,7 +158,7 @@
<!-- Templates --> <!-- Templates -->
<section id="templates" class="my-5 w-full pt-0 md:my-0 md:pt-24"> <section id="templates" class="my-5 w-full pt-0 md:my-0 md:pt-24">
<div class="container"> <div class="px-4 md:container">
<h2 class="mb-5 text-center text-3xl font-semibold md:mb-20 md:text-start md:text-5xl"> <h2 class="mb-5 text-center text-3xl font-semibold md:mb-20 md:text-start md:text-5xl">
Browse Templates Browse Templates
</h2> </h2>
@@ -181,8 +181,8 @@
<Separator class="my-5 md:mt-20" /> <Separator class="my-5 md:mt-20" />
<!-- Features --> <!-- Features -->
<section id="features" class="my-5 w-full px-4 pt-0 md:mb-10 md:mt-0 md:pt-24"> <section id="features" class="m-5 w-full px-4 pt-0 md:mb-10 md:mt-0 md:pt-24">
<div class="font-drawn container mx-auto flex max-w-4xl flex-col items-center"> <div class="font-drawn mx-auto flex max-w-4xl flex-col items-center">
<h2 class="mb-2 text-center text-3xl font-semibold md:mb-10 md:text-start md:text-5xl"> <h2 class="mb-2 text-center text-3xl font-semibold md:mb-10 md:text-start md:text-5xl">
Features Features
</h2> </h2>
@@ -203,7 +203,7 @@
<!-- Home CTA --> <!-- Home CTA -->
<section class="mb-20 w-full"> <section class="mb-20 w-full">
<BlurFade delay={0.25}> <BlurFade delay={0.25}>
<div class="container"> <div class="m-5">
<!-- <h2 class="mb-10 text-center text-5xl font-semibold"> <!-- <h2 class="mb-10 text-center text-5xl font-semibold">
Up & Running <span class="font-mono italic text-blue-700">MINUTES</span> Up & Running <span class="font-mono italic text-blue-700">MINUTES</span>
</h2> --> </h2> -->
@@ -237,7 +237,7 @@
<!-- Footer --> <!-- Footer -->
<section class="my-10 w-full"> <section class="my-10 w-full">
<div class="container"> <div class="">
<p class="text-center text-sm text-neutral-500"> <p class="text-center text-sm text-neutral-500">
Made with ❤️ by <a href="https://git.new/class" target="_blank" rel="noopener noreferrer"> Made with ❤️ by <a href="https://git.new/class" target="_blank" rel="noopener noreferrer">
classroomio classroomio