Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 24 additions & 25 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -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

<CardGrid>
<Card title="Needs Assessment" icon="document">
Data collection and analysis for understanding aid distribution needs across
regions.
</Card>
<Card title="Website" icon="laptop">
The next generation of the Distribute Aid public website.
</Card>
<Card title="Aggregated Public Information" icon="information">
Collecting and organizing publicly available aid-related data.
</Card>
<Card title="Getting Started" icon="rocket">
New to Distribute Aid? Start here to learn how to contribute.
</Card>
<Card title="Needs Assessment" icon="document">
Data collection and analysis for understanding aid distribution needs across regions.

<LinkButton href="/needs-assessment/" variant="secondary" icon="right-arrow">Needs Assessment docs</LinkButton>
</Card>
<Card title="Website" icon="laptop">
The next generation of the Distribute Aid public website.

<LinkButton href="/website/" variant="secondary" icon="right-arrow">Website docs</LinkButton>
</Card>
<Card title="Aggregated Public Information" icon="information">
Collecting and organizing publicly available aid-related data.

<LinkButton href="/aggregated-public-information/" variant="secondary" icon="right-arrow">API docs</LinkButton>
</Card>
<Card title="Getting Started" icon="rocket">
New to Distribute Aid? Start here to learn how to contribute.

<LinkButton href="/how-to-da/contributing/" variant="secondary" icon="right-arrow">Get started</LinkButton>
</Card>
</CardGrid>
20 changes: 20 additions & 0 deletions src/styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Loading