add blue checkbox verified

This commit is contained in:
Kyle Drake 2022-11-11 18:42:52 -06:00
parent b54b2a4818
commit d1ab1d2292
8 changed files with 22 additions and 11 deletions

View file

@ -32,7 +32,7 @@
<% if current_site && current_site.id == actioning_site.id %>
<a href="/site/<%= current_site.username %>" class="you">You</a>
<% else %>
<a href="/site/<%= actioning_site.username %>" class="user" title="<%= actioning_site.title %>"><i class="fa fa-user"><% if actioning_site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= actioning_site.username %></a>
<a href="/site/<%= actioning_site.username %>" class="user" title="<%= actioning_site.title %>"><i class="fa fa-user"><% if actioning_site.supporter? %><img src="/img/verified-badge.svg" style="width:1.2em; height:1.2em;"><% end %></i><%= actioning_site.username %></a>
<% end %>
<% else %>
An anonymous donor
@ -43,7 +43,7 @@
<% if current_site && event_site.id == current_site.id %>
<a href="/site/<%= current_site.username %>" class="you">you</a>!
<% else %>
<a href="/site/<%= event_site.username %>" class="user" title="<%= event_site.title %>"><i class="fa fa-user"><% if event_site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= event_site.username %></a>!
<a href="/site/<%= event_site.username %>" class="user" title="<%= event_site.title %>"><i class="fa fa-user"><% if event_site.supporter? %><img src="/img/verified-badge.svg" style="width:1.2em; height:1.2em;"><% end %></i><%= event_site.username %></a>!
<% end %>
</div>
@ -68,7 +68,7 @@
<% if current_site && current_site.id == actioning_site.id %>
<a href="/site/<%= current_site.username %>" class="you">You</a>
<% else %>
<a href="/site/<%= actioning_site.username %>" class="user" title="<%= actioning_site.title %>"><i class="fa fa-user"><% if actioning_site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= actioning_site.username %></a>
<a href="/site/<%= actioning_site.username %>" class="user" title="<%= actioning_site.title %>"><i class="fa fa-user"></i><%= actioning_site.username %><% if actioning_site.supporter? %><img src="/img/verified-badge.svg" style="width:1.0em; height:1.0em;"><% end %></a>
<% end %>
followed
@ -76,7 +76,7 @@
<% if current_site && event_site.id == current_site.id %>
<a href="/site/<%= current_site.username %>" class="you">you</a>
<% else %>
<a href="/site/<%= event_site.username %>" class="user" title="<%= event_site.title %>"><i class="fa fa-user"><% if event_site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= event_site.username %></a>
<a href="/site/<%= event_site.username %>" class="user" title="<%= event_site.title %>"><i class="fa fa-user"></i><%= event_site.username %><% if event_site.supporter? %><img src="/img/verified-badge.svg" style="width:1.0em; height:1.0em;"><% end %></a>
<% end %>
</div>
@ -148,7 +148,7 @@
<% comment_event_site = comment.event.site_dataset.select(:id, :title, :domain, :username, :stripe_customer_id, :plan_type).first %>
<div class="comment" id="comment_<%= comment.id %>">
<a href="/site/<%= comment_actioning_site.username %>"><img class="avatar" src="<%= comment_actioning_site.screenshot_url('index.html', '50x50') %>"></a>
<a href="/site/<%= comment_actioning_site.username %>" class="user" title="<%= comment_actioning_site.title %>"><i class="fa fa-user"><% if comment_actioning_site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= comment_actioning_site.username %></a>
<a href="/site/<%= comment_actioning_site.username %>" class="user" title="<%= comment_actioning_site.title %>"><i class="fa fa-user"><% if comment_actioning_site.supporter? %><img src="/img/verified-badge.svg" style="width:1.2em; height:1.2em;"><% end %></i><%= comment_actioning_site.username %></a>
<span class="date">
<a href="/site/<%= comment_event_site.username %>?event_id=<%= event.id %>"><%= comment.created_at.ago %></a>
</span>

View file

@ -8,12 +8,12 @@
<% if current_site && current_site.id == actioning_site.id %>
<a href="/site/<%= current_site.username %>" class="you">You</a>
<% else %>
<a href="/site/<%= actioning_site.username %>" class="user"><i class="fa fa-user"><% if actioning_site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= actioning_site.username %></a>
<a href="/site/<%= actioning_site.username %>" class="user"><i class="fa fa-user"></i><%= actioning_site.username %><% if actioning_site.supporter? %><img src="/img/verified-badge.svg" style="width:1.0em; height:1.0em;"><% end %></a>
<% end %>
<% if actioning_site.id != profile_comment.site_id %>
<i class="fa fa-chevron-right comment-symbol" title="commented on"></i>
<a href="/site/<%= profile_comment.site.username %>" class="user"><i class="fa fa-user"><% if profile_comment.site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= profile_comment.site.username %></a>
<a href="/site/<%= profile_comment.site.username %>" class="user"><i class="fa fa-user"></i><%= profile_comment.site.username %><% if profile_comment.site.supporter? %><img src="/img/verified-badge.svg" style="width:1.0em; height:1.0em;"><% end %></a>
<% end %>
</div>

View file

@ -99,7 +99,7 @@
<div class="site-info">
<div class="username">
<a href="/site/<%= site.username %>" title="Site Profile">
<i class="fa fa-user"><% if site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= site.username %>
<i class="fa fa-user"><% if site.supporter? %><img src="/img/verified-badge.svg" style="width:1.2em; height:1.2em;"><% end %></i><%= site.username %>
</a>
</div>
<div class="site-stats hide-on-mobile">

View file

@ -17,7 +17,7 @@
</div>
</div>
<div class="col col-50 profile-info">
<h2 class="eps title-with-badge"><span><%= site.title %></span> <% if site.supporter? %><a href="/supporter" class="supporter-badge" title="Neocities Supporter"></a> <% end %></h2>
<h2 class="eps title-with-badge"><span><%= site.title %></span> <% if site.supporter? %><a href="/supporter" title="Neocities Supporter"><img src="/img/verified-badge.svg" style="width:1.0em; height:1.0em;"></a><% end %></h2>
<p class="site-url"><a href="<%= site.uri %>"><%= site.host %></a></p>
<!--
<% if false #site.latest_archive %>

View file

@ -28,7 +28,7 @@
<div class="site-info">
<div class="username">
<a href="/site/<%= site.username %>" title="Profile">
<i class="fa fa-user"><% if site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= site.username %>
<i class="fa fa-user"><% if site.supporter? %><img src="/img/verified-badge.svg" style="width:1.0em; height:1.0em;"><% end %></i><%= site.username %>
</a>
</div>
<div class="site-stats">

View file

@ -29,7 +29,7 @@
<div class="site-info">
<div class="username">
<a href="/site/<%= site.username %>" title="Profile">
<i class="fa fa-user"><% if site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= site.username %>
<i class="fa fa-user"><% if site.supporter? %><img src="/img/verified-badge.svg" style="width:1.0em; height:1.0em;"><% end %></i><%= site.username %>
</a>
</div>
<div class="site-stats">

View file

@ -9,6 +9,13 @@
<h3>Supporter ($5/mo)</h3>
</th>
</tr>
<tr>
<td class="feature-column">
<span data-original-title="Yes that's really the official Arby's Web Site!">Pyschological validation checkmark</span>
</td>
<td></td>
<td><img src="/img/verified-badge.svg" style="width:1.2em; height:1.2em;"></td>
</tr>
<tr>
<td class="feature-column">
<span data-original-title="How much disk space you can use for your site. More space means you can upload more files.">Storage</span>