Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e6ba42afcd |
@@ -12,3 +12,6 @@ REACT_APP_USERS_ENDPOINT = "https://devapi.mermsemr.com/en/desktop/api/v2/myfitu
|
|||||||
# REACT_APP_PASSWORD_ENDPOINT = "https://devapi.mermsemr.com/en/desktop/api/v2/myfituser/resetpass"
|
# REACT_APP_PASSWORD_ENDPOINT = "https://devapi.mermsemr.com/en/desktop/api/v2/myfituser/resetpass"
|
||||||
|
|
||||||
REACT_APP_SESSION_EXPIRE_MINUTES = 5
|
REACT_APP_SESSION_EXPIRE_MINUTES = 5
|
||||||
|
|
||||||
|
REACT_APP_TRACKING = "Tracking"
|
||||||
|
REACT_APP_RESOURCES = "Resources"
|
||||||
@@ -95,7 +95,7 @@ export default function Layout({ children }) {
|
|||||||
{logoutModal && (
|
{logoutModal && (
|
||||||
<ModalCom action={logoutModalHandler} situation={logoutModal}>
|
<ModalCom action={logoutModalHandler} situation={logoutModal}>
|
||||||
<div className="logout-modal-wrapper lg:w-[460px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl">
|
<div className="logout-modal-wrapper lg:w-[460px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl">
|
||||||
<div className="logout-modal-header w-full flex items-center justify-between lg:px-10 lg:py-8 px-[30px] py-[23px] border-b border-light-purple dark:border-[#5356fb29] ">
|
<div className="logout-modal-header w-full flex items-center justify-between lg:px-10 lg:py-8 px-[30px] py-[23px] border-b dark:border-[#5356fb29] border-light-purple dark:border-[#5356fb29] ">
|
||||||
<h1 className="text-26 font-bold text-dark-gray dark:text-white tracking-wide">
|
<h1 className="text-26 font-bold text-dark-gray dark:text-white tracking-wide">
|
||||||
Confirm
|
Confirm
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -111,8 +111,7 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) {
|
|||||||
<Icons name="market" />
|
<Icons name="market" />
|
||||||
</span>
|
</span>
|
||||||
<span className="item-content group-hover:text-purple text-[18px] transition-all duration-300 ease-in-out text-lighter-gray relative font-medium active flex-1">
|
<span className="item-content group-hover:text-purple text-[18px] transition-all duration-300 ease-in-out text-lighter-gray relative font-medium active flex-1">
|
||||||
Tracking
|
{process.env.REACT_APP_TRACKING}
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</li>
|
</li>
|
||||||
@@ -138,7 +137,7 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) {
|
|||||||
<Icons name="star" />
|
<Icons name="star" />
|
||||||
</span>
|
</span>
|
||||||
<span className="item-content group-hover:text-purple text-[18px] transition-all duration-300 ease-in-out text-lighter-gray relative font-medium active flex-1">
|
<span className="item-content group-hover:text-purple text-[18px] transition-all duration-300 ease-in-out text-lighter-gray relative font-medium active flex-1">
|
||||||
Resources
|
{process.env.REACT_APP_RESOURCES}
|
||||||
</span>
|
</span>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import topCreator1 from "../../assets/images/top-creator-1.png";
|
import topCreator1 from "../../assets/images/top-creator-1.png";
|
||||||
import topCreator2 from "../../assets/images/top-creator-2.png";
|
import topCreator2 from "../../assets/images/top-creator-2.png";
|
||||||
import topCreator3 from "../../assets/images/top-creator-3.png";
|
import topCreator3 from "../../assets/images/top-creator-3.png";
|
||||||
@@ -178,15 +177,13 @@ export default function RightSideBar() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="platform-list flex flex-col gap-4">
|
<div className="platform-list">
|
||||||
<Link to="/add-reminder" className="cursor-pointer p-2 md:hover:shadow-md transition md:hover:duration-300 rounded-md">
|
<div className="item flex space-x-3 items-center mb-4">
|
||||||
<div className="item flex space-x-3 items-center">
|
|
||||||
{/* image */}
|
{/* image */}
|
||||||
<div className="w-8 h-8 rounded-full">
|
<div className="w-8 h-8 rounded-full">
|
||||||
<svg
|
<svg
|
||||||
className="w-[100%]"
|
width="40"
|
||||||
// width="40"
|
height="41"
|
||||||
// height="41"
|
|
||||||
viewBox="0 0 40 41"
|
viewBox="0 0 40 41"
|
||||||
fill="none"
|
fill="none"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
@@ -209,15 +206,12 @@ export default function RightSideBar() {
|
|||||||
</div>
|
</div>
|
||||||
{/* action */}
|
{/* action */}
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
<div className="item flex space-x-3 items-center mb-4">
|
||||||
<Link to="/#" className="cursor-pointer p-2 md:hover:shadow-md transition md:hover:duration-300 rounded-md">
|
|
||||||
<div className="item flex space-x-3 items-center">
|
|
||||||
{/* image */}
|
{/* image */}
|
||||||
<div className="w-8 h-8 rounded-full">
|
<div className="w-8 h-8 rounded-full">
|
||||||
<svg
|
<svg
|
||||||
className="w-[100%]"
|
width="40"
|
||||||
// width="40"
|
height="41"
|
||||||
// height="41"
|
|
||||||
viewBox="0 0 40 41"
|
viewBox="0 0 40 41"
|
||||||
fill="none"
|
fill="none"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
@@ -243,7 +237,7 @@ export default function RightSideBar() {
|
|||||||
</div>
|
</div>
|
||||||
{/* action */}
|
{/* action */}
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
|||||||
sidebar ? "active flex-1" : "w-0"
|
sidebar ? "active flex-1" : "w-0"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
Tracking
|
{process.env.REACT_APP_TRACKING}
|
||||||
</span>
|
</span>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</li>
|
</li>
|
||||||
@@ -208,7 +208,7 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
|||||||
sidebar ? "active flex-1" : "w-0"
|
sidebar ? "active flex-1" : "w-0"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
Resources
|
{process.env.REACT_APP_RESOURCES}
|
||||||
</span>
|
</span>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user