promo page download links added

This commit was merged in pull request #783.
This commit is contained in:
victorAnumudu
2024-09-21 06:15:25 +01:00
parent d0e7f58d5f
commit e6f5746692
5 changed files with 54 additions and 13 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import DarkModeContext from "../Contexts/DarkModeContext";
export default function PromoPageLayout({ children }) {
const bgImg = localImgLoad("images/left-wrenchboard.jpg");
const bgImgNig = localImgLoad("images/wrench-home-back-nigeria.jpg");
const bgImgCom = localImgLoad("images/wrench-home-back-common.jpg");
const bgImgCom = localImgLoad("images/wrench-promo-back-common.jpg");
const { countryMode } = useContext(DarkModeContext);
@@ -15,7 +15,7 @@ export default function PromoPageLayout({ children }) {
<div
className={`min-h-screen overflow-y-auto bg-cover bg-center flex flex-col justify-between items-center`}
style={{
backgroundImage: `url(${countryMode == "NG" ? bgImgNig : bgImgCom})`,
backgroundImage: `url(${countryMode == "NG" ? bgImgCom : bgImgCom})`,
}}
>