Skip to content

Commit

Permalink
replace png images with jpg to reduce assets size
Browse files Browse the repository at this point in the history
  • Loading branch information
YanivWein24 committed Mar 24, 2024
1 parent bd6761c commit 892687c
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 1 deletion.
Binary file added src/assets/media/Socialo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/media/Socialo.png
Binary file not shown.
Binary file added src/assets/media/eBigay.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/media/eBigay.png
Binary file not shown.
Binary file added src/assets/media/profile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/media/profile.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/components/About/About.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ img.profile {
width: 23rem;
height: 23rem;
transition: 0.3s ease-in-out;
border-radius: 100%;
}

.textContainer {
Expand Down
2 changes: 1 addition & 1 deletion src/components/About/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import useWindowSize from "../../hooks/useWindowSize";
import Text from "../../constants";
import { ReactComponent as TopWave } from "../../assets/media/TopWave.svg";
import { ReactComponent as BottomWave } from "../../assets/media/BottomWave.svg";
import Profile from "../../assets/media/profile.png";
import Profile from "../../assets/media/profile.jpg";
import "./About.css";

function About() {
Expand Down
10 changes: 10 additions & 0 deletions src/custom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ declare module "*.png" {
export default src;
}

declare module "*.jpg" {
const src: string;
export default src;
}

declare module "*.jpeg" {
const src: string;
export default src;
}

declare module "*.pdf" {
const src: string;
export default src;
Expand Down

0 comments on commit 892687c

Please sign in to comment.