Skip to content

Commit 1f2caa8

Browse files
authored
style: have different Houstons for newsletter (#971)
1 parent ab620dc commit 1f2caa8

File tree

3 files changed

+14
-20
lines changed

3 files changed

+14
-20
lines changed

src/pages/_assets/houston_love.webp

3.79 KB
Binary file not shown.

src/pages/newsletter/confirm.astro

+8-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
---
22
import Layout from "~/layouts/Standalone.astro"
3-
import Houston from "../_assets/houston_peep.webp"
3+
import Houston from "../_assets/houston-happy.webp"
44
---
55

66
<Layout title="Signup">
77
<div class="bg-grid absolute inset-0 z-grid"></div>
88
<div class="mx-8 my-auto flex h-full flex-col items-center justify-center">
9+
<img
10+
src={Houston.src}
11+
width={Houston.width}
12+
height={Houston.height}
13+
class="mb-12 h-24 w-auto md:h-28 lg:h-32"
14+
alt=""
15+
/>
916
<h1 class="font-obviously text-3xl font-semibold text-white md:text-6xl">Confirmed!</h1>
1017
<p class="my-6 text-astro-gray-200 md:body-large lg:text-3xl">
1118
Thanks for signing up to The Astro Newsletter! You'll hear from us soon.
@@ -19,14 +26,4 @@ import Houston from "../_assets/houston_peep.webp"
1926
>
2027
</div>
2128
</div>
22-
23-
<div class="flex w-full justify-center overflow-clip">
24-
<img
25-
src={Houston.src}
26-
width={Houston.width}
27-
height={Houston.height}
28-
class="absolute bottom-0 h-24 w-auto md:h-28 lg:h-32"
29-
alt=""
30-
/>
31-
</div>
3229
</Layout>

src/pages/newsletter/success.astro

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
---
22
import Layout from "~/layouts/Standalone.astro"
3-
import Houston from "../_assets/houston_peep.webp"
3+
import Houston from "../_assets/houston_love.webp"
44
---
55

66
<Layout title="Signup">
77
<div class="bg-grid absolute inset-0 z-grid"></div>
88
<div class="mx-8 my-auto flex h-full flex-col items-center justify-center">
9-
<h1 class="font-obviously text-3xl font-semibold text-white md:text-6xl">Almost there!</h1>
10-
<p class="my-6 text-astro-gray-200 md:body-large lg:text-3xl">
11-
Check your inbox to confirm the subscription.
12-
</p>
13-
</div>
14-
15-
<div class="flex w-full justify-center overflow-clip">
169
<img
1710
src={Houston.src}
1811
width={Houston.width}
1912
height={Houston.height}
20-
class="absolute bottom-0 h-24 w-auto md:h-28 lg:h-32"
13+
class="mb-12 h-24 w-auto md:h-28 lg:h-32"
2114
alt=""
2215
/>
16+
<h1 class="font-obviously text-3xl font-semibold text-white md:text-6xl">Almost there!</h1>
17+
<p class="my-6 text-astro-gray-200 md:body-large lg:text-3xl">
18+
Check your inbox to confirm the subscription.
19+
</p>
2320
</div>
2421
</Layout>

0 commit comments

Comments
 (0)