Corporate portraits and publicity photos for printed materials, including annual reports and newsletters.
', 'linkUrl': '#', }, { 'heading': 'Dance', 'imageUrl': 'https://marcleopold.isnet.uk/wp-content/uploads/2017/07/services-dance.jpg', + 'backgroundImageUrl': 'https://marcleopold.isnet.uk/wp-content/uploads/2017/07/services-dance.jpg', 'html': 'Photography and video production of dancers and performances for print, web, and promotion.
', 'linkUrl': '#', }, { 'heading': 'Music', 'imageUrl': 'https://marcleopold.isnet.uk/wp-content/uploads/2017/07/services-music.jpg', + 'backgroundImageUrl': 'https://marcleopold.isnet.uk/wp-content/uploads/2017/07/services-music.jpg', 'html': 'Photography and video of musical performances and portraits for print and the web, CD covers, and publicity photos.
', 'linkUrl': '#', }, { 'heading': 'Events', 'imageUrl': 'https://marcleopold.isnet.uk/wp-content/uploads/2017/07/services-events.jpg', + 'backgroundImageUrl': 'https://marcleopold.isnet.uk/wp-content/uploads/2017/07/services-events.jpg', 'html': 'Photography and video production for your corporate, organisational and personal events and celebrations.
', 'linkUrl': '#', }, ] } - } + }, + + computed: { + backgroundImageUrls () { + return this.services.map(el => el.backgroundImageUrl) + }, + }, + + methods: { + handleMouseOver(index) { + // TOOD this needs to only change if the transition has finished + // need to emit transitionend events on the background loaders + // and listen for them. + // if waiting for an transitionend event ignore the mouseover event + this.activeIndex = index + }, + }, } @@ -212,7 +245,11 @@ export default { @include font-title(); color: $color__neutral-900; font-size: 2.0em; - // text-transform: uppercase; +} + +.preloader-overlay { + z-index: 10; + background-color: rgba($color__primary-100, .7); }