Three Sacred Souls
![A picture of three man standing on rocks in front of a sky full of clouds during golden hour.](./images/thee-sacred-souls-banner.webp)
diff --git a/index.html b/index.html index 5a45a69..28c20a6 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,7 @@
Concert
@@ -51,10 +51,28 @@Concert
+Just confirmed
+Club Night
@@ -70,7 +88,7 @@Just confirmed
@@ -85,7 +103,7 @@Talk
@@ -101,7 +119,7 @@Concert
@@ -117,7 +135,7 @@Talk
@@ -133,7 +151,7 @@Club night
@@ -149,7 +167,7 @@Concert
@@ -165,7 +183,7 @@Just confirmed
@@ -180,7 +198,7 @@Just confirmed
@@ -195,7 +213,7 @@Concert
@@ -222,7 +240,7 @@Just confirmed
@@ -248,7 +266,7 @@Sold out
@@ -274,7 +292,7 @@Sold out
diff --git a/script.js b/script.js index 5751298..6a1cefc 100644 --- a/script.js +++ b/script.js @@ -1,42 +1 @@ -const carousel = document.getElementById('carousel'); -const items = Array.from(carousel.children); -const itemWidth = 257; // Width of one item (same as in CSS) - -// Clone the first and last items -const firstItem = items[0].cloneNode(true); -const lastItem = items[items.length - 1].cloneNode(true); - -// Add clones to the beginning and end -carousel.appendChild(firstItem); -carousel.insertBefore(lastItem, items[0]); - -// Set the initial scroll position to the first real item -carousel.scrollLeft = itemWidth; - -// Function to disable and enable smooth scrolling -function toggleSmoothScroll(enable) { - if (enable) { - carousel.style.scrollBehavior = 'smooth'; - } else { - carousel.style.scrollBehavior = 'auto'; // Disables smooth scrolling - } -} - -// Add a scroll listener to handle the infinite loop effect -carousel.addEventListener('scroll', () => { - const maxScrollLeft = carousel.scrollWidth - carousel.clientWidth; - - // If the user scrolls to the fake first item, jump to the real last item - if (carousel.scrollLeft <= 0) { - toggleSmoothScroll(false); // Disable smooth scrolling - carousel.scrollLeft = carousel.scrollWidth - (2 * itemWidth); // Jump to real last item instantly - toggleSmoothScroll(true); // Re-enable smooth scrolling - } - - // If the user scrolls to the fake last item, jump to the real first item - if (carousel.scrollLeft >= maxScrollLeft) { - toggleSmoothScroll(false); // Disable smooth scrolling - carousel.scrollLeft = itemWidth; // Jump to real first item instantly - toggleSmoothScroll(true); // Re-enable smooth scrolling - } -}); +// IK WEET HET NIET OKE \ No newline at end of file diff --git a/style.css b/style.css index 8dacc78..98b0419 100644 --- a/style.css +++ b/style.css @@ -127,7 +127,6 @@ ul { display: flex; padding: 0; margin: 0; - transition: transform 0.5s ease;; } li.top { @@ -136,6 +135,11 @@ li.top { height: 320.75px; grid-template-rows: 1fr auto auto auto auto; scroll-snap-align: center; + transition: transform 0.3s ease; +} + +li.top.active { + transform: scale(1.1); /* Enlarge the active item */ } .top section { @@ -174,8 +178,8 @@ li.top { .top img { height: 100%; - width: fit-content; - /* max-width: 20em; */ + width: auto; + object-fit: cover; grid-row: 1 / -1; grid-column: 1 / -1; } @@ -189,7 +193,12 @@ li.top { padding: .3em .8em; } -#gradient { +a.top { + color: inherit; /* Inherit color from parent */ + text-decoration: none; /* Remove underline */ +} + +.gradient { grid-row: 2 / 6; grid-column: 1 / -1; background: rgb(0,0,0); @@ -294,42 +303,63 @@ hr { /* ARTIST HEADER */ +.artist-page { + background-color: white; + color: black; + overflow-x: hidden; +} + +.artist-page img { + width: 100%; + height: 100%; + object-fit: cover; +} + .artist-header { display: grid; height: 400px; - width: 375px; + width: 100%; grid-template-rows: auto auto 80px; position: relative; /* Add this to position h1 absolutely */ + overflow: hidden; } .artist-header img { justify-self: center; /* Center the image horizontally */ align-self: center; /* Center the image vertically */ - object-fit: cover; /* Fill the section while maintaining aspect ratio */ + object-fit: cover; grid-row: 1 / 4; + grid-column: 1 / -1; width: 100%; /* Ensure the image stays inside the section */ height: 100%; /* Ensure the image fills the section */ + overflow-x: hidden; +} + +.gradient-artist { + grid-row: 1 / 4; + grid-column: 1 / -1; + align-self: end; + height: 250px; + background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,0) 63%); } .artist-page h1 { + color: var(--text-color); font-family: Helvetica; font-weight: 1900; font-size: 32.4px; margin-left: 15px; margin-top: 2px; - letter-spacing: -1px; + letter-spacing: -.9px; grid-row: 3; position: absolute; /* Position h1 absolutely */ width: 100%; /* Ensure h1 spans the full width */ } .ticket { - margin: 10px; + margin: 15px; padding: 1em; background-color: black; - display: flex; - flex-direction: row; - flex-wrap: nowrap; } .ticket a { @@ -339,12 +369,31 @@ hr { font-family: Paradiso-Bold; font-size: 14px; text-decoration: none; +} + +.ticket div { flex-grow: 1; + margin: none; + margin: 0; } .ticket img { - flex-grow: ; - justify-content: ; width: 1.5em; height: 1.5em; +} + +p.disclaimer { + margin: 20px 15px; + color: #a5a5a5; + font-size: 10px; +} + +.info { + margin: 0 0 0 15px; +} + +.info > h3 { + font-family: Paradiso-Bold; + font-size: 15px; + margin-top: -10px; } \ No newline at end of file diff --git a/three-sacred-souls.html b/three-sacred-souls.html index bb587d3..1c419ac 100644 --- a/three-sacred-souls.html +++ b/three-sacred-souls.html @@ -8,18 +8,20 @@Excluding € 4,00 monthly membership
+Excluding € 4,00 monthly membership
-