52 lines
1015 B
Plaintext
52 lines
1015 B
Plaintext
---
|
|
import CallToAction from './CallToAction.astro';
|
|
import Icon from './Icon.astro';
|
|
|
|
import directus from "../../lib/directus"
|
|
import { readSingleton } from "@directus/sdk";
|
|
|
|
const global = await directus.request(readSingleton("global"));
|
|
---
|
|
|
|
<aside>
|
|
<h2>Interested in working together?</h2>
|
|
<CallToAction href=`mailto:${global.email}`>
|
|
Send Me a Message
|
|
<Icon icon="paper-plane-tilt" size="1.2em" />
|
|
</CallToAction>
|
|
</aside>
|
|
|
|
<style>
|
|
aside {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 3rem;
|
|
border-top: 1px solid var(--gray-800);
|
|
border-bottom: 1px solid var(--gray-800);
|
|
padding: 5rem 1.5rem;
|
|
background-color: var(--gray-999_40);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
h2 {
|
|
font-size: var(--text-xl);
|
|
text-align: center;
|
|
max-width: 15ch;
|
|
}
|
|
|
|
@media (min-width: 50em) {
|
|
aside {
|
|
padding: 7.5rem;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
h2 {
|
|
font-size: var(--text-3xl);
|
|
text-align: left;
|
|
}
|
|
}
|
|
</style>
|