diff --git a/app/src/lib/components/custom-source/AddCustomSource.svelte b/app/src/lib/components/custom-source/AddCustomSource.svelte index fc59dab..bf899d4 100644 --- a/app/src/lib/components/custom-source/AddCustomSource.svelte +++ b/app/src/lib/components/custom-source/AddCustomSource.svelte @@ -1,94 +1,21 @@
- - - Custom source - - Let's base Audiora's responses on the information that matters most to you. (E.g., marketing - plans, research notes, meeting transcripts, etc.) - - - - - -
- - - -
-
-
+ {#if !showWebsiteURLForm && !showCopyPasteForm} + (showWebsiteURLForm = true)} + on:useCopyPaste={() => (showCopyPasteForm = true)} + /> + {:else if showWebsiteURLForm} + (showWebsiteURLForm = false)} /> + {:else if showCopyPasteForm} + (showCopyPasteForm = false)} /> + {/if}
diff --git a/app/src/lib/components/custom-source/AddCustomSourceForm.svelte b/app/src/lib/components/custom-source/AddCustomSourceForm.svelte new file mode 100644 index 0000000..4d1e0db --- /dev/null +++ b/app/src/lib/components/custom-source/AddCustomSourceForm.svelte @@ -0,0 +1,100 @@ + + + + + Custom source + + Let's base Audiora's responses on the information that matters most to you. (E.g., marketing + plans, research notes, meeting transcripts, etc.) + + + + + +
+ + + +
+
+
diff --git a/app/src/lib/components/custom-source/CopyPasteSource.svelte b/app/src/lib/components/custom-source/CopyPasteSource.svelte new file mode 100644 index 0000000..34fe5e6 --- /dev/null +++ b/app/src/lib/components/custom-source/CopyPasteSource.svelte @@ -0,0 +1,65 @@ + + + + +
+
+ +

Paste copied text

+
+ +
+ +

Paste your copied text below to upload as a source

+
+ + +
+ + +
+