mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: icons and avatars in update installation
This commit is contained in:
1 parent
1edbeee5bc
commit
af60226e86
3 files changed
+6
-3
No files matched your search
@@ -5,9 +5,10 @@
|
||||
export let icons: string[] = [];
|
||||
export let total = avatars.length;
|
||||
export let size = 40;
|
||||
export let bordered = false;
|
||||
</script>
|
||||
|
||||
<ul class="avatars-group">
|
||||
<ul class="avatars-group" class:is-with-border={bordered}>
|
||||
{#each avatars as name, index}
|
||||
{#if index < 2}
|
||||
<li class="avatars-group-item">
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
|
||||
export let name: string;
|
||||
export let type: 'color' | 'grayscale' = 'color';
|
||||
export let size = 40;
|
||||
let className = '';
|
||||
export { className as class };
|
||||
</script>
|
||||
|
||||
<img class={className} src={$iconPath(name, type)} alt={name} />
|
||||
<img class={className} width={size} height={size} src={$iconPath(name, type)} alt={name} />
|
||||
@@ -190,10 +190,11 @@
|
||||
<article class="card-git card is-border-dashed is-no-shadow">
|
||||
<div class="u-flex u-cross-center u-flex-vertical u-gap-32">
|
||||
<div class="u-flex u-cross-center u-flex-vertical u-gap-8">
|
||||
<AvatarGroup icons={['github', 'gitlab', 'bitBucket', 'azure']} />
|
||||
<AvatarGroup bordered icons={['github', 'gitlab', 'bitBucket', 'azure']} />
|
||||
<span class="icon-arrow-narrow-down" />
|
||||
|
||||
<div class="avatar"><span class="icon-appwrite" /></div>
|
||||
<!-- <div class="avatar"><SvgIcon name="appwrite" type="color" /></div> -->
|
||||
</div>
|
||||
<Button on:click={() => (showGitIstall = true)} secondary>
|
||||
<span class="text">Add Installation</span>
|
||||
|
||||
Reference in new issue
Block a user