<reponame>makao/magento2-alpaca-theme<gh_stars>0
module.exports = {
  context: {
    script: true,
    cookieMessage: true,
    handler: true,
    class: 'margin-top-xl',
    handlerClass: 'container',
    scrollToTop: {
      tag: 'button',
      class: 'footer__scroll-top',
      attributes: 'type="button" data-focus-top="skip-nav-top" aria-label="scroll to top"',
      icon: {
        title: 'Scroll to top',
        id: 'arrow-up',
        hidden: true,
      }
    },
    socialListTitle: 'Let\'s get social!',
    socialHandlerClass: '',
    socialIconList: {
      listTag: 'ul',
      elementTag: 'li',
      class: 'list--with-icon list--horizontal footer__social-list',
      elements: [
        {
          linkClass: 'button button--icon button--icon-border',
          icon: {
            id: 'facebook',
            title: 'Facebook logo',
            class: 'footer__social-icon',
          },
          iconItemLink: '#',
          linkAttributes: 'aria-label="Go to Our Facebook Page"'
        },
        {
          linkClass: 'button button--icon button--icon-border',
          icon: {
            id: 'twitter',
            title: 'Twitter logo',
            class: 'footer__social-icon',
          },
          iconItemLink: '#',
          linkAttributes: 'aria-label="Check Our on Twitter"'
        }
      ]
    },
    linkList: {
      id: 'dropdown-footer',
      class: 'dropdown-list--with-breakpoint',
      dropdowns: [
        {
          itemTag: 'button',
          itemAttributes: 'aria-expanded="false" aria-controls="dropdown-customers"',
          title: 'Customers',
          id: 'dropdown-customers',
          collapse: {
            class: 'dropdown-list__icon dropdown-list__icon--inner',
            id: 'angle-down',
            title: 'Arrow down',
            hidden: true
          },
          contentElement: 'list--columns',
          contentContext: {
            listTag: 'ul',
            elementTag: 'li',
            class: 'footer__links-list',
            columns: [
              {
                text: 'Column 1',
                class: 'list__column--hidden',
                elements: [
                  {
                    text: 'Login to My Account',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Sign in"'
                  },
                  {
                    text: 'Create an Account',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Sign up"'
                  },
                  {
                    text: 'My Orders',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="My Orders"'
                  }
                ]
              },
              {
                text: 'Column 2',
                class: 'list__column--hidden',
                elements: [
                  {
                    text: 'My Cart',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="My Cart"'
                  },
                  {
                    text: 'Checkout',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Checkout"'
                  }
                ]
              }
            ]
          }
        },
        {
          itemTag: 'button',
          itemAttributes: 'aria-expanded="false" aria-controls="dropdown-information"',
          title: 'Information',
          id: 'dropdown-information',
          collapse: {
            class: 'dropdown-list__icon dropdown-list__icon--inner',
            id: 'angle-down',
            title: 'Arrow down'
          },
          contentElement: 'list--columns',
          contentContext: {
            listTag: 'ul',
            elementTag: 'li',
            class: 'footer__links-list',
            columns: [
              {
                text: 'Column 1',
                class: 'list__column--hidden',
                elements: [
                  {
                    text: 'Hours',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Hours"'
                  },
                  {
                    text: 'About Us',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="About Us"'
                  },
                  {
                    text: 'Contact Us',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Contact Us"'
                  }
                ]
              },
              {
                text: 'Column 2',
                class: 'list__column--hidden',
                elements: [
                  {
                    text: 'Job Openings',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Job Openings"'
                  },
                  {
                    text: 'Returns',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Returns"'
                  },
                  {
                    text: 'Shipping',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Shipping"'
                  }
                ]
              },
              {
                text: 'Column 3',
                class: 'list__column--hidden',
                elements: [
                  {
                    text: 'Privacy Policy',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Privacy Policy"'
                  },
                  {
                    text: 'Terms & Conditions',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Terms & Conditions"'
                  },
                  {
                    text: 'Site Map',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Site Map"'
                  },
                ]
              },
              {
                text: 'Column 4',
                class: 'list__column--hidden',
                elements: [
                  {
                    text: 'Reviews',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Reviews"'
                  },
                  {
                    text: 'Email Us!',
                    linkClass: 'footer__link',
                    link: '#',
                    linkAttributes: 'title="Email Us!"'
                  }
                ]
              }
            ]
          }
        }
      ]
    },
    copyrightText: 'Copyright © 2019 Alpaca',
    bottomBar: {
      handlerClass: 'container'
    },
    paymentsList: {
      class: '',
      elements: [
        {
          id: 'visa',
          title: 'Visa',
          class: 'footer__payments-list-icon footer__payments-list-icon--visa'
        },
        {
          id: 'master-card',
          title: 'Master Card',
          class: 'footer__payments-list-icon'
        },
        {
          id: 'discover',
          title: 'Discover',
          class: 'footer__payments-list-icon'
        },
        {
          id: 'american-express',
          title: 'American Express',
          class: 'footer__payments-list-icon'
        },
        {
          id: 'paypal',
          title: 'PayPal',
          class: 'footer__payments-list-icon footer__payments-list-icon--paypal'
        }
      ]
    },
    language: {
      class: 'dropdown-list--detailed-content footer__dropdown-switcher',
      id: 'language-dropdown',
      dropdowns: [
        {
          itemTag: 'a',
          itemAttributes: 'href="#" aria-expanded="false"',
          title: 'German',
          id: 'dropdown-detailed-content1',
          collapse: {
            id: 'angle-down',
            title: 'Arrow Down',
            class: 'dropdown-list__icon',
            attributes: 'aria-hidden="true"'
          },
          contentElement: 'list'
        }
      ]
    },
    currency: {
      class: 'dropdown-list--detailed-content footer__dropdown-switcher margin-right-xs',
      id: 'currency-dropdown',
      dropdowns: [
        {
          itemTag: 'a',
          itemAttributes: 'href="#" aria-expanded="false"',
          title: 'USD - US Dollar',
          id: 'dropdown-detailed-content2',
          collapse: {
            id: 'angle-down',
            title: 'Arrow Down',
            class: 'dropdown-list__icon',
            attributes: 'aria-hidden="true"'
          },
          contentElement: 'list'
        }
      ]
    }
  },
  variants: [
    {
      name: 'checkout',
      context: {
        class: 'margin-top-xl footer--checkout',
        script: false,
        cookieMessage: false,
        handler: false,
      }
    }
  ]
}
