Palette
Colour theme

Content

MediaCard

A card led by an image.

import { MediaCard } from "gui-mellow/MediaCard";

Case studies

Sovereignty

Health data at home

Records that never leave the region.
Source of these examples
import { Grid } from "gui-mellow/Grid";
import { MediaCard } from "gui-mellow/MediaCard";
import { Example } from "../lib/Example";
import { asset } from "../lib/asset";

export default function MediaCardDemo() {
  return (
    <Example title="Case studies">
      <Grid min="260px" gap={6}>
        <MediaCard eyebrow="Edge" title="A town's own CDN" media={asset("/edge-infrastructure.jpg")} href="#edge" glow>
          Serving the library's catalogue from three local nodes.
        </MediaCard>
        <MediaCard eyebrow="Storage" title="Archives that last" media={asset("/storage.jpg")} href="#storage" glow>
          Twenty years of newspaper scans, replicated across the county.
        </MediaCard>
        <MediaCard eyebrow="Sovereignty" title="Health data at home" media={asset("/sovereignty.jpg")}>
          Records that never leave the region.
        </MediaCard>
      </Grid>
    </Example>
  );
}