101 lines
2.6 KiB
Plaintext
101 lines
2.6 KiB
Plaintext
---
|
|
import Layout from '../layouts/Layout.astro';
|
|
import CategoryCard from '../components/CategoryCard.astro';
|
|
import { allCategories } from '../data/categories';
|
|
---
|
|
|
|
<Layout title="Dasher Supply">
|
|
<main>
|
|
<h1 class="center"><span class="text-gradient">Dasher Supply</span></h1>
|
|
<p class="instructions">
|
|
Your one-stop shop for all your after-market Dasher supplies.
|
|
</p>
|
|
<ul role="list" class="link-card-grid">
|
|
{allCategories.map(category => (
|
|
<CategoryCard
|
|
category={category}
|
|
/>
|
|
))}
|
|
</ul>
|
|
<div class="disclaimers">
|
|
<p>Dasher Supply is not endorsed by or affiliated with DoorDash. As an Amazon Associate I earn from qualifying purchases.</p>
|
|
</div>
|
|
<div>
|
|
<a href="/about">About this site.</a>
|
|
</div>
|
|
</main>
|
|
</Layout>
|
|
|
|
<style>
|
|
main {
|
|
margin: auto;
|
|
padding: 1rem;
|
|
min-width: 800px;
|
|
max-width: calc(100% - 2rem);
|
|
color: white;
|
|
font-size: 20px;
|
|
line-height: 1.6;
|
|
}
|
|
.center {
|
|
text-align: center;
|
|
}
|
|
h1 {
|
|
font-size: 4rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
margin-bottom: 1em;
|
|
font-family: "Holtwood One SC", sans-serif;
|
|
font-weight: 600;
|
|
font-style: bold;
|
|
/* text-shadow: -5px -5px 0 rgba(var(--accent-dark), 17%), 3px -3px 0 rgba(var(--accent-light), 10%), -2px 2px 0 rgba(var(--accent-light), 5%), 5px 5px 0 rgba(var(--accent-light), 10%); */
|
|
}
|
|
.text-gradient {
|
|
background-image: var(--accent-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-size: 400%;
|
|
background-position: 0%;
|
|
}
|
|
.disclaimers {
|
|
margin-bottom: 2rem;
|
|
border: 1px solid rgba(var(--accent-light), 25%);
|
|
background: linear-gradient(rgba(var(--accent-dark), 66%), rgba(var(--accent-dark), 33%));
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
font-family: "Urbanist", sans-serif;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
.instructions {
|
|
margin-bottom: 2rem;
|
|
border: 1px solid rgba(var(--accent-light), 25%);
|
|
background: linear-gradient(rgba(var(--accent-dark), 66%), rgba(var(--accent-dark), 33%));
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
font-family: "Charm", cursive;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-size: 2rem;
|
|
text-align: center;
|
|
}
|
|
.instructions code {
|
|
font-size: 0.8em;
|
|
font-weight: bold;
|
|
background: rgba(var(--accent-light), 12%);
|
|
color: rgb(var(--accent-light));
|
|
border-radius: 4px;
|
|
padding: 0.3em 0.4em;
|
|
}
|
|
.instructions strong {
|
|
color: rgb(var(--accent-light));
|
|
}
|
|
.link-card-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(24ch, 1fr));
|
|
gap: 2rem;
|
|
padding: 0;
|
|
}
|
|
a, a:link, a:visited { text-decoration: none; color: #fff }
|
|
a:hover { text-decoration: underline; color: #fff }
|
|
</style>
|