Fix frontend images path

This commit is contained in:
Pierre HUBERT 2024-09-28 11:40:29 +02:00
parent 51fc7cc710
commit 5704f2b57f
4 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/sunny.svg" /> <link rel="icon" type="image/svg+xml" href="/assets/sunny.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SolarEnergy</title> <title>SolarEnergy</title>
</head> </head>

View File

Before

Width:  |  Height:  |  Size: 407 KiB

After

Width:  |  Height:  |  Size: 407 KiB

View File

Before

Width:  |  Height:  |  Size: 557 B

After

Width:  |  Height:  |  Size: 557 B

View File

@ -62,7 +62,7 @@ export function LoginRoute() {
<Grid <Grid
size={{ sm: 4, md: 7, xs: false }} size={{ sm: 4, md: 7, xs: false }}
sx={{ sx={{
backgroundImage: 'url("/sun.jpg")', backgroundImage: 'url("/assets/sun.jpg")',
backgroundColor: (t) => backgroundColor: (t) =>
t.palette.mode === "light" t.palette.mode === "light"
? t.palette.grey[50] ? t.palette.grey[50]