Skip to content

Commit

Permalink
Merge pull request #24 from akshithere/homeVersion
Browse files Browse the repository at this point in the history
Fixed Pixelated Issue
  • Loading branch information
ItsArnavSh authored Sep 15, 2024
2 parents 6b19f4d + c7e66f0 commit af24e5f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/home/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import background from "../../../public/homepage.png";
import background from "../../../public/background.jpg";
import p1 from "../../../public/p1.png";
import p2 from "../../../public/p2.png";
import p3 from "../../../public/p3.png";
Expand Down
6 changes: 5 additions & 1 deletion frontend/src/components/tutorial/Tutorial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ const Tutorial = () => {
<div className="h-full flex flex-col items-center justify-center w-1/2">
<img src={imageSection} alt="Not Found" className="max-h-[50%]" />
</div>
<img src={Oak} alt="Not Found" />
<img
className="pixelated"
src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fmedia.pokemoncentral.it%2Fwiki%2Fd%2Fdf%2FHGSS_Oak.png"
alt="Not Found"
/>
</div>
<div className="list flex flex-col items-center justify-center w-[25%]">
<div className="border-black border-2 h-auto m-10 w-full mr-4 bg-[#756C80] rounded-md">
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@
.fr {
font-family: "FireRedScript";
}

.pixelated {
image-rendering: pixelated;
}

0 comments on commit af24e5f

Please sign in to comment.