Skip to content

Commit

Permalink
Merge pull request #78 from ThatConference/next/feature
Browse files Browse the repository at this point in the history
feature -> main
  • Loading branch information
theClarkSell committed Sep 21, 2023
2 parents edf22e3 + 1b97c43 commit 84ffc7a
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 23 deletions.
4 changes: 2 additions & 2 deletions src/_components/newsletter/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
on:click_outside={() => (dismissed = true)}
class="mx-auto max-w-7xl sm:px-6 lg:px-8">
<div
class="relative isolate flex flex-col gap-10 overflow-hidden bg-thatBlue-800 px-6 py-24 shadow-2xl sm:rounded-3xl sm:px-24 xl:flex-row xl:items-center xl:py-32">
class="relative isolate flex flex-col gap-10 overflow-hidden bg-thatBlue-800 px-6 py-12 shadow-2xl sm:rounded-3xl sm:px-24 sm:py-24 xl:flex-row xl:items-center xl:py-32">
<div class="space-y-4 text-white">
<h2
class="max-w-2xl text-3xl font-bold tracking-tight sm:text-4xl xl:max-w-none xl:flex-auto">
Expand All @@ -41,7 +41,7 @@
</p>
</div>

<div class="w-2/3">
<div class="lg:w-2/3">
<HubspotForm formId={'newsletter-modal'} />
</div>

Expand Down
14 changes: 6 additions & 8 deletions src/_elements/links/Action.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@
button={true}
{reload}
{href}
class="cursor-pointer rounded-md border-2 border-transparent bg-thatBlue-500 px-8 py-3
text-center text-base font-medium leading-6 text-white shadow transition
duration-150 ease-in-out hover:bg-thatBlue-400 focus:border-thatBlue-700
focus:outline-none focus:ring-that-blue
md:px-10 md:py-4 md:text-lg">
<span>
<slot />
</span>
class="inline-flex flex-1 cursor-pointer whitespace-nowrap rounded-md border-2 border-transparent bg-thatBlue-500 px-8
py-3 text-center text-base font-medium leading-6 text-white shadow
transition duration-150 ease-in-out hover:bg-thatBlue-400
focus:border-thatBlue-700 focus:outline-none
focus:ring-that-blue md:my-4 md:px-10 md:text-lg">
<slot />
</a>
33 changes: 20 additions & 13 deletions src/routes/(root)/_root/components/hero.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script>
import { Action as ActionLink } from '$elements/links';
</script>

<section class="relative overflow-x-hidden">
<div class="mx-auto my-12 max-w-screen-xl px-4 sm:px-6">
<div class="flex flex-col space-y-24 lg:grid lg:grid-cols-7">
Expand All @@ -25,15 +21,13 @@
</a>
once a year but we host digital events all the time.
</p>
<div
class="mt-20 flex flex-col items-center justify-center space-y-12 sm:flex-row sm:justify-start sm:space-x-4 sm:space-y-0">
<div>
<ActionLink href="/tx">THAT Conference Texas</ActionLink>
</div>

<div>
<ActionLink href="/wi">THAT Conference Wisconsin</ActionLink>
</div>
<div class="mt-20 flex flex-wrap">
<a href="/tx" class="anchorButton m-2 grow">
<div>THAT CONFERENCE TEXAS</div>
</a>
<a href="/wi" class="anchorButton m-2 grow">
<div>THAT CONFERENCE WISCONSIN</div>
</a>
</div>
</div>
<div class="col-span-3 flex flex-col items-center justify-center">
Expand All @@ -51,3 +45,16 @@
</div>
</div>
</section>

<style lang="postcss">
.anchorButton {
@apply rounded-md bg-thatBlue-500 px-4 py-4 text-center font-medium tracking-wide text-white shadow-md md:text-xl;
}
.anchorButton:hover {
@apply bg-thatBlue-400 transition duration-150 ease-in-out;
}
.anchorButton:focus {
@apply underline underline-offset-4;
}
</style>
1 change: 1 addition & 0 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const config = {
]
: [
preprocess({
postcss: true,
preserve: ['ld+json']
}),
mdsvex(mdsvexConfig)
Expand Down

1 comment on commit 84ffc7a

@vercel
Copy link

@vercel vercel bot commented on 84ffc7a Sep 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.