text: export default {
    init() {
      $(document).ready(function () {
        $('div.links-destacados p a').wrap('<div class="arrow"></div>');
  
        $('#galeria').lightGallery({
          thumbnail: false,
          //selector: '.',
          width: '100%',
          //nextHtml: 'NEXT',
          //prevHtml: 'PREVIOUS',
          zoom: false,
          share: false,
          download: true,
          counter: false,
          loop: false,
          autoplayControls: false,
          fullScreen: false,
          hideBarsDelay: '1000000000',
        });
        $('.lightbox').click(function(event) {
          event.preventDefault();
          $('.slide-0').trigger('click');
        })
  
      })
      /*Scroll Spy*/
      $('body').scrollspy({ target: '#index', offset: 150 });
  
  
      // SMOOTH SCROLLING PLUS OFFSET FOR FIXED NAV
  
      $('a[href*="#"]')
        // Remove links that don't actually link to anything
        .not('[href="#"]')
        .not('[href="#0"]')
        .on('click', function () {
  
          // Make sure this.hash has a value before overriding default behavior
          if (this.hash !== '') {
  
            // Store hash
            var hash = this.hash;
  
            // Using jQuery's animate() method to add smooth page scroll
            // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
            // - 70 is the offset/top margin
            $('html, body').animate({
              scrollTop: $(hash).offset().top - 70,
            }, 800, function () {
  
              // Add hash (#) to URL when done scrolling (default click behavior), without jumping to hash
              if (history.pushState) {
                history.pushState(null, null, hash);
              } else {
                window.location.hash = hash;
              }
            });
            return false;
          } // End if
        });
    },
  };
  