File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 77 </ div >
88
99 < div class ="flex justify-end mt-4 ">
10- <%= button_tag ( 'Tweet' , class : 'button--cta-tertiary mr-2' , data : { action : 'click->picture#tweet' } ) %>
11- <%= button_tag ( 'Download' , class : 'button--cta-tertiary' , data : { action : 'click->picture#download' } ) %>
10+ <%= button_tag class : 'button--cta-tertiary mr-2' , data : { action : 'click->picture#tweet' } do %>
11+ <%= render partial : 'shared/icons/twitter' , locals : { classes : 'h-5 w-5 mr-1' } %>
12+ < span class ="font-normal "> Tweet</ span >
13+ <% end %>
14+
15+ <%= button_tag class : 'button--cta-tertiary' , data : { action : 'click->picture#download' } do %>
16+ <%= render partial : 'shared/icons/download' , locals : { classes : 'h-5 w-5 mr-1' } %>
17+ < span class ="font-normal "> Download</ span >
18+ <% end %>
1219 </ div >
1320</ div >
Original file line number Diff line number Diff line change 1+ < svg class ="<%= classes %> " fill ="currentColor " viewBox ="0 0 20 20 " xmlns ="http://www.w3.org/2000/svg ">
2+ < path fill-rule ="evenodd " d ="M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm3.293-7.707a1 1 0 011.414 0L9 10.586V3a1 1 0 112 0v7.586l1.293-1.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z " clip-rule ="evenodd "> </ path >
3+ </ svg >
You can’t perform that action at this time.
0 commit comments