Finish main content, add MidnightLib wiki

This commit is contained in:
Martin Prokoph
2024-02-08 12:01:49 +01:00
parent e4037faf4a
commit 23fd6e87f7
16 changed files with 170 additions and 106 deletions

View File

@@ -1,7 +1,15 @@
---
const { text, url_gh, url_mr, url_cf } = Astro.props
---
<div class="container">
<div class="call-to-action mt-24 mb-32 flex flex-col items-center gap-12 rounded-xl p-12 md:p-24">
<h2 class="text-center text-3xl md:text-5xl">Get this theme on GitHub</h2>
<a href="https://github.com/markteekman/accessible-astro-starter" class="text-center text-lg"> Use this theme</a>
<h2 class="text-center text-3xl md:text-5xl">{text}</h2>
<div class="flex-row">
<a href={url_gh} class="text-center text-lg">GitHub</a>
<a href={url_mr} class="text-center text-lg">Modrinth</a>
<a href={url_cf} class="text-center text-lg">CurseForge</a>
</div>
</div>
</div>
@@ -13,7 +21,10 @@
.call-to-action a:not(button),
.call-to-action a:not(button):visited {
display: inline-block;
vertical-align: top;
padding: 1rem;
margin: 0 1rem 0 1rem;
color: var(--neutral-900);
font-weight: bold;
border: 3px solid var(--neutral-900);