Skip to content

Commit

Permalink
refactor(images): add hero and about section optimized images
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyogami committed Nov 28, 2023
1 parent b1d3825 commit b9ab84e
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
Binary file added public/assets/images/hero-one.webp
Binary file not shown.
Binary file added public/assets/images/hero-two.webp
Binary file not shown.
Binary file added public/assets/images/how.webp
Binary file not shown.
Binary file added public/assets/images/members/manan-nag.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/images/what.webp
Binary file not shown.
Binary file added public/assets/images/why.webp
Binary file not shown.
6 changes: 3 additions & 3 deletions public/data/about.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[
{
"id": 1,
"image": "assets/images/what.svg",
"image": "assets/images/what.webp",
"title": "What?",
"description": "We are ALiAS (Amity Linux Assistance Sapience), a passionate coding club dedicated to the exploration and promotion of Linux and open-source technologies."
},
{
"id": 2,
"image": "assets/images/why.svg",
"image": "assets/images/why.webp",
"title": "Why?",
"description": "We exist to inspire, educate, and collaborate with students who share our enthusiasm for open-source software and to create a thriving community of tech enthusiasts."
},
{
"id": 3,
"image": "assets/images/how.svg",
"image": "assets/images/how.webp",
"title": "How?",
"description": "We reach our goals through workshops, hackathons, open-source contributions, and a focus on skill development, all in a supportive learning community."
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Hero/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Hero = () => {
</p>
<div className={styles.hero__interactive}>
<img
src="assets/images/hero-one.png"
src="assets/images/hero-one.webp"
alt="hero"
className={styles.hero__one_image}
/>
Expand All @@ -31,7 +31,7 @@ const Hero = () => {
</button>
</div>
<img
src="assets/images/hero-two.png"
src="assets/images/hero-two.webp"
alt="hero"
className={styles.hero__two_image}
/>
Expand Down

0 comments on commit b9ab84e

Please sign in to comment.