mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-11 18:50:36 +08:00
We had a lot variables that we had to pass down from the project view, and only very few where important to the reactivity of the components. By using the resolved Promise from `getProject` as transport we can use now the `source` variable and get the required params by destructuring it. In short we can pack now the following params: ``` urn, org, user, seed, peer, project, branches, peers, config, anchors ``` Signed-off-by: Sebastian Martinez <sebastinez@me.com>
<script lang="ts">
import Markdown from '@app/Markdown.svelte';
export let content: string;
</script>
<style>
article {
padding: 2rem;
background: var(--color-foreground-background-subtle);
border-radius: 0.5rem;
}
</style>
<article>
<Markdown {content} />
</article>