mirror of
https://codeberg.org/kirche-im-netz/Startodon-Hub.git
synced 2025-08-14 06:58:51 +02:00
neue Section: Aktuelle Posts in #Fedikirche
This commit is contained in:
parent
9f79d15a91
commit
8ef7b1ba5e
5 changed files with 365 additions and 2 deletions
|
@ -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));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue