diff --git a/src/content/docs/index.mdx b/src/content/docs/index.mdx index 5310e97..efda042 100644 --- a/src/content/docs/index.mdx +++ b/src/content/docs/index.mdx @@ -1,35 +1,34 @@ --- title: Distribute Aid Docs description: Documentation for Distribute Aid's projects, tools, and processes. -template: splash -hero: - tagline: Documentation for Distribute Aid's projects, tools, and processes. - actions: - - text: Get Started - link: /how-to-da/contributing - icon: right-arrow - - text: GitHub - link: https://github.com/distributeaid - icon: external - variant: minimal +template: doc --- -import { Card, CardGrid } from '@astrojs/starlight/components'; +import { Card, CardGrid, LinkButton } from '@astrojs/starlight/components'; + +Documentation for Distribute Aid's projects, tools, and processes. ## Projects - - Data collection and analysis for understanding aid distribution needs across - regions. - - - The next generation of the Distribute Aid public website. - - - Collecting and organizing publicly available aid-related data. - - - New to Distribute Aid? Start here to learn how to contribute. - + +Data collection and analysis for understanding aid distribution needs across regions. + +Needs Assessment docs + + +The next generation of the Distribute Aid public website. + +Website docs + + +Collecting and organizing publicly available aid-related data. + +API docs + + +New to Distribute Aid? Start here to learn how to contribute. + +Get started + diff --git a/src/styles/custom.css b/src/styles/custom.css index 476937e..ed4f69a 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -12,3 +12,23 @@ --sl-hue-accent: 222; --sl-hue-blue: 222; } + +/* Card CTA buttons: bottom-aligned across a row, with a guaranteed gap + above so the button never crowds the description in denser cards. */ +.sl-markdown-content .card { + display: flex; + flex-direction: column; + padding-bottom: 1.2rem; +} +.sl-markdown-content .card .body { + display: flex; + flex-direction: column; + flex-grow: 1; +} +.sl-markdown-content .card .body > p { + margin-bottom: 1.5rem; +} +.sl-markdown-content .card .sl-link-button { + margin-top: auto; + align-self: flex-start; +}