diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-04-20 01:21:05 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-04-20 01:21:18 +0200 |
| commit | d4ee597d5e618eac4977ae6931a21f004f731674 (patch) | |
| tree | b5475c94ef5d1ee5f1ce01a5e9d1703e69485ede /frontend/site/projects/museum/views | |
| parent | 9a4850fa9bed2aa478b69f619aa8132209da2c5c (diff) | |
longer charles transition
Diffstat (limited to 'frontend/site/projects/museum/views')
| -rw-r--r-- | frontend/site/projects/museum/views/titles.css | 2 | ||||
| -rw-r--r-- | frontend/site/projects/museum/views/titles.overlay.js | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/frontend/site/projects/museum/views/titles.css b/frontend/site/projects/museum/views/titles.css index 0b44b48..8e72bdf 100644 --- a/frontend/site/projects/museum/views/titles.css +++ b/frontend/site/projects/museum/views/titles.css @@ -7,7 +7,7 @@ color: rgba(255, 121, 13, 1.0); font-family: "Druk Wide"; font-size: 1.66vw; - transition: opacity 0.5s; + transition: opacity 3.0s; text-align: center; opacity: 0; } diff --git a/frontend/site/projects/museum/views/titles.overlay.js b/frontend/site/projects/museum/views/titles.overlay.js index 2b0ba7e..44b26b3 100644 --- a/frontend/site/projects/museum/views/titles.overlay.js +++ b/frontend/site/projects/museum/views/titles.overlay.js @@ -132,17 +132,17 @@ class TitlesOverlay extends Component { if (this.advancing === this.state.content.next) return this.advancing = this.state.content.next this.textRef.current.classList.remove("visible") - Array.from(document.querySelectorAll("video")).forEach(video => { - video.style.transition = "opacity 0.5s" - }) - setTimeout(() => { - Array.from(document.querySelectorAll("video")).forEach(video => { - video.style.opacity = 0 - }) - }, 500) - setTimeout(() => { - history.push(`/last-museum/${this.state.content.next}/`) - }, 1000) + // Array.from(document.querySelectorAll("video")).forEach(video => { + // video.style.transition = "opacity 0.5s" + // }) + // setTimeout(() => { + // Array.from(document.querySelectorAll("video")).forEach(video => { + // video.style.opacity = 0 + // }) + // }, 500) + // setTimeout(() => { + history.push(`/last-museum/${this.state.content.next}/`) + // }, 1000) } render() { |
