diff --git a/src/components/AuthPages/AuthLayout2.jsx b/src/components/AuthPages/AuthLayout2.jsx index 81dfc86..6cd4865 100644 --- a/src/components/AuthPages/AuthLayout2.jsx +++ b/src/components/AuthPages/AuthLayout2.jsx @@ -1,12 +1,18 @@ -import React from "react"; +import React, { lazy } from "react"; import { Link } from "react-router-dom"; +import { localImgLoad } from "../../lib"; export default function LoginLayout({ slogan, children }) { + const bgImg = localImgLoad('images/left-myft.jpg') + return (
- {/*
*/}
-
+
diff --git a/src/index.css b/src/index.css index f61da14..f032f00 100644 --- a/src/index.css +++ b/src/index.css @@ -956,17 +956,11 @@ TODO: Responsive =========================== } .auth-bg { - background-image: url("./assets/images/left-myft.jpg"); - background-repeat: no-repeat; - background-size: cover; border: none; /* box-shadow: inset 0 0 10px 20px #fff; */ } .auth-bg::after { - content: ''; - position: absolute; - inset: 0; background: linear-gradient( to right, transparent 0%,