Skip to content

Commit

Permalink
feat: help
Browse files Browse the repository at this point in the history
  • Loading branch information
papierkorp committed Oct 14, 2024
1 parent bde11c8 commit 8814edd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions help.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="p-4 border rounded-lg shadow-sm bg-white">
<h3 class="text-lg font-semibold mb-4">Help</h3>
</div>
12 changes: 9 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,19 @@ <h2 class="text-xl font-semibold mb-4">Card Preview</h2>
</div>
<div>
<h2 class="text-xl font-semibold mb-4">HTML Output</h2>
<pre id="htmlOutput" class="bg-gray-100 p-4 rounded overflow-x-auto text-sm" style="max-height: 200px"></pre>
<pre
id="htmlOutput"
class="bg-gray-100 p-4 rounded overflow-x-auto text-sm"
style="max-height: 200px"
></pre>
</div>
<div id="staticPreviewContainer"></div>
</div>

<!-- Right Column (Border Settings) -->
<!-- Right Column (Border Settings and Help) -->
<div class="space-y-8">
<div id="borderSettings"></div>
<div id="helpSection"></div>
</div>
</div>
</div>
Expand All @@ -74,9 +79,10 @@ <h2 class="text-xl font-semibold mb-4">HTML Output</h2>
fetchComponent('content_settings.html', 'contentSettings');
fetchComponent('text_settings.html', 'textSettings');
fetchComponent('border_settings.html', 'borderSettings');
fetchComponent('help.html', 'helpSection');
</script>

<!-- JavaScript files -->
<script type="module" src="js/main.js"></script>
</body>
</html>
</html>

0 comments on commit 8814edd

Please sign in to comment.