From a5a5644f107fc1b014dffa5b95612e29315af6a8 Mon Sep 17 00:00:00 2001 From: GauthierWebDev Date: Mon, 21 Apr 2025 18:58:53 +0200 Subject: [PATCH] style: Update lazy loading attribute in Image component --- .DS_Store | Bin 6148 -> 0 bytes .gitignore | 1 + app/components/Image.tsx | 2 +- app/partials/HeroSection.tsx | 20 ++++++++------------ 4 files changed, 10 insertions(+), 13 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index da07aa6853bb7b7687f6e861317c0d52c61a4ec7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~J!%6%427R!7lt%jx}3%b$PET#pTHN0A&|z{CXm!~^gR7ES*H$5cmnB-G%I%Z zD|S`@Z2$T80!#olbXV*=%*>dtaK;_?uhYl%a=X5>;#J@&VrHyNnC;iLL0pQvfVyTmjO&;ssLc!1UOG})p;=82 zR;?Ceh}WZ?+UmMqI#RP8R>OzYoz15hnq@nzF`-!xQ4j$Um=RcIKKc27r2jVm&svm< zfC&6E0=7P!4tu^-ovjbA=k?dB`g+i*aXG_}p8zI)6mRKa+;6_1_R^8c3Qa!(fk8n8 H{*=Hspa&6( diff --git a/.gitignore b/.gitignore index f5044da..ef3abd0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /.env **/*~lock* +.DS_Store app-old/.pnpm-store app-old/node_modules diff --git a/app/components/Image.tsx b/app/components/Image.tsx index 3acbe21..4308221 100644 --- a/app/components/Image.tsx +++ b/app/components/Image.tsx @@ -7,11 +7,11 @@ export default function Image(props: ImageProps) { return ( {isDecorationImage ); } diff --git a/app/partials/HeroSection.tsx b/app/partials/HeroSection.tsx index 6dc2914..55a78b4 100644 --- a/app/partials/HeroSection.tsx +++ b/app/partials/HeroSection.tsx @@ -1,5 +1,3 @@ -import type { JSX } from "solid-js"; - import blurIndigoImage from "@/images/blur-indigo.webp"; import blurCyanImage from "@/images/blur-cyan.webp"; import { HeroBackground } from "./HeroBackground"; @@ -35,16 +33,6 @@ const snippets = [ }, ]; -function TrafficLightsIcon(props: JSX.IntrinsicElements["svg"]) { - return ( - - ); -} - export function HeroSection() { return (
@@ -58,14 +46,17 @@ export function HeroSection() { width={530} height={530} /> +

Souviens-toi que tu développeras.

+

Découvrez des ressources essentielles pour améliorer tes compétences en développement.

+
+
+ +