Skip to content

Commit 9e9ff5a

Browse files
Add language images
1 parent b277e1c commit 9e9ff5a

File tree

5 files changed

+34
-17
lines changed

5 files changed

+34
-17
lines changed

src/assets/images/langs/HTML5.svg

Lines changed: 7 additions & 0 deletions
Loading

src/assets/images/langs/HTMX.svg

Lines changed: 4 additions & 0 deletions
Loading

src/assets/images/langs/Rust.svg

Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

src/components/Features1.jsx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { motion } from "framer-motion";
22

3-
import feature1 from "../assets/images/feature1.jpg";
4-
import feature2 from "../assets/images/feature2.jpg";
5-
import feature3 from "../assets/images/feature3.jpg";
6-
import feature4 from "../assets/images/feature4.jpg";
3+
import typescript from "../assets/images/langs/Typescript.svg";
4+
import html from "../assets/images/langs/HTML5.svg";
5+
import rust from "../assets/images/langs/Rust.svg";
6+
import htmx from "../assets/images/langs/HTMX.svg";
77
import { CheckArrowIcon } from "../assets/icons/CheckArrowIcon";
88

99
export const Features1 = () => {
@@ -51,38 +51,38 @@ export const Features1 = () => {
5151
</div>
5252
</div>
5353
<div className="w-3/4 mx-auto lg:w-1/2 flex flex-wrap lg:-mx-4 sm:pr-8 lg:pt-10 justify-center lg:pl-4 xl:px-8">
54-
<div className="mb-8 lg:mb-0 w-full sm:w-1/2 px-2 lg:px-0">
54+
<div className="mb-8 lg:mb-0 w-full sm:w-1/2 px-2 lg:px-0 hidden sm:inline-block">
5555
<div className="mb-4 py-3 pl-3 pr-2 rounded">
5656
<img
57-
src={feature1.src}
57+
src={typescript.src}
5858
alt="Feature image 1"
59-
className="rounded-xl main-border-gray mx-auto sm:mx-unset"
59+
className="rounded-xl mx-auto sm:mx-unset p-12"
6060
aria-label="Feature image 1"
6161
/>
6262
</div>
6363
<div className="py-3 pl-3 pr-2 rounded ">
6464
<img
65-
src={feature2.src}
66-
alt="Feature image 2"
67-
className="rounded-xl main-border-gray mx-auto sm:mx-unset"
68-
aria-label="Feature image 2"
65+
src={rust.src}
66+
alt="Feature image 3"
67+
className="rounded-xl mx-auto sm:mx-unset invert w-full"
68+
aria-label="Feature image 3"
6969
/>
7070
</div>
7171
</div>
7272
<div className="w-1/2 lg:mt-20 pt-12 lg:pt-0 px-2 hidden sm:inline-block">
7373
<div className="mb-4 py-3 pl-3 pr-2 rounded-lg ">
7474
<img
75-
src={feature3.src}
76-
alt="Feature image 3"
77-
className="rounded-xl main-border-gray"
78-
aria-label="Feature image 3"
75+
src={html.src}
76+
alt="Feature image 2"
77+
className="rounded-xl mx-auto sm:mx-unset p-11"
78+
aria-label="Feature image 2"
7979
/>
8080
</div>
8181
<div className="py-3 pl-3 pr-2 rounded-lg ">
8282
<img
83-
src={feature4.src}
83+
src={htmx.src}
8484
alt="Feature image 4"
85-
className="rounded-xl main-border-gray"
85+
className="rounded-xl mx-auto sm:mx-unset"
8686
aria-label="Feature image 4"
8787
/>
8888
</div>

0 commit comments

Comments
 (0)