initial upload

This commit is contained in:
Kai Waggeling 2025-05-17 16:20:29 +02:00
parent 987c99d00b
commit bb6c0147db
44 changed files with 1884 additions and 131 deletions

35
ui/master copy.njk Normal file
View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="de">
<head>
<title>Shell Script Hub</title>
{% include "./components/meta.njk" %}
<style>
* {
box-sizing: border-box;
}
</style>
<script>
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
if (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark')
}
</script>
</head>
<body class="bg-gray-100 dark:bg-gray-800 dark:text-white">
<div id="app" class="w-full">
{% include "./components/navbar.njk" %}
{% include "./components/editor.njk" %}
<div class="container relative mx-auto py-12 flex flex-col justify-center items-center gap-16">
<dynamic-root :elements="elements"></dynamic-root>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/flowbite@2.5.1/dist/flowbite.min.js"></script>
<!-- <script src="/widgets.jumbotron.js"></script> -->
<script src="/start.js"></script>
</body>
</html>