Add DSCVR logo to social links
This commit is contained in:
parent
0384b434e9
commit
1856c4d655
@ -18,7 +18,7 @@ a .profile
|
|||||||
background: linear-gradient(90deg, #e1b02777 0%, rgba(0,0,0,0) 88%)
|
background: linear-gradient(90deg, #e1b02777 0%, rgba(0,0,0,0) 88%)
|
||||||
> a
|
> a
|
||||||
padding: 0 1em
|
padding: 0 1em
|
||||||
.x-logo
|
.dscvr-logo, .x-logo
|
||||||
width: 1.2em
|
width: 1.2em
|
||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
.controls
|
.controls
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -11,9 +11,7 @@
|
|||||||
= @profile.summary
|
= @profile.summary
|
||||||
|
|
||||||
.social-links
|
.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|
|
- @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?
|
- if policy(social_link).destroy?
|
||||||
%span.controls
|
%span.controls
|
||||||
= link_to '📝', edit_social_link_path(social_link)
|
= link_to '📝', edit_social_link_path(social_link)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user