diff --git a/src/lib/components/TeamCard.svelte b/src/lib/components/TeamCard.svelte deleted file mode 100644 index eebfd9a..0000000 --- a/src/lib/components/TeamCard.svelte +++ /dev/null @@ -1,93 +0,0 @@ - - - -
- - - {#if team && !disable_inputs} - - {/if} - -
- - - Name - - - - - Upload Logo or Drag and Drop - - - -
- {#if team} - - - {:else} - - {/if} -
-
-
-
diff --git a/src/lib/components/cards/TeamCard.svelte b/src/lib/components/cards/TeamCard.svelte new file mode 100644 index 0000000..134c343 --- /dev/null +++ b/src/lib/components/cards/TeamCard.svelte @@ -0,0 +1,160 @@ + + + +
+ + + {#if team && !disable_inputs} + + {/if} + +
+ + + Name + + + + { + colorpreview = (event.target as HTMLInputElement).value; + }} + > + Color + C + + + + + Upload Banner + + + + + +
+ Upload Logo + +
+
+
+ + +
+ {#if team} + + + {:else} + + {/if} +
+
+
+