From 6534cad6ebe4bd3127363619074464e14012ec1f Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Tue, 18 Aug 2026 16:18:23 +0200 Subject: [PATCH] allow to create dm and blossom lists give a couple templates for happy frens --- index.html | 4 +- src/App.css | 12 ++ src/App.jsx | 4 +- src/components/TemplateApplier.jsx | 250 +++++++++++++++------- src/components/TemplateCreator.jsx | 325 ++++++++++++++++++++++++++--- src/hooks/useNostr.js | 165 +++++++++------ src/utils/templates.js | 173 ++++++++++++--- 7 files changed, 729 insertions(+), 204 deletions(-) diff --git a/index.html b/index.html index e8c9b97..8958cb4 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Relay Template - Nostr + Comunitator - Nostr @@ -11,4 +11,4 @@
- \ No newline at end of file + diff --git a/src/App.css b/src/App.css index 2a4c3b1..cb01c70 100644 --- a/src/App.css +++ b/src/App.css @@ -68,6 +68,7 @@ footer { /* Form Styles */ .form-group { margin-bottom: 20px; + margin-top: 20px; } .form-group label { @@ -334,3 +335,14 @@ footer { border-radius: 4px; font-size: 13px; } + +/* Community Templates */ +.active-template { + background: #f0ebff !important; + border-color: #7c4dff !important; + color: #7c4dff !important; +} + +.active-template:hover { + background: #e8e0ff !important; +} diff --git a/src/App.jsx b/src/App.jsx index 45617cc..fc2dc32 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -11,7 +11,7 @@ function App() {
-

⚡ Relay Template

+

⚡ Communitator