asm-products/verba

View on GitHub
app/views/users/welcome.html.haml

Summary

Maintainability
Test Coverage
%article.welcome
  = image_tag "https://d1015h9unskp4y.cloudfront.net/attachments/bae8bafd-4081-4b2b-b6f4-c9d4c367ded8/verba.png", width: "200px"
  %p.col-md-6
    Welcome
    %span= current_user.username + "!"
  %p.col-md-6
    You're here because you want to become a better writer and communicator. Verba is here to help.

  %p.col-md-6
    Here's how Verba works:

  %ul.welcome-list.col-md-6
    %li.welcome-list__item
      We send you a writing prompt every day. Feel free to write about whatever you want, the prompt is only there to help you if you can't think of anything to write about.
    %li.welcome-list__item
      We'll keep track of a few key stats including word count and streaks of consecutive days that you write. Consistency is the name of the game.
    %li.welcome-list__item
      If you need some additional motivation, you can earn badges for reaching certain milestones, like keeping up a writing streak of five days.
    %li.welcome-list__item
      Your posts are private by default, but you may choose to publish them to the Verba community. Share your work and get feedback.

  = link_to "Let's get started!", new_post_path, class: "button get-started"