wip: trpc
This commit is contained in:
parent
aece1fa7d3
commit
515d9a0008
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 505 B |
2
apps/client/src/lib/components/svg/destinations/index.ts
Normal file
2
apps/client/src/lib/components/svg/destinations/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export { default as LocalDocker } from './LocalDocker.svelte';
|
||||
export { default as RemoteDocker } from './RemoteDocker.svelte';
|
5
apps/client/src/lib/components/svg/index.ts
Normal file
5
apps/client/src/lib/components/svg/index.ts
Normal 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';
|
2
apps/client/src/lib/components/svg/sources/index.ts
Normal file
2
apps/client/src/lib/components/svg/sources/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export { default as GitHub } from './Github.svelte';
|
||||
export { default as GitLab } from './Gitlab.svelte';
|
@ -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,
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user