Compare commits

...

4 Commits

Author SHA1 Message Date
victorAnumudu fa7660de29 updated site logo 2025-07-02 06:57:16 +01:00
ameye bde30f781a Merge branch 'font-match' of MERMS/MermsPanelReactJS into master 2025-06-30 00:29:55 +00:00
ameye 9f9dcc5e37 Merge branch 'footer-year' of MERMS/MermsPanelReactJS into master 2025-06-30 00:29:47 +00:00
victorAnumudu 3584447c65 fixed footer year 2025-06-27 19:48:18 +01:00
4 changed files with 6 additions and 4 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

@@ -2,11 +2,13 @@ import React from "react";
export default function UserFooter(){ export default function UserFooter(){
const year = new Date().getFullYear()
return <> return <>
<footer className="footer"> <footer className="footer">
<div className="row"> <div className="row">
<div className="col-12 col-sm-6 text-center text-sm-left"> <div className="col-12 col-sm-6 text-center text-sm-left">
<p>&copy; Copyright 2024. All rights reserved.</p> <p>&copy; Copyright {year}. All rights reserved.</p>
</div> </div>
<div className="col col-sm-6 ml-sm-auto text-center text-sm-right"> <div className="col col-sm-6 ml-sm-auto text-center text-sm-right">
<p>A division of <i className="fa fa-key text-danger mx-1"></i> autoMedSys A.I.</p> <p>A division of <i className="fa fa-key text-danger mx-1"></i> autoMedSys A.I.</p>
@@ -38,8 +38,8 @@ export default function UserHeader(){
<div className="navbar-header d-flex align-items-center"> <div className="navbar-header d-flex align-items-center">
<a href="#" onClick={toggleSidebar} className="mobile-toggle"><i className="ti ti-align-right"></i></a> <a href="#" onClick={toggleSidebar} className="mobile-toggle"><i className="ti ti-align-right"></i></a>
<a className="navbar-brand" href="/dash"> <a className="navbar-brand" href="/dash">
<img src={getImage('logo-light.png')} className="img-fluid logo-desktop" alt="logo"/> <img src={getImage('logo-pink.png')} className="img-fluid logo-desktop" alt="logo"/>
<img src={getImage('logo-icon.png')} className="img-fluid logo-mobile" alt="logo"/> <img src={getImage('logo-pink.png')} className="img-fluid logo-mobile" alt="logo"/>
</a> </a>
</div> </div>
<button onClick={removeSidebar} className="navbar-toggler" type="button" data-bs-toggle="collapse" <button onClick={removeSidebar} className="navbar-toggler" type="button" data-bs-toggle="collapse"
+1 -1
View File
@@ -1,6 +1,6 @@
let getImage = (location) => { let getImage = (location) => {
if (!location) { if (!location) {
return require(`../assets/img/logo.png`); return require(`../assets/img/logo-pink.png`);
} else { } else {
return require(`../assets/img/${location}`); return require(`../assets/img/${location}`);
} }