Skip to content

Instantly share code, notes, and snippets.

@guiltry
Last active February 8, 2018 23:23
Show Gist options
  • Save guiltry/d1b45def9ebd500c75056d1e7d7b85c2 to your computer and use it in GitHub Desktop.
Save guiltry/d1b45def9ebd500c75056d1e7d7b85c2 to your computer and use it in GitHub Desktop.
.landing-page
.landing-page__event
.landing-page__htu
.landing-page__terms
.landing-page__cta
.landing-page__cta-title = "Let's make your travel memorable"
.landing-page__cta-button
render partial: 'button', locals: {text: 'BOOK NOW', link: '#'}
.landing-page {
@media (min-width: $breakpoint) {}
&--full-page {}
&__cta {}
&__cta-title {}
&__cta-button {}
}
// Change landing-page__cta to button
.button
= link_to text, destination, class: 'button-anchor'
.button {
&__anchor {
@media (min-width: $breakpoint) {}
&--ripple {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment