wip: trpc

This commit is contained in:
Andras Bacsai 2022-12-13 13:11:49 +01:00
parent aece1fa7d3
commit 515d9a0008
10 changed files with 15 additions and 7 deletions

View File

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 505 B

View File

@ -0,0 +1,2 @@
export { default as LocalDocker } from './LocalDocker.svelte';
export { default as RemoteDocker } from './RemoteDocker.svelte';

View File

@ -0,0 +1,5 @@
export { default as RemoteLink } from './RemoteLink.svelte';
export * as Applications from './applications';
export * as Sources from './sources';
export * as Destinations from './destinations';
export * as Databases from './databases';

View File

@ -0,0 +1,2 @@
export { default as GitHub } from './Github.svelte';
export { default as GitLab } from './Gitlab.svelte';

View File

@ -10,8 +10,9 @@
import ApplicationsIcons from '$lib/components/svg/applications/ApplicationIcons.svelte';
import DatabaseIcons from '$lib/components/svg/databases/DatabaseIcons.svelte';
import ServiceIcons from '$lib/components/svg/services/ServiceIcons.svelte';
import NewResource from '$lib/components/NewResource.svelte';
import DeleteIcon from '$lib/components/DeleteIcon.svelte';
import NewResource from './_components/NewResource.svelte';
const {
applications,

View File

@ -2,9 +2,7 @@
export let application: any;
import { status } from '$lib/store';
import { page } from '$app/stores';
import GitlabIcon from '$lib/components/svg/sources/GitlabIcon.svelte';
import GithubIcon from '$lib/components/svg/sources/GithubIcon.svelte';
import RemoteLink from '$lib/components/svg/RemoteLink.svelte';
import * as Icons from '$lib/components/svg';
</script>
<ul class="menu border bg-coolgray-100 border-coolgray-200 rounded p-2 space-y-2 sticky top-4">
@ -20,11 +18,11 @@
class="no-underline"
>
{#if application.gitSource?.type === 'gitlab'}
<GithubIcon small={true} />
<Icons.Sources.Github small={true} />
{:else if application.gitSource?.type === 'github'}
<GitlabIcon small={true} />
<Icons.Sources.Gitlab small={true} />
{/if}
Open on Git <RemoteLink />
Open on Git <Icons.RemoteLink />
</a>
</li>
{/if}