class Dvl::Components::Footer

Public Instance Methods

content() click to toggle source
# File lib/dvl/components/footer.rb, line 6
def content
  footer.footer {
    div.footer_inner {
      span {
        if @application_name
          text @application_name
          rawtext t('dvl_core.footer.about')
        else
          rawtext t('dvl_core.footer.about_no_app')
        end
      }

      ul {
        li { a t('dvl_core.footer.status'), href: 'http://status.dobt.co', target: '_blank' }
        li { a t('dvl_core.footer.legal'), href: 'https://dashboard.dobt.co/terms', target: '_blank' }
        li { a t('dvl_core.footer.help'), href: 'http://help.dobt.co', target: '_blank' }
        li { a t('dvl_core.footer.contact'), href: 'mailto:support@dobt.co' }
      }
    }
  }
end