diff --git a/backplaces/css/style_index.css b/backplaces/css/style_index.css index debcb7c..af8039d 100644 --- a/backplaces/css/style_index.css +++ b/backplaces/css/style_index.css @@ -177,7 +177,7 @@ body { .letterBox { line-height: 130%; - font-size: 11px; + font-size: 12px; padding: 30px; margin: 30px; max-width: 99%; diff --git a/backplaces/hermit/script.js b/backplaces/hermit/script.js index b20b25b..9fd0ee2 100644 --- a/backplaces/hermit/script.js +++ b/backplaces/hermit/script.js @@ -84,12 +84,18 @@ document.addEventListener('DOMContentLoaded', (event) => { event.target.src = '../photos/home-closed.png'; }); }); - //audio document.addEventListener("DOMContentLoaded", function() { const audioElement = document.getElementById('background-audio'); const muteButton = document.getElementById('mute-btn'); + // Function to set the volume + const setVolume = () => { + audioElement.volume = 0.1; // Set volume to 10% + }; + + setVolume(); // Set initial volume + // Set initial mute state from localStorage let isMuted = localStorage.getItem('mute') === 'true'; audioElement.muted = isMuted; @@ -98,6 +104,7 @@ document.addEventListener("DOMContentLoaded", function() { // Start audio playback on user interaction const startAudio = () => { audioElement.play(); + setVolume(); // Ensure volume is set after play document.removeEventListener('click', startAudio); }; @@ -110,3 +117,4 @@ document.addEventListener("DOMContentLoaded", function() { muteButton.textContent = isMuted ? "SOUND ON" : "MUTE"; }); }); + diff --git a/backplaces/sunrise/form.json b/backplaces/sunrise/form.json index a9cd7c5..a4dccce 100644 --- a/backplaces/sunrise/form.json +++ b/backplaces/sunrise/form.json @@ -1 +1 @@ -[{"name":"test","post":"test"},{"name":"ddwdede","post":"ada"},{"name":"test","post":"test"},{"name":"work?","post":"this"},{"name":"hello ada! thanks for this amazing website. welove you too","post":"fofi"},{"name":"hello ada! thanks for this amazing website. welove you too","post":"fofi"},{"name":"my brother is autistic","post":"mati"},{"name":"","post":""},{"name":"vv","post":"vv"},{"name":"vv","post":"vv"},{"name":"","post":""},{"name":"vv","post":"vv"},{"name":"","post":""},{"name":"","post":""},{"name":"c","post":"c"},{"name":"f","post":"f"},{"name":"f","post":"f"},{"name":"f","post":"f"},{"name":"","post":""},{"name":"","post":""},{"name":"siblings are real","post":"f"},{"name":"","post":""},{"name":"","post":""}] \ No newline at end of file +[{"name":"test","post":"test"}] \ No newline at end of file diff --git a/reviews/martino.png b/reviews/martino.png new file mode 100644 index 0000000..36a50fc Binary files /dev/null and b/reviews/martino.png differ