From d9281ad53c37478ec5235ae3f8b395c63622d032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleks=20R=C5=ABti=C5=86=C5=A1?= Date: Sun, 22 Dec 2024 22:31:50 -0500 Subject: [PATCH] Fix some minor syntax issues --- views/pages/index.rb | 4 ++-- views/section_link.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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