StarterPack Formular WIP

This commit is contained in:
Alexander Müller 2024-12-16 22:57:46 +01:00
parent 0b90f1c60c
commit f3d11d02ff
5 changed files with 270 additions and 0 deletions

View file

@ -1,5 +1,7 @@
import { createStarterKitElement, enhanceStarterKits } from './utils/starterkit-utils.js';
import { seededShuffleChildren } from './utils/shuffle-utils.js';
import { initializeCreateStarterKitPopup } from './utils/create-starterkit.js';
let userConsent = null;
export { userConsent };
@ -17,6 +19,8 @@ async function loadTemplates() {
document.addEventListener('DOMContentLoaded', async function () {
await loadTemplates(); // Templates laden
initializeCreateStarterKitPopup();
const container = document.getElementById('starterkit-container');
const shuffleContainers = document.querySelectorAll('.shuffle-container');
const seed = Date.now();