diff --git a/src/lib/components/FeatureCard.svelte b/src/lib/components/FeatureCard.svelte new file mode 100644 index 0000000..827cd9a --- /dev/null +++ b/src/lib/components/FeatureCard.svelte @@ -0,0 +1,28 @@ + + +
+
+
+ +
+ {title} +
+
+ {description} +
+
diff --git a/src/lib/features.ts b/src/lib/features.ts new file mode 100644 index 0000000..b3132e4 --- /dev/null +++ b/src/lib/features.ts @@ -0,0 +1,27 @@ +// TODO: Move SVG icons to assets! +export let features = [ + { + title: 'Privacy', + description: "We won't leak your private messages or send them to unauthorized address.", + icon: `M12 16.5V9.75m0 0l3 3m-3-3l-3 3M6.75 19.5a4.5 4.5 0 01-1.41-8.775 5.25 5.25 0 0110.233-2.33 3 3 0 013.758 3.848A3.752 3.752 0 0118 19.5H6.75z` + }, + { + title: 'Search on our index (soon)', + description: `When you search or query events, we search on our huge event index containing millions + of events indexed there.`, + icon: `M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99` + }, + { + title: 'Backup', + description: `We backup all of your events for you and you can export your events at anytime you + want.`, + icon: `M12 16.5V9.75m0 0l3 3m-3-3l-3 3M6.75 19.5a4.5 4.5 0 01-1.41-8.775 5.25 5.25 0 0110.233-2.33 3 3 0 013.758 3.848A3.752 3.752 0 0118 19.5H6.75z` + }, + { + title: 'Updates', + description: `That's not all you get. We are actively working and adding new features and services + to the JellyFish, as we just started now. All new services will be available on your + current plan, no need for more sats or updates.`, + icon: `M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99` + } +]; diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 0757d0a..01f421e 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,9 @@
@@ -54,7 +57,7 @@ - + -
@@ -85,120 +87,9 @@
-
-
-
- -
- Backup -
-
- We backup all of your events for you and you can export your events at anytime you - want. -
-
-
-
-
- -
- Privacy -
-
- We won't leak your private messages or send them to unauthorized address. -
-
-
-
-
- - icons8-search-50 - - - - - - -
- Search on our index (soon) -
-
- When you search or query events, we search on our huge event index containing millions - of events indexed there. -
-
-
-
-
- -
- Updates -
-
- That's not all you get. We are actively working and adding new features and services - to the JellyFish, as we just started now. All new services will be available on your - current plan, no need for more sats or updates. -
-
+ {#each features as f} + + {/each}
diff --git a/src/routes/backup/+page.svelte b/src/routes/backup/+page.svelte index b752ef3..e041138 100644 --- a/src/routes/backup/+page.svelte +++ b/src/routes/backup/+page.svelte @@ -66,10 +66,12 @@ > Backup Your Notes -

- All backups will be downloaded on your device in a json file. -
- Remember your noted deleted using nip-09 won't be in backup result. +

+ All backups will be downloaded to your device as a JSON file.
+ + Please note that notes deleted using nip-09, direct messages (encrypted/plain), and + notes that not published to JellyFish Relay won't be included in the backup. +