Skip to content

Commit 63fa290

Browse files
Image Setup
1 parent 2b78699 commit 63fa290

File tree

7 files changed

+14
-2
lines changed

7 files changed

+14
-2
lines changed

src/Pages/ProjectsPage/PGASGame.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import { Paragraph } from "../../Components/Paragraph";
22

3+
import LevelsSS from "../../Images/PGASGame/LevelsSS.png";
4+
import MainMenuSS from "../../Images/PGASGame/MainMenuSS.png";
5+
import PowerupSS from "../../Images/PGASGame/PowerupSS.png";
6+
import WarningSS from "../../Images/PGASGame/WarningSS.png";
7+
38
export default function PGASGame(){
49
return <div className="relative grid place-items-center">
510
<article className="my-4 p-2 w-full max-w-sm md:max-w-2xl">
@@ -30,7 +35,12 @@ export default function PGASGame(){
3035

3136
<h2 className="text-xl">Images</h2>
3237
<Paragraph>
33-
I'll add it in once I know how. Rip. 🙏
38+
<div className="grid gap-1 grid-cols-1 md:grid-cols-2">
39+
<img src={LevelsSS}/>
40+
<img src={MainMenuSS}/>
41+
<img src={PowerupSS}/>
42+
<img src={WarningSS}/>
43+
</div>
3444
</Paragraph>
3545
</article>
3646
</div>

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "ESNext",
4+
"types": ["vite/client"],
45
"useDefineForClassFields": true,
56
"lib": ["DOM", "DOM.Iterable", "ESNext"],
67
"allowJs": false,

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ import react from '@vitejs/plugin-react'
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
base: '',
7-
plugins: [react()]
7+
plugins: [react()],
8+
assetsInclude: ['**/*.PNG'],
89
})

0 commit comments

Comments
 (0)