diff --git a/public/assets/azure-logo.svg b/public/assets/azure-logo.svg deleted file mode 100644 index c387e87..0000000 --- a/public/assets/azure-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/assets/github-logo.svg b/public/assets/github-logo.svg deleted file mode 100644 index ca8b4b1..0000000 --- a/public/assets/github-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/App.svelte b/src/App.svelte index c2fe826..e1e4d15 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,18 +1,18 @@ diff --git a/src/components/Avatar/Avatar.svelte b/src/components/Avatar/Avatar.svelte new file mode 100644 index 0000000..151b8ee --- /dev/null +++ b/src/components/Avatar/Avatar.svelte @@ -0,0 +1,68 @@ + + + + +
+ {#await Service.getAvatar(pullRequest.provider, pullRequest.user.avatar, pullRequest.organizationName)} +

Chargement...

+ {:then avatar} +
{pullRequest.user.name}
+ {#if pullRequest.provider} +
+ +
+ {/if} + {:catch} +

Erreur

+ {/await} +
diff --git a/src/components/Avatar/index.ts b/src/components/Avatar/index.ts new file mode 100644 index 0000000..8ac02f9 --- /dev/null +++ b/src/components/Avatar/index.ts @@ -0,0 +1 @@ +export { default } from './Avatar.svelte'; diff --git a/src/components/CustomListSettings/CustomListSettings.svelte b/src/components/CustomListSettings/CustomListSettings.svelte new file mode 100644 index 0000000..1999091 --- /dev/null +++ b/src/components/CustomListSettings/CustomListSettings.svelte @@ -0,0 +1,71 @@ + + + + +
+ Nouvelle liste +
+
+ + +
+
+ + {#if $projects.length} +
+
+ + +
+
+ {/if} + + {#if $repositories.length} +
+
+ + +
+
+ {/if} + + +
diff --git a/src/components/CustomListSettings/index.ts b/src/components/CustomListSettings/index.ts new file mode 100644 index 0000000..ff8ad81 --- /dev/null +++ b/src/components/CustomListSettings/index.ts @@ -0,0 +1 @@ +export { default } from './CustomListSettings.svelte'; diff --git a/src/components/FollowedRepositories/FollowedRepositories.svelte b/src/components/FollowedRepositories/FollowedRepositories.svelte index a74bbad..24fd7d4 100644 --- a/src/components/FollowedRepositories/FollowedRepositories.svelte +++ b/src/components/FollowedRepositories/FollowedRepositories.svelte @@ -66,10 +66,7 @@ Vous suivez actuellement {followedRepositories.length} repositories sur {ProviderEnum[profile.provider]}.