From 73515685eb02dc1e1c67e98dd3596614465e8bd1 Mon Sep 17 00:00:00 2001 From: Scott Pierce-Wrobel Date: Fri, 14 Jun 2024 13:02:16 -0400 Subject: [PATCH] updates timer countdown (#98) --- src/components/sections/Hero.svelte | 8 ++++---- src/content/externalLinks.js | 2 +- src/pages/contactUs/[...contactUs].astro | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/sections/Hero.svelte b/src/components/sections/Hero.svelte index 573c488..40ed323 100644 --- a/src/components/sections/Hero.svelte +++ b/src/components/sections/Hero.svelte @@ -13,7 +13,7 @@ export let linkText = ''; export let externalLink = false; export let backgroundImg = ''; - export let heightClasses = ''; + export let componentHeightClasses = ''; const colorSpecificClasses = { white: 'from-white via-slate-50 to-slate-200', @@ -23,11 +23,11 @@
+ class={twMerge('relative z-20 w-full bg-cover bg-center bg-no-repeat rounded-b-2xl h-[400px] md:h-[550px]', componentHeightClasses, $$props.class)}>
-
+
+ class={twMerge('relative h-[400px] md:h-[550px] flex flex-col gap-6 md:gap-12 items-stretch md:items-center justify-center md:justify-center text-left md:text-center', componentHeightClasses)}>

{#if !title} diff --git a/src/content/externalLinks.js b/src/content/externalLinks.js index 065cdcd..0955d75 100644 --- a/src/content/externalLinks.js +++ b/src/content/externalLinks.js @@ -10,5 +10,5 @@ export const externalLinks = { }; export const timerCountdown = { - formatedDate: 'August 1, 2024 23:59:59', + formatedDate: 'January 15, 2025 23:59:59', }; diff --git a/src/pages/contactUs/[...contactUs].astro b/src/pages/contactUs/[...contactUs].astro index b0b5819..1a6096b 100644 --- a/src/pages/contactUs/[...contactUs].astro +++ b/src/pages/contactUs/[...contactUs].astro @@ -31,7 +31,7 @@ const { entry } = Astro.props; link={entry.data.buttonLink} linkText={entry.data.buttonText} externalLink={entry.data.externalLink} - heightClasses="lg:h-[700px]"> + componentHeightClasses="lg:h-[700px]"> {entry.data.shortDescription ? entry.data.shortDescription : entry.data.description}