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

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" viewBox="0,0,24,24" xmlns="http://www.w3.org/2000/svg">
<path d="M22.5 12.5c0-1.58-.875-2.95-2.148-3.6.154-.435.238-.905.238-1.4 0-2.21-1.71-3.998-3.818-3.998-.47 0-.92.084-1.336.25C14.818 2.415 13.51 1.5 12 1.5s-2.816.917-3.437 2.25c-.415-.165-.866-.25-1.336-.25-2.11 0-3.818 1.79-3.818 4 0 .494.083.964.237 1.4-1.272.65-2.147 2.018-2.147 3.6 0 1.495.782 2.798 1.942 3.486-.02.17-.032.34-.032.514 0 2.21 1.708 4 3.818 4 .47 0 .92-.086 1.335-.25.62 1.334 1.926 2.25 3.437 2.25 1.512 0 2.818-.916 3.437-2.25.415.163.865.248 1.336.248 2.11 0 3.818-1.79 3.818-4 0-.174-.012-.344-.033-.513 1.158-.687 1.943-1.99 1.943-3.484zm-6.616-3.334l-4.334 6.5c-.145.217-.382.334-.625.334-.143 0-.288-.04-.416-.126l-.115-.094-2.415-2.415c-.293-.293-.293-.768 0-1.06s.768-.294 1.06 0l1.77 1.767 3.825-5.74c.23-.345.696-.436 1.04-.207.346.23.44.696.21 1.04z" fill="#1da1f2"/>
</svg>

After

Width:  |  Height:  |  Size: 923 B

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>