Spaces:
Running
Running
Promote version 65dd0ea to main
Browse filesPromoted commit 65dd0eaea2a04c7058960340ae7de3528139d4c6 to main branch
- index.html +5 -5
- script.js +1 -9
- style.css +6 -3
index.html
CHANGED
|
@@ -29,9 +29,9 @@
|
|
| 29 |
</script>
|
| 30 |
</head>
|
| 31 |
<body class="bg-gray-900 text-gray-100 min-h-screen">
|
| 32 |
-
<
|
| 33 |
-
|
| 34 |
-
<div class="flex flex-col lg:flex-row gap-6 h-full">
|
| 35 |
<!-- Left Column - Inputs -->
|
| 36 |
<div class="lg:w-1/3 h-full">
|
| 37 |
<div class="bg-gray-800 rounded-lg shadow-xl p-4 h-full flex flex-col">
|
|
@@ -108,10 +108,10 @@
|
|
| 108 |
</div>
|
| 109 |
</div>
|
| 110 |
</div>
|
| 111 |
-
|
| 112 |
<script src="script.js"></script>
|
| 113 |
<script src="components/tab-component.js"></script>
|
| 114 |
-
<script>
|
| 115 |
feather.replace();
|
| 116 |
</script>
|
| 117 |
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
|
|
|
| 29 |
</script>
|
| 30 |
</head>
|
| 31 |
<body class="bg-gray-900 text-gray-100 min-h-screen">
|
| 32 |
+
<div class="container mx-auto px-4 py-4">
|
| 33 |
+
<h1 class="text-3xl font-bold mb-6 text-primary-500">Spring Boot Generator<span class="text-secondary-500">🎹</span></h1>
|
| 34 |
+
<div class="flex flex-col lg:flex-row gap-6 h-full">
|
| 35 |
<!-- Left Column - Inputs -->
|
| 36 |
<div class="lg:w-1/3 h-full">
|
| 37 |
<div class="bg-gray-800 rounded-lg shadow-xl p-4 h-full flex flex-col">
|
|
|
|
| 108 |
</div>
|
| 109 |
</div>
|
| 110 |
</div>
|
| 111 |
+
|
| 112 |
<script src="script.js"></script>
|
| 113 |
<script src="components/tab-component.js"></script>
|
| 114 |
+
<script>
|
| 115 |
feather.replace();
|
| 116 |
</script>
|
| 117 |
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
script.js
CHANGED
|
@@ -1,14 +1,6 @@
|
|
| 1 |
-
|
| 2 |
document.addEventListener('DOMContentLoaded', function() {
|
| 3 |
-
// Sidebar toggle functionality
|
| 4 |
-
document.addEventListener('click', function(e) {
|
| 5 |
-
if (e.target.closest('#sidebar-toggle') || e.target.id === 'sidebar-toggle') {
|
| 6 |
-
document.body.classList.toggle('sidebar-open');
|
| 7 |
-
}
|
| 8 |
-
});
|
| 9 |
-
|
| 10 |
// Initialize tabs
|
| 11 |
-
const tabButtons = document.querySelectorAll('.tab-btn');
|
| 12 |
const tabContents = document.querySelectorAll('.tab-content');
|
| 13 |
|
| 14 |
tabButtons.forEach(button => {
|
|
|
|
|
|
|
| 1 |
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
// Initialize tabs
|
| 3 |
+
const tabButtons = document.querySelectorAll('.tab-btn');
|
| 4 |
const tabContents = document.querySelectorAll('.tab-content');
|
| 5 |
|
| 6 |
tabButtons.forEach(button => {
|
style.css
CHANGED
|
@@ -3,17 +3,20 @@
|
|
| 3 |
body {
|
| 4 |
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
| 5 |
}
|
|
|
|
| 6 |
/* Full height layout */
|
| 7 |
.container {
|
| 8 |
-
height: calc(100vh -
|
| 9 |
-
margin-top: 4rem;
|
| 10 |
}
|
|
|
|
| 11 |
.flex-col {
|
| 12 |
height: 100%;
|
| 13 |
}
|
|
|
|
| 14 |
.lg\\:w-1\\/3, .lg\\:w-2\\/3 {
|
| 15 |
-
height:
|
| 16 |
}
|
|
|
|
| 17 |
.bg-gray-800 {
|
| 18 |
height: 100%;
|
| 19 |
display: flex;
|
|
|
|
| 3 |
body {
|
| 4 |
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
| 5 |
}
|
| 6 |
+
|
| 7 |
/* Full height layout */
|
| 8 |
.container {
|
| 9 |
+
height: calc(100vh - 4rem); /* Account for padding */
|
|
|
|
| 10 |
}
|
| 11 |
+
|
| 12 |
.flex-col {
|
| 13 |
height: 100%;
|
| 14 |
}
|
| 15 |
+
|
| 16 |
.lg\\:w-1\\/3, .lg\\:w-2\\/3 {
|
| 17 |
+
height: 100%;
|
| 18 |
}
|
| 19 |
+
|
| 20 |
.bg-gray-800 {
|
| 21 |
height: 100%;
|
| 22 |
display: flex;
|