🐞 fix: Remove unused scripts, remove sidebar height
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
// TODO: Add options for AND/OR switching and sort by options
|
// TODO: Add options for AND/OR switching and sort by options
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="w-64 h-full p-4 text-gray-100 min-h-screen">
|
<div class="w-64 h-full p-4 text-gray-100">
|
||||||
<a href="/add" id="add-prompt" class="block w-fit bg-green-600 text-white px-4 py-2 mb-4 rounded hover:bg-green-700 transition-colors duration-300">
|
<a href="/add" id="add-prompt" class="block w-fit bg-green-600 text-white px-4 py-2 mb-4 rounded hover:bg-green-700 transition-colors duration-300">
|
||||||
Add Prompt
|
Add Prompt
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ const code = `[
|
|||||||
`;
|
`;
|
||||||
---
|
---
|
||||||
|
|
||||||
<aside class="w-64 h-full p-4 text-gray-100 min-h-screen">
|
<aside class="w-64 h-full p-4 text-gray-100">
|
||||||
<h2 class="text-lg font-semibold mb-4">Add a prompt</h2>
|
<h2 class="text-lg font-semibold mb-4">Add a prompt</h2>
|
||||||
|
|
||||||
<p class="text-sm">Use the form to add a new AI prompt to the catalog.</p>
|
<p class="text-sm">Use the form to add a new AI prompt to the catalog.</p>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Sidebar.astro
|
// Sidebar.astro
|
||||||
---
|
---
|
||||||
|
|
||||||
<aside class="w-64 h-full p-4 text-gray-100 min-h-screen">
|
<aside class="w-64 h-full p-4 text-gray-100">
|
||||||
<h2 class="text-lg font-semibold mb-4">Edit a prompt</h2>
|
<h2 class="text-lg font-semibold mb-4">Edit a prompt</h2>
|
||||||
|
|
||||||
<p class="text-sm">Use the form to edit an AI prompt in the catalog.</p>
|
<p class="text-sm">Use the form to edit an AI prompt in the catalog.</p>
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ const { children } = Astro.props;
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Prompt Catalog</title>
|
<title>Prompt Catalog</title>
|
||||||
|
|
||||||
<script is:inline defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
|
||||||
<script is:inline defer src="https://unpkg.com/htmx.org@1.9.10"></script>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="font-sans antialiased bg-gray-800 text-gray-100">
|
<body class="font-sans antialiased bg-gray-800 text-gray-100">
|
||||||
|
|||||||
Reference in New Issue
Block a user