-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
afe8d67
commit 366564d
Showing
10 changed files
with
105 additions
and
25 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
import { Image } from "astro:assets"; | ||
import stillAttendeesInSeats from "~/assets/stills/attendees-in-seats.png"; | ||
import Button from "./Button.astro"; | ||
import ContentArea from "./ContentArea.astro"; | ||
import Heading from "./Heading.astro"; | ||
import { Image } from "astro:assets"; | ||
--- | ||
|
||
<ContentArea as="section"> | ||
|
@@ -17,7 +17,7 @@ import { Image } from "astro:assets"; | |
Email Address | ||
<input type="email" placeholder="[email protected]" /> | ||
</label> | ||
<Button>Subscribe</Button> | ||
<Button variant="light">Subscribe</Button> | ||
</form> | ||
|
||
<Image | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
import Button from "./Button.astro"; | ||
import ContentArea from "./ContentArea.astro"; | ||
import Heading from "./Heading.astro"; | ||
import TextSquiggly from "./TextSquiggly.astro"; | ||
--- | ||
|
||
<div class="ad-newsletter-thin"> | ||
<ContentArea as="section" class="ad-newsletter-contents"> | ||
<Heading class="ad-newsletter-heading" level="h2"> | ||
Sign up to receive announcements and important | ||
<TextSquiggly renderAs="strong" width="medium"> | ||
<Fragment slot="inside">SquiggleConf</Fragment> | ||
</TextSquiggly> | ||
info. | ||
</Heading> | ||
|
||
<form> | ||
<label class="email-label" for="email">Email Address</label> | ||
<input | ||
class="email-input" | ||
name="email" | ||
type="email" | ||
placeholder="[email protected]" | ||
/> | ||
<Button variant="light">Subscribe</Button> | ||
</form> | ||
</ContentArea> | ||
</div> | ||
|
||
<style> | ||
.ad-newsletter-thin { | ||
background: var(--colorAccentMedium); | ||
text-align: center; | ||
} | ||
|
||
.ad-newsletter-contents { | ||
align-items: center; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 2rem; | ||
padding: 3rem 0; | ||
} | ||
|
||
.ad-newsletter-heading { | ||
font-size: var(--fontSizeLarge); | ||
max-width: 40rem; | ||
} | ||
|
||
form { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.email-input { | ||
padding: 1rem 0.5rem; | ||
font-family: var(--fontFamilyText); | ||
margin: 0.5rem 0 1rem; | ||
width: 25rem; | ||
} | ||
|
||
.email-input::placeholder { | ||
color: var(--colorDark); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters