This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const rollbar = require('../helpers/rollbar'); | |
| const _ = require('lodash'); | |
| module.exports = { | |
| name: 'data-import', | |
| label: 'Data Import', | |
| pluralLabel: 'Data Imports', | |
| seo: false, | |
| openGraph: false, | |
| addFields: [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [data-custom-cursor] { | |
| cursor: none; | |
| } | |
| .o-cursor__pointer { | |
| display: none; | |
| @include media-breakpoint-up(large) { | |
| z-index: zindex(modal); | |
| position: absolute; | |
| display: flex; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const component = '[data-custom-cursor]'; | |
| const pointer = '[data-cursor-pointer]'; | |
| let cursorX; | |
| let cursorY; | |
| let currentScroll; | |
| const $component = $(component); | |
| const $pointer = $(pointer); | |
| export default { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Swiper, { Navigation, EffectFade } from 'swiper'; | |
| Swiper.use([Navigation, EffectFade]); | |
| const component = document.querySelector('[data-component="imageHero"]'); | |
| export default { | |
| init | |
| }; | |
| function init () { | |
| return bindEvents(); |