Add DSCVR logo to social links

This commit is contained in:
Jesse C. Fisher 2023-11-08 13:55:02 +00:00 committed by TheNeedful-DO
parent 5495f38ae2
commit a430b41c8a
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ a .profile
background: linear-gradient(90deg, #e1b02777 0%, rgba(0,0,0,0) 88%)
> a
padding: 0 1em
.x-logo
.dscvr-logo, .x-logo
width: 1.2em
vertical-align: middle
.controls

File diff suppressed because one or more lines are too long

View File

@ -11,9 +11,7 @@
= @profile.summary
.social-links
-# = "<svg class='x-logo' viewBox='0 0 24 24' aria-hidden='true'><g><path d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'></path></g></svg>".html_safe
- @profile.social_links.each do |social_link|
-# = link_to "#{social_icon} #{social_link.url}".html_safe, "https://#{social_link.url}"
- if policy(social_link).destroy?
%span.controls
= link_to '📝', edit_social_link_path(social_link)