appirits/comable

View on GitHub
frontend/app/views/comable/home/show.slim

Summary

Maintainability
Test Coverage
#comable-home
  section.comable-home-top
    = image_tag 'comable/frontend/home-top.jpg'

  section#comable-product
    .container
      .products
        - cache @products.cache_key do
          = render 'comable/shared/products'

  section.comable-home-one
    h2
      = Comable.t('sample_header')
    h3
      = Comable.t('sample_subheader')
    p
      = Comable.t('sample_text')

  section.comable-home-two
    h2
      = Comable.t('sample_header')
    h3
      = Comable.t('sample_subheader')
    p
      = Comable.t('sample_text')