<commit_before>
<div class="page-header">
  <h1><%=@event.name%></h1>
</div>

<%=markdown @event.description if @event.description %>

<h2><%=t"welcome.Presale"%></h2>
<hr>
<% if current_user %>

  <%=render partial:"orders/root_table" %>

  <%=link_to products_url, {class:"btn btn-primary"} do %>
    <%=t("welcome.GetStuff")%> <span class="fa fa-chevron-right"></span>
  <% end %>
  <br/><br/>

<% else %>

<div class="col-sm-6">
  <h3><%=t"welcome.CreateAccount"%></h3>
  <%=link_to t("welcome.Here"), new_user_registration_path %>
</div>

<div class="col-sm-6">
  <h3><%=t"welcome.Login"%></h3>
  <%=link_to t("welcome.Here"), new_user_session_path %>
</div>

<br/><br/>
<%=link_to products_url, {class:"btn btn-primary"} do %>
  <%=t("welcome.GetStuff")%> <span class="fa fa-chevron-right"></span>
<% end %>

<% end %><commit_msg>Nicer welcome page<commit_after>
<div class="page-header">
  <h1><%=@event.name%></h1>
</div>

<%=markdown @event.description if @event.description %>

<h2><%=t"welcome.Presale"%></h2>
<hr>
<% if current_user %>

  <%=render partial:"orders/root_table" %>

  <%=link_to products_url, {class:"btn btn-primary"} do %>
    <%=t("welcome.GetStuff")%> <span class="fa fa-chevron-right"></span>
  <% end %>
  <br/><br/>

<% else %>

<div class="col-sm-4">
  <p><%=link_to t("welcome.CreateAccount"), new_user_registration_path, {class:"btn btn-primary btn-block"} %></p>
</div>

<div class="col-sm-4">
  <p><%=link_to t("welcome.Login"), new_user_session_path , {class:"btn btn-primary btn-block"} %></p>
</div>

<div class="col-sm-4">
  <p>
    <%=link_to products_url, {class:"btn btn-primary btn-block"} do %>
      <%=t("welcome.GetStuff")%> <span class="fa fa-chevron-right"></span>
    <% end %>
  </p>
</div>

<% end %>
{'fraction_non_alphanumeric': 0.25740318906605925, 'fraction_numerical': 0.00968109339407745, 'mean_word_length': 4.817880794701987, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6314880', 'n_tokens_mistral': 774, 'n_tokens_neox': 714, 'n_words': 119}