Skip to content

Commit

Permalink
chore: improve accessibility and use webp image
Browse files Browse the repository at this point in the history
  • Loading branch information
singhAmandeep007 committed May 20, 2024
1 parent 9f0f643 commit 7474d9d
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ To run the project, you can follow these steps:
## How to customize the project according to your profile ?

1. Change `VITE_APP_NAME` in `.env.development` and `.env.production` file.
2. Change `profilePic.png`, `favicon.ico`, `logo*.png`, `manifest.json` in `public` directory.
2. Change `profilePic.webp`, `favicon.ico`, `logo*.png`, `manifest.json` in `public` directory.
1. You can use
1. https://realfavicongenerator.net/
2. https://www.pwabuilder.com/imageGenerator
Expand Down
Binary file added public/profilePic.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Components/Resume/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const Resume = ({ devName, devTitle, devResumeDownloadLink }: TResumeProp
</div>
<div>
<hr />
<h5>{devTitle}</h5> {<ResumePage />}
<h4>{devTitle}</h4> {<ResumePage />}
</div>
</ResumeLetter>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/SidebarMenu/SidebarMenuData.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { RiGithubFill, RiLinkedinFill, RiMailLine } from "react-icons/ri";
import { v4 as uuidv4 } from "uuid";

import profilePic from "/profilePic.png";
import profilePic from "/profilePic.webp";

export const data = {
devName: "Amandeep Singh",
Expand Down
2 changes: 1 addition & 1 deletion src/Components/ToggleTheme/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const ToggleTheme = () => {
})}
</ThemesIconsContainer>
)}
<ThemeTogglerContainer>
<ThemeTogglerContainer aria-label="Toggle theme">
<MdOutlinePalette onClick={() => setIsOpen((isOpen) => !isOpen)} />
</ThemeTogglerContainer>
</ThemeContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/About/AboutData.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { techIcons } from "@/Common/techIcons";
import profileImg from "/profilePic.png";
import profileImg from "/profilePic.webp";

export const data = {
profileImg: profileImg,
Expand Down

0 comments on commit 7474d9d

Please sign in to comment.