first commit

This commit is contained in:
GNfsys
2026-04-17 19:05:33 +02:00
commit 6046a6acd7
60 changed files with 11348 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
@import 'tailwindcss';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';
@theme {
--font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Noto Color Emoji';
}
+10
View File
@@ -0,0 +1,10 @@
// Load view specific code
const currentView = document.body.dataset["currentView"];
if (currentView) {
// Import the module asynchronously; its top-level code runs on load
import(`./views/${currentView}.ts`)
// If the module exports an `init` function, call it
.then(module => module.init?.())
.catch(() => console.warn(`No module for view: ${currentView}`))
}
+10
View File
@@ -0,0 +1,10 @@
console.log('Another view')
const button = document.getElementById('show-alert-button');
if (button) {
button.addEventListener('click', function (e) {
e.preventDefault();
alert('Danger!');
})
}
+1
View File
@@ -0,0 +1 @@
console.log('From page JS')
File diff suppressed because one or more lines are too long