Skip to content

Commit

Permalink
fix: styles and change default encryption to false
Browse files Browse the repository at this point in the history
- change default encryption to false
- fix styles
  • Loading branch information
ntsd committed Apr 25, 2023
1 parent 4e5ad68 commit 023226a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/Navbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div class="navbar w-full">
<div class="navbar-start" />
<div class="navbar-center text-xl">Zero Share</div>
<div class="navbar-center text-xl font-bold">Zero Share</div>
<div class="navbar-end">
<a
aria-label="Github"
Expand Down
4 changes: 2 additions & 2 deletions src/components/SenderOptions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<div>
<span class="text-sm">Encryption</span>
<p class="text-xs text-gray-500">
Enable E2E encryption for a more secure but slower transfer process.
Enable E2E encryption for a more secure but slower transfer.
</p>
</div>
<select bind:value={encryptionEnabled} on:change={onChange} class="select select-bordered">
Expand All @@ -40,7 +40,7 @@
<div>
<span class="text-sm">Chunk Size</span>
<p class="text-xs text-gray-500">
Higher will make the file transfer faster but might cause buffer issues.
Higher make transfer faster but might cause buffer issue.
</p>
</div>
<select bind:value={chunkSize} on:change={onChange} class="select select-bordered">
Expand Down
2 changes: 1 addition & 1 deletion src/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const githubLink = 'https://github.com/ntsd/zero-share';

export const defaultSendOptions: SendOptions = {
chunkSize: 16 * 1024,
isEncrypt: true,
isEncrypt: false,
iceServer: stunServers[0]
};

Expand Down
8 changes: 3 additions & 5 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@
<div class="flex flex-col h-screen">
<Navbar />
<div class="flex-grow container mx-auto justify-items-center">
<div class="text-center mb-4 xl:mb-8">
<p>
{pageDescription}
</p>
</div>
<p class="text-center mb-4 xl:mb-8 p-1">
{pageDescription}
</p>
<slot />
</div>
<Footer />
Expand Down

0 comments on commit 023226a

Please sign in to comment.