optimised banner image component to allow build time optimisations, removed unused images

This commit is contained in:
2025-11-12 12:18:57 +01:00
committed by Owen Rees
parent 151d9fcb3d
commit 28f3bf69c6
6 changed files with 1 additions and 51 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { GrLineChart } from "react-icons/gr";
import { HiUserGroup } from "react-icons/hi2";
import { twMerge } from "tailwind-merge";
import bannerImage from "@/img/banner.jpeg";
import bannerImage from "/public/banner.jpeg";
import { Link } from "@/utils/routing";
export default function Home() {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 MiB

-50
View File
@@ -1,50 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 29.125 29.125" xml:space="preserve">
<g>
<path d="M21.703,6.148c1.119,0,2.021-0.898,2.021-2.016V2.02c0-1.12-0.902-2.02-2.021-2.02c-1.114,0-2.018,0.9-2.018,2.02v2.113
C19.686,5.25,20.589,6.148,21.703,6.148z"/>
<path d="M28.883,3.498h-4.069v1.023c0,1.699-1.379,3.078-3.074,3.078c-1.699,0-3.076-1.379-3.076-3.078V3.498h-8.202v1.023
c0,1.699-1.378,3.078-3.075,3.078c-1.7,0-3.074-1.379-3.074-3.078V3.498L0.209,3.445v25.678l2.052,0.002h24.603l2.051-0.008
L28.883,3.498z M26.863,27.08H2.261V10.674h24.603V27.08H26.863z"/>
<path d="M7.352,6.148c1.119,0,2.021-0.898,2.021-2.016V2.02C9.372,0.9,8.471,0,7.352,0C6.237,0,5.334,0.9,5.334,2.02v2.113
C5.334,5.25,6.237,6.148,7.352,6.148z"/>
<path d="M7.798,21.752c0.422,0.23,1.381,0.619,2.346,0.619c1.224,0,1.843-0.588,1.843-1.334c0-1.006-0.996-1.457-2.028-1.457H8.995
v-1.691h0.928c0.792,0,1.785-0.311,1.785-1.164c0-0.605-0.483-1.055-1.488-1.055c-0.823,0-1.688,0.357-2.095,0.607l-0.481-1.705
c0.609-0.389,1.8-0.762,3.12-0.762c2.142,0,3.33,1.131,3.33,2.51c0,1.072-0.601,1.926-1.845,2.342v0.033
c1.211,0.217,2.189,1.133,2.189,2.465c0,1.768-1.566,3.07-4.127,3.07c-1.305,0-2.403-0.34-2.991-0.699L7.798,21.752z"/>
<polygon points="19.001,16.076 18.973,16.076 17.05,16.99 16.661,15.221 19.344,13.982 21.282,13.982 21.282,24.062 19.001,24.062
"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB