Skip to content

Commit

Permalink
updates timer countdown (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottpiercew authored Jun 14, 2024
1 parent 6dadf44 commit 7351568
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/components/sections/Hero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -23,11 +23,11 @@

<div
style={`background-image: url("${backgroundImg}");`}
class={twMerge('relative z-20 w-full bg-cover bg-center bg-no-repeat rounded-b-2xl h-[400px] md:h-[550px]', heightClasses, $$props.class)}>
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)}>
<div class="absolute inset-0 bg-stone-900 opacity-25 rounded-b-2xl"></div>
<div class={twMerge('relative h-[400px] md:h-[550px] bg-gradient-to-t from-stone-950 mx-auto rounded-b-2xl tracking-wider pb-12', heightClasses)}>
<div class={twMerge('relative h-[400px] md:h-[550px] bg-gradient-to-t from-stone-950 mx-auto rounded-b-2xl tracking-wider pb-12', componentHeightClasses)}>
<MaxWidthContainer
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', heightClasses)}>
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)}>
<!-- Title -->
<h1 class={twMerge('text-left md:text-center font-bold text-[32px] md:text-[40px] bg-gradient-to-r text-transparent bg-clip-text', titleClasses, colorSpecificClasses[titleColor])}>
{#if !title}
Expand Down
2 changes: 1 addition & 1 deletion src/content/externalLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export const externalLinks = {
};

export const timerCountdown = {
formatedDate: 'August 1, 2024 23:59:59',
formatedDate: 'January 15, 2025 23:59:59',
};
2 changes: 1 addition & 1 deletion src/pages/contactUs/[...contactUs].astro
Original file line number Diff line number Diff line change
Expand Up @@ -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]">
<span slot="description">
<span class="md:hidden">
{entry.data.shortDescription ? entry.data.shortDescription : entry.data.description}
Expand Down

0 comments on commit 7351568

Please sign in to comment.