copytext
This commit is contained in:
parent
d3eb216f4a
commit
c4c36a3f57
8
webapp/src/lib/components/index/tile.svelte
Normal file
8
webapp/src/lib/components/index/tile.svelte
Normal file
@ -0,0 +1,8 @@
|
||||
<div class="">
|
||||
<div class="text-2xl font-bold mb-4 text-center">
|
||||
<slot name="title" />
|
||||
</div>
|
||||
<div class="prose-lg text-left text-zinc-700 dark:text-zinc-300">
|
||||
<slot name="text" />
|
||||
</div>
|
||||
</div>
|
@ -3,13 +3,13 @@
|
||||
id="navbar-content"
|
||||
class="h-full px-4 6xl:px-0 max-w-6xl mx-auto flex items-center justify-between content-center whitespace-nowrap"
|
||||
>
|
||||
<div id="navbar-left" class="flex gap-6">
|
||||
<div id="navbar-left" class="flex gap-4">
|
||||
<a href="/" class="self-center h-full pb-0.5">
|
||||
<span id="name" class="self-center font-bold text-lg dark:text-white"
|
||||
>📝 {import.meta.env.VITE_BRANDING}</span
|
||||
>
|
||||
</a>
|
||||
<ul class="flex gap-2 content-center">
|
||||
<ul class="flex gap-4 content-center">
|
||||
<slot name="left" />
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -2,7 +2,7 @@
|
||||
export let href: string = '/';
|
||||
</script>
|
||||
|
||||
<a {href} class="self-center w-full h-full text-zinc-600 dark:text-zinc-400 p-1.5">
|
||||
<a {href} class="self-center w-full h-full text-zinc-600 dark:text-zinc-400">
|
||||
<div class="h-full flex flex-col justify-center">
|
||||
<slot />
|
||||
</div>
|
||||
|
@ -39,7 +39,7 @@
|
||||
<div class="top-0 left-0 right-0">
|
||||
<NavBar>
|
||||
<svelte:fragment slot="left">
|
||||
<NavBarLink href="/about">About</NavBarLink>
|
||||
<NavBarLink href="/about">How it works</NavBarLink>
|
||||
<NavBarLink href="/install">Get plugin</NavBarLink>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="right">
|
||||
|
@ -1,14 +1,66 @@
|
||||
<script>
|
||||
import Tile from '$lib/components/index/tile.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>{import.meta.env.VITE_BRANDING} | Create share links for Obsidian in one click</title>
|
||||
</svelte:head>
|
||||
|
||||
<div class="prose dark:prose-invert">
|
||||
<!-- <div class="prose dark:prose-invert">
|
||||
<h1>{import.meta.env.VITE_BRANDING}</h1>
|
||||
<p>
|
||||
<p class="prose-lg">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
|
||||
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
|
||||
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
|
||||
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
|
||||
non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
</p>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<article class="mx-auto max-w-4xl pt-8 text-zinc-900 dark:text-zinc-100 space-y-6">
|
||||
<h1 id="title" class="font-extrabold text-5xl text-center">
|
||||
Securely share your <span class="text-[#705dcf]">Obsidian</span> notes with one click.
|
||||
</h1>
|
||||
<p id="tagline" class="prose-2xl text-center text-zinc-700 dark:text-zinc-300">
|
||||
Zero configuration. End-to-end encrypted.
|
||||
</p>
|
||||
<p id="install-button" class="text-center pt-2">
|
||||
<a href="/install">
|
||||
<button
|
||||
class="py-1.5 px-4 rounded-lg border-2 border-[#705dcf] text-[#705dcf] font-semibold hover:bg-[#705dcf] hover:text-white transition-colors"
|
||||
>Install plugin</button
|
||||
>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<div class="grid grid-cols-2 gap-8 pt-16 pb-8">
|
||||
<Tile>
|
||||
<h2 slot="title">End-to-end encrypted</h2>
|
||||
<p slot="text">
|
||||
Your notes are encrypted using strong <strong>AES-256-CBC encryption</strong>. The
|
||||
decryption key is never sent to the server. Not even we can read your notes.
|
||||
</p>
|
||||
</Tile>
|
||||
|
||||
<Tile>
|
||||
<h2 slot="title">Zero configuration</h2>
|
||||
<p slot="text">
|
||||
Other plugins require integration with GitHub Gist or Notion using API keys. Noteshare.space
|
||||
is a <strong>dedicated service</strong> for sharing your Markdown notes.
|
||||
</p>
|
||||
</Tile>
|
||||
|
||||
<Tile>
|
||||
<h2 slot="title">Open source</h2>
|
||||
<p slot="text">
|
||||
Want to verify the security of the encryption mechanism? Or host your own instance?
|
||||
Noteshare.space is completely <a
|
||||
class="underline"
|
||||
href="https://github.com/mcndt/obsidian-note-sharing">open-source</a
|
||||
> under the MIT license.
|
||||
</p>
|
||||
</Tile>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<img src="/encrypted.svg" alt="encrypted-art" class="h-80" />
|
||||
|
1
webapp/static/encrypted.svg
Normal file
1
webapp/static/encrypted.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 7.3 KiB |
1
webapp/static/opensource.svg
Normal file
1
webapp/static/opensource.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 16 KiB |
1
webapp/static/zeroconfig.svg
Normal file
1
webapp/static/zeroconfig.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue
Block a user