Skip to content

Instantly share code, notes, and snippets.

@yasuhito
Last active June 26, 2019 23:29
Show Gist options
  • Save yasuhito/20483e28e65b653f6d11cb59380f5430 to your computer and use it in GitHub Desktop.
Save yasuhito/20483e28e65b653f6d11cb59380f5430 to your computer and use it in GitHub Desktop.
<div class="flex content-end justify-center md:justify-start mb-12 md:mb-0">
<%= link_to '無料で登録', signup_path, class: 'primary-button' %>
<%= tag.a 'どんな仕組み?', class: 'stroked-button',
data: { controller: 'smooth-scroll',
smooth_scroll_anchor: 'learning-methods',
action: 'click->smooth-scroll#scroll' } %>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment