Alles via kirche.social laden

Gleicher Anbieter (LUKi), daher kein Datenschutzpopup notwendig
This commit is contained in:
Christoph Settgast 2025-01-12 00:11:54 +01:00
parent 47460e0104
commit 089183abd8
18 changed files with 55 additions and 235 deletions

View file

@ -2,24 +2,10 @@ import { createStarterKitElement, enhanceStarterKits } from './utils/starterkit-
import { seededShuffleChildren } from './utils/shuffle-utils.js';
import { initializeCreateStarterKitPopup } from './utils/create-starterkit.js';
import { loadPostwall } from './components/postwall.js';
import { checkConsent, setUserConsent, showConsentPopup } from './components/consentManager.js';
document.addEventListener('DOMContentLoaded', async function () {
// Starte sofort den Seitenaufbau
initializeSite();
// Überprüfe parallel den Consent-Status
const consent = checkConsent();
if (!consent) {
showConsentPopup(
() => {
setUserConsent(true);
},
() => {
setUserConsent(false);
}
);
}
});
async function initializeSite() {