neue Section: Aktuelle Posts in #Fedikirche

This commit is contained in:
Alexander Müller 2024-12-28 15:17:57 +01:00
parent 9f79d15a91
commit 8ef7b1ba5e
5 changed files with 365 additions and 2 deletions

View file

@ -1,6 +1,8 @@
import { createStarterKitElement, enhanceStarterKits } from './utils/starterkit-utils.js';
import { seededShuffleChildren } from './utils/shuffle-utils.js';
import { initializeCreateStarterKitPopup } from './utils/create-starterkit.js';
import { loadPostwall } from './components/postwall.js';
let userConsent = null;
export { userConsent };
@ -19,6 +21,9 @@ document.addEventListener('DOMContentLoaded', async function () {
initializeCreateStarterKitPopup();
// Lade die Postwall
loadPostwall();
const container = document.getElementById('starterkit-container');
const shuffleContainers = document.querySelectorAll('.shuffle-container');
const seed = Date.now();
@ -45,4 +50,4 @@ document.addEventListener('DOMContentLoaded', async function () {
enhanceStarterKits();
})
.catch(error => console.error('Fehler beim Laden der StarterKits:', error));
});
});