From fb5093a529355275e6a1f0983ff89e1d628c3179 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Sun, 27 Jul 2025 09:59:09 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8feature:=20Update=20layout=20to=20have?= =?UTF-8?q?=20footer,=20update=20export=20button=20for=20all/selected=20pr?= =?UTF-8?q?ompt=20export=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SearchBar.astro | 2 +- src/components/SidebarAdd.astro | 2 +- src/components/SidebarEdit.astro | 6 +-- src/pages/add.astro | 93 ++++++++++++++++++-------------- src/pages/edit.astro | 12 +++-- src/pages/index.astro | 16 +++--- 6 files changed, 75 insertions(+), 56 deletions(-) diff --git a/src/components/SearchBar.astro b/src/components/SearchBar.astro index 9de39f6..74e4694 100644 --- a/src/components/SearchBar.astro +++ b/src/components/SearchBar.astro @@ -4,7 +4,7 @@ // TODO: Add options for AND/OR switching and sort by options --- -
+
Add Prompt diff --git a/src/components/SidebarAdd.astro b/src/components/SidebarAdd.astro index f9e9b43..01c95cc 100644 --- a/src/components/SidebarAdd.astro +++ b/src/components/SidebarAdd.astro @@ -15,7 +15,7 @@ const code = `[ `; --- -
-
+

Prompt Catalog - Add New Prompt

Add or import new AI prompts to the catalog

-
+ -
+
-
+
@@ -92,14 +92,18 @@ const supabaseKey = import.meta.env.PUBLIC_SUPABASE_ANON_KEY;
-
+
- + + + diff --git a/src/pages/edit.astro b/src/pages/edit.astro index 636a3b7..2105737 100644 --- a/src/pages/edit.astro +++ b/src/pages/edit.astro @@ -19,12 +19,12 @@ const supabaseKey = import.meta.env.PUBLIC_SUPABASE_ANON_KEY; hidden > -
+

Prompt Catalog - Add New Prompt

Add a new AI prompt to the catalog

-
+ -
+
@@ -32,7 +32,11 @@ const supabaseKey = import.meta.env.PUBLIC_SUPABASE_ANON_KEY;
Loading...
- + + +