summaryrefslogtreecommitdiff
path: root/frontend/site/projects/museum
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/site/projects/museum')
-rw-r--r--frontend/site/projects/museum/views/petros.nav.css8
-rw-r--r--frontend/site/projects/museum/views/petros.nav.js10
2 files changed, 10 insertions, 8 deletions
diff --git a/frontend/site/projects/museum/views/petros.nav.css b/frontend/site/projects/museum/views/petros.nav.css
index 2cd6271..e59d85d 100644
--- a/frontend/site/projects/museum/views/petros.nav.css
+++ b/frontend/site/projects/museum/views/petros.nav.css
@@ -1,12 +1,12 @@
.petros-left {
position: absolute;
- bottom: 20px;
- left: 20px;
+ bottom: 70px;
+ left: 30px;
}
.petros-right {
position: absolute;
- bottom: 20px;
- right: 20px;
+ bottom: 70px;
+ right: 30px;
}
.petros-text {
position: absolute;
diff --git a/frontend/site/projects/museum/views/petros.nav.js b/frontend/site/projects/museum/views/petros.nav.js
index 567ae81..9ccfdff 100644
--- a/frontend/site/projects/museum/views/petros.nav.js
+++ b/frontend/site/projects/museum/views/petros.nav.js
@@ -133,6 +133,7 @@ class PetrosNav extends Component {
if (textActive) return
const side = event.target.className.split('-')
// if navigating to the left, just navigate.
+ console.log(side, index)
if (side === "left") {
if (index !== leftIndex) {
history.push(`/thelastmuseum/petros-${leftIndex}`)
@@ -140,12 +141,13 @@ class PetrosNav extends Component {
} else if (side === "right") {
// if this page starts with the loop, switch to movement
// this will autoadvance when the video is done (set in tile settings)
+ console.log(INITIAL_VIEW[index])
if (INITIAL_VIEW[index] === LOOP) {
actions.site.setPopups({
...this.props.popups,
movement: true,
})
- this.setState({ ready: false, index })
+ this.setState({ ready: false })
} else {
// otherwise, just advance immediately.
history.push(`/thelastmuseum/petros-${rightIndex}`)
@@ -168,7 +170,7 @@ class PetrosNav extends Component {
: `/thelastmuseum/static/media/last-museum/petros-moris/OracleTextButton${index}.png`
}
style={{
- cursor: `url(/thelastmuseum/static/media/last-museum/petros-moris/OracleTextButton${index}-White.png)`
+ cursor: `url(/thelastmuseum/static/media/last-museum/petros-moris/OracleTextButton${index}-White.png), pointer`
}}
onMouseEnter={this.handleEnter}
onMouseLeave={this.handleLeave}
@@ -183,7 +185,7 @@ class PetrosNav extends Component {
: `/thelastmuseum/static/media/last-museum/petros-moris/NavB${leftIndex}.png`
}
style={{
- cursor: `url(/thelastmuseum/static/media/last-museum/petros-moris/NavBW${leftIndex}-White.png), hand`
+ cursor: `url(/thelastmuseum/static/media/last-museum/petros-moris/NavBW${leftIndex}-White.png), pointer`
}}
onMouseEnter={this.handleEnter}
onMouseLeave={this.handleLeave}
@@ -198,7 +200,7 @@ class PetrosNav extends Component {
: `/thelastmuseum/static/media/last-museum/petros-moris/NavB${rightIndex}.png`
}
style={{
- cursor: `url(/thelastmuseum/static/media/last-museum/petros-moris/NavBW${rightIndex}-White.png), hand`
+ cursor: `url(/thelastmuseum/static/media/last-museum/petros-moris/NavBW${rightIndex}-White.png), pointer`
}}
onMouseEnter={this.handleEnter}
onMouseLeave={this.handleLeave}