|
1 | 1 | import { motion } from "framer-motion";
|
2 | 2 |
|
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"; |
7 | 7 | import { CheckArrowIcon } from "../assets/icons/CheckArrowIcon";
|
8 | 8 |
|
9 | 9 | export const Features1 = () => {
|
@@ -51,38 +51,38 @@ export const Features1 = () => {
|
51 | 51 | </div>
|
52 | 52 | </div>
|
53 | 53 | <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"> |
55 | 55 | <div className="mb-4 py-3 pl-3 pr-2 rounded">
|
56 | 56 | <img
|
57 |
| - src={feature1.src} |
| 57 | + src={typescript.src} |
58 | 58 | 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" |
60 | 60 | aria-label="Feature image 1"
|
61 | 61 | />
|
62 | 62 | </div>
|
63 | 63 | <div className="py-3 pl-3 pr-2 rounded ">
|
64 | 64 | <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" |
69 | 69 | />
|
70 | 70 | </div>
|
71 | 71 | </div>
|
72 | 72 | <div className="w-1/2 lg:mt-20 pt-12 lg:pt-0 px-2 hidden sm:inline-block">
|
73 | 73 | <div className="mb-4 py-3 pl-3 pr-2 rounded-lg ">
|
74 | 74 | <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" |
79 | 79 | />
|
80 | 80 | </div>
|
81 | 81 | <div className="py-3 pl-3 pr-2 rounded-lg ">
|
82 | 82 | <img
|
83 |
| - src={feature4.src} |
| 83 | + src={htmx.src} |
84 | 84 | alt="Feature image 4"
|
85 |
| - className="rounded-xl main-border-gray" |
| 85 | + className="rounded-xl mx-auto sm:mx-unset" |
86 | 86 | aria-label="Feature image 4"
|
87 | 87 | />
|
88 | 88 | </div>
|
|
0 commit comments