File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed
Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 11import { Paragraph } from "../../Components/Paragraph" ;
22
3- import LevelsSS from "@assets/PGAS24_LevelsSS.png" ;
4- import MainMenuSS from "@assets/PGAS24_MainMenuSS.png" ;
5- import PowerupSS from "@assets/PGAS24_PowerupSS.png" ;
6- import WarningSS from "@assets/PGAS24_WarningSS.png" ;
7-
83export default function PGASGame ( ) {
94 function getImageUrl ( file : string ) {
105 return new URL ( `${ file } ` , import . meta. url ) . href
@@ -38,12 +33,9 @@ export default function PGASGame(){
3833 </ Paragraph >
3934
4035 < h2 className = "text-xl" > Images</ h2 >
36+ < p > Not yet, I need to update to React18.</ p >
4137 < div className = "grid gap-1 grid-cols-1 md:grid-cols-2" >
42- < img src = { getImageUrl ( LevelsSS ) } alt = "LevelSS.png" />
43- < img src = { getImageUrl ( MainMenuSS ) } alt = "MainMenuSS.png" />
44- < img src = { getImageUrl ( PowerupSS ) } alt = "PowerupSS.png" />
45- < img src = { getImageUrl ( WarningSS ) } alt = "WarningSS.png" />
46- </ div >
38+ </ div >
4739 </ article >
4840 </ div >
4941}
Original file line number Diff line number Diff line change @@ -5,11 +5,4 @@ import path from 'path';
55// https://vitejs.dev/config/
66export default defineConfig ( {
77 plugins : [ react ( ) ] ,
8- assetsInclude : [ "**/*.PNG" , "assets/*" ] ,
9-
10- resolve : {
11- alias : {
12- "@assets" : path . resolve ( __dirname , "./src/assets" )
13- }
14- }
158} )
You can’t perform that action at this time.
0 commit comments