From a49ba0fdbd01737574a09231241812e8784c8503 Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Thu, 29 Feb 2024 15:09:28 +0100 Subject: [PATCH] don't preload shape-*.svg that are not rendered anymore --- lib/web/templates/page/index.html.heex | 5 ----- public/img/shape-1.svg | 10 ---------- public/img/shape-2.svg | 10 ---------- public/img/shape-3.svg | 10 ---------- 4 files changed, 35 deletions(-) delete mode 100644 public/img/shape-1.svg delete mode 100644 public/img/shape-2.svg delete mode 100644 public/img/shape-3.svg diff --git a/lib/web/templates/page/index.html.heex b/lib/web/templates/page/index.html.heex index 620bb39fd..9d23adacd 100644 --- a/lib/web/templates/page/index.html.heex +++ b/lib/web/templates/page/index.html.heex @@ -15,11 +15,6 @@ document.documentElement.classList.remove('dark') } - <%= if root?(assigns) do %> - - - - <% end %> <%= tags(assigns) || assigns.tags %> <%= Vite.vite_client() %> <%= Vite.vite_snippet("src/main.ts") %> diff --git a/public/img/shape-1.svg b/public/img/shape-1.svg deleted file mode 100644 index c8a8128df..000000000 --- a/public/img/shape-1.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/public/img/shape-2.svg b/public/img/shape-2.svg deleted file mode 100644 index 8c0b87491..000000000 --- a/public/img/shape-2.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/public/img/shape-3.svg b/public/img/shape-3.svg deleted file mode 100644 index dba085f3c..000000000 --- a/public/img/shape-3.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file