favicon manifest

This commit is contained in:
2023-08-05 16:39:34 +03:30
parent 68599e0535
commit 21782a4a1a
6 changed files with 63 additions and 5 deletions

View File

@@ -96,7 +96,7 @@ const DashboardChangePasswordComponent = () => {
<Box
sx={{position: "relative", width: "100%", height: 200}}
>
<Image fill src="/images/change-password.svg" alt=""/>
<Image fill src="/images/change-password.svg" alt="" priority/>
</Box>
<Typography margin={2} variant="h4" textAlign="center">
{t("ChangePassword.typography_change_password")}

View File

@@ -64,7 +64,7 @@ const LoginComponent = () => {
<Box
sx={{position: "relative", width: "100%", height: 200}}
>
<Image fill src="/images/login.svg" alt={t("app_name")}/>
<Image fill src="/images/login.svg" alt={t("app_name")} priority/>
</Box>
<Typography margin={2} variant="h4" textAlign="center">
{t("login_expert")}

View File

@@ -83,13 +83,13 @@ function AppLayout({children, isBot}) {
rel="icon"
type="image/svg"
sizes="32x32"
href="/images/logo.png"
href="/images/logo.svg"
/>
<link
rel="icon"
type="image/svg"
sizes="16x16"
href="/images/logo.png"
href="/images/logo.svg"
/>
</Head>
<NextNProgress

View File

@@ -9,13 +9,14 @@ import {NextIntlProvider} from "next-intl";
import TitlePage from "@/core/components/TitlePage";
const App = ({Component, pageProps}) => {
return (
<>
<UserProvider>
<LanguageProvider>
<NextIntlProvider messages={pageProps.messages || {}}>
<MuiLayout isBot={pageProps.isBot}>
{pageProps.message ? <TitlePage text={pageProps.title}/> : ''}
{pageProps.messages ? <TitlePage text={pageProps.title}/> : ''}
<LoadingProvider>
<AppLayout isBot={pageProps.isBot}>
<Component {...pageProps} />