document.addEventListener('DOMContentLoaded', function() { const events = document.querySelectorAll('.event'); // Använd rätt klassnamn från EventIgniter const now = new Date(); const upcomingContainer = document.querySelector('#upcoming-events'); const pastContainer = document.querySelector('#past-events'); events.forEach(event => { const eventDate = new Date(event.getAttribute('data-date')); // Kolla om EventIgniter sätter data-attribut för datum // Jämför datumet med dagens datum if (eventDate >= now) { upcomingContainer.appendChild(event); } else { pastContainer.appendChild(event); } }); });
Gemenskap – Din godhet ska följa mig

Gemenskap – Din godhet ska följa mig

Gemenskap Din godhet ska följa mig Gemenskap (Community) is the name of an appreciated series of hymns, where the focus is on acoustic and quiet songs. Different singers and musicians participate on the albums each time, so the focus is rather on the songs, than on...
Starmen – Starmenized

Starmen – Starmenized

Starmen Starmenized Maybe the most inspiring job, so far. Beside the coverart, we made a lot of really cool merchandise and videos in the same vibe. Superheroes meet rockstars, and there you have Starmen’s album Starmenized. I also play bass, sing some songs,...