UX: Change emoji graphic on invite error page (#18790)

Switch to using the sweat-smile emoji instead of the cry emoji on the
error page when you have already redeemed your invite.
This commit is contained in:
Blake Erickson 2022-10-28 11:34:38 -06:00 committed by GitHub
parent 0297c79cbe
commit f70d71c5e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<%if flash[:error]%> <%if flash[:error]%>
<div class='invite-error'> <div class='invite-error'>
<div class="error-image"> <div class="error-image">
<img src="/images/crying-face.svg" alt="crying-face emoji"> <img src="/images/sweat-smile-face.svg" alt="sweat-smile-face emoji">
</div> </div>
<div class="error-info"> <div class="error-info">
<%=flash[:error].html_safe%> <%=flash[:error].html_safe%>

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" role="img" width="6em" height="6em" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><path fill="#664500" d="M28.457 17.797c-.06-.135-1.499-3.297-4.457-3.297-2.957 0-4.397 3.162-4.457 3.297-.092.207-.032.449.145.591.175.142.426.147.61.014.012-.009 1.262-.902 3.702-.902 2.426 0 3.674.881 3.702.901.088.066.194.099.298.099.11 0 .221-.037.312-.109.177-.142.238-.386.145-.594zm-12 0c-.06-.135-1.499-3.297-4.457-3.297-2.957 0-4.397 3.162-4.457 3.297-.092.207-.032.449.144.591.176.142.427.147.61.014.013-.009 1.262-.902 3.703-.902 2.426 0 3.674.881 3.702.901.088.066.194.099.298.099.11 0 .221-.037.312-.109.178-.142.237-.386.145-.594zM18 22c-3.623 0-6.027-.422-9-1-.679-.131-2 0-2 2 0 4 4.595 9 11 9 6.404 0 11-5 11-9 0-2-1.321-2.132-2-2-2.973.578-5.377 1-9 1z"/><path fill="#FFF" d="M9 23s3 1 9 1 9-1 9-1-2 4-9 4-9-4-9-4z"/><path fill="#5DADEC" d="M35 11c0 2.762-2.238 5-5 5s-5-2.238-5-5 4-10 5-10 5 7.238 5 10z"/></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB