This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / web / src / lib / components / repo / pipelines / PipelineCard.svelte
690 B 27 lines
1<script lang="ts"> 2 import Card, { type CardVariants } from "$lib/components/ui/Card.svelte"; 3 import PipelineCardContent from "./PipelineCardContent.svelte"; 4 import type { PipelineSummary } from "$lib/components/repo/types"; 5 6 interface Props { 7 ownerHandle: string; 8 repoName: string; 9 pipeline: PipelineSummary; 10 border?: CardVariants["border"]; 11 shadow?: CardVariants["shadow"]; 12 background?: CardVariants["background"]; 13 } 14 15 let { 16 ownerHandle, 17 repoName, 18 pipeline, 19 border = true, 20 shadow = false, 21 background = true 22 }: Props = $props(); 23</script> 24 25<Card {border} {shadow} {background} padding="sm"> 26 <PipelineCardContent {ownerHandle} {repoName} {pipeline} /> 27</Card>