diff --git a/views/pages/index.rb b/views/pages/index.rb index 4975b85..75b52fc 100644 --- a/views/pages/index.rb +++ b/views/pages/index.rb @@ -59,14 +59,14 @@ EOF end script { - " + unsafe_raw(" addEventListener('DOMContentLoaded', () => { if(localStorage.getItem('faded')) document.querySelectorAll('.fade').forEach(it => it.classList.add('no-delay')); localStorage.setItem('faded', true); }); - " + ") } end end diff --git a/views/section_link.rb b/views/section_link.rb index d992d3e..532cce1 100644 --- a/views/section_link.rb +++ b/views/section_link.rb @@ -4,7 +4,7 @@ module BC module Views class ChevronRightIcon < Phlex::SVG def view_template - svg xmlns: 'http://www.w3.org/2000/svg', height: 24, width: 24, fill: "none", viewBox: "0 0 24 24 24", stroke_width: 1.5, stroke: "currentColor", class: "size-6" do + svg xmlns: 'http://www.w3.org/2000/svg', height: 24, width: 24, fill: "none", viewBox: "0 0 24 24", stroke_width: 1.5, stroke: "currentColor", class: "size-6" do path font_weight: "bold", stroke_linecap: "round", stroke_linejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" end end