Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 09b8d7c059 | |||
| 211dcef2a3 |
@@ -17,4 +17,5 @@ REACT_APP_TRACKING="Tracking"
|
||||
REACT_APP_RESOURCES="Resources"
|
||||
REACT_APP_HISTORY="History"
|
||||
|
||||
REACT_APP_TRACKING_SHOW=1
|
||||
REACT_APP_TRACKING_SHOW=1
|
||||
# REACT_APP_HISTORY_SHOW=1
|
||||
@@ -18,3 +18,4 @@ REACT_APP_RESOURCES="Resources"
|
||||
REACT_APP_HISTORY="History"
|
||||
|
||||
REACT_APP_TRACKING_SHOW=1
|
||||
# REACT_APP_HISTORY_SHOW=1
|
||||
|
||||
@@ -18,3 +18,4 @@ REACT_APP_RESOURCES="Resources"
|
||||
REACT_APP_HISTORY="History"
|
||||
|
||||
REACT_APP_TRACKING_SHOW=0
|
||||
# REACT_APP_HISTORY_SHOW=0
|
||||
@@ -92,7 +92,7 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) {
|
||||
className="nav-item flex items-center justify-start space-x-3.5"
|
||||
>
|
||||
<span className="item-icon group-hover:bg-purple group-hover:text-white w-8 h-8 flex justify-center items-center transition-all duration-300 ease-in-out bg-light-purple dark:bg-dark-light-purple rounded-full text-dark-gray dark:text-white">
|
||||
<Icons name="active-bids" />
|
||||
<Icons name="reminder" />
|
||||
</span>
|
||||
<span className="item-content relative group-hover:text-purple text-[18px] transition-all duration-300 ease-in-out text-lighter-gray font-medium active flex-1">
|
||||
Reminders
|
||||
@@ -102,26 +102,28 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) {
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
<li className="item group">
|
||||
{process.env.REACT_APP_TRACKING_SHOW ?
|
||||
(<li className="item group">
|
||||
<NavLink
|
||||
to="/tracking"
|
||||
className="nav-item flex items-center justify-start space-x-3.5"
|
||||
>
|
||||
<span className="item-icon group-hover:bg-purple group-hover:text-white w-8 h-8 flex justify-center items-center transition-all duration-300 ease-in-out bg-light-purple dark:bg-dark-light-purple rounded-full text-dark-gray dark:text-white">
|
||||
<Icons name="market" />
|
||||
<Icons name="tracking" />
|
||||
</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">
|
||||
{process.env.REACT_APP_TRACKING}
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
</li>)
|
||||
: ''}
|
||||
<li className="item group">
|
||||
<NavLink
|
||||
to="/calendar"
|
||||
className="nav-item flex items-center justify-start space-x-3.5"
|
||||
>
|
||||
<span className="item-icon group-hover:bg-purple group-hover:text-white w-8 h-8 flex justify-center items-center transition-all duration-300 ease-in-out bg-light-purple dark:bg-dark-light-purple rounded-full text-dark-gray dark:text-white">
|
||||
<Icons name="wallet-two" />
|
||||
<Icons name="calendar" />
|
||||
</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">
|
||||
Calendar
|
||||
@@ -134,26 +136,28 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) {
|
||||
className="nav-item flex items-center justify-start space-x-3.5"
|
||||
>
|
||||
<span className="item-icon group-hover:bg-purple group-hover:text-white w-8 h-8 flex justify-center items-center transition-all duration-300 ease-in-out bg-light-purple dark:bg-dark-light-purple rounded-full text-dark-gray dark:text-white">
|
||||
<Icons name="star" />
|
||||
<Icons name="resources" />
|
||||
</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">
|
||||
{process.env.REACT_APP_RESOURCES}
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
<li className="item group">
|
||||
{process.env.REACT_APP_HISTORY_SHOW ?
|
||||
(<li className="item group">
|
||||
<NavLink
|
||||
to="/history"
|
||||
className="nav-item flex items-center justify-start space-x-3.5"
|
||||
>
|
||||
<span className="item-icon group-hover:bg-purple group-hover:text-white w-8 h-8 flex justify-center items-center transition-all duration-300 ease-in-out bg-light-purple dark:bg-dark-light-purple rounded-full text-dark-gray dark:text-white">
|
||||
<Icons name="history" />
|
||||
<Icons name="History" />
|
||||
</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">
|
||||
History
|
||||
{process.env.REACT_APP_HISTORY}
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
</li>)
|
||||
: ''}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -169,7 +173,7 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) {
|
||||
className="nav-item flex items-center justify-start space-x-3.5"
|
||||
>
|
||||
<span className="item-icon group-hover:bg-purple group-hover:text-white w-8 h-8 flex justify-center items-center transition-all duration-300 ease-in-out bg-light-purple dark:bg-dark-light-purple rounded-full text-dark-gray dark:text-white">
|
||||
<Icons name="people-two" />
|
||||
<Icons name="profile" />
|
||||
</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">
|
||||
My Profile
|
||||
@@ -182,7 +186,7 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) {
|
||||
className="nav-item flex items-center justify-start space-x-3.5"
|
||||
>
|
||||
<span className="item-icon group-hover:bg-purple group-hover:text-white w-8 h-8 flex justify-center items-center transition-all duration-300 ease-in-out bg-light-purple dark:bg-dark-light-purple rounded-full text-dark-gray dark:text-white">
|
||||
<Icons name="setting" />
|
||||
<Icons name="settings" />
|
||||
</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">
|
||||
Settings
|
||||
|
||||
@@ -151,7 +151,8 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
<li className="item group">
|
||||
{process.env.REACT_APP_TRACKING_SHOW ?
|
||||
(<li className="item group">
|
||||
<NavLink
|
||||
to="/tracking"
|
||||
className={`nav-item flex items-center ${
|
||||
@@ -170,7 +171,8 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
||||
{process.env.REACT_APP_TRACKING}
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
</li>)
|
||||
: ''}
|
||||
<li className="item group">
|
||||
<NavLink
|
||||
to="/calendar"
|
||||
@@ -211,8 +213,8 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
|
||||
<li className="item group">
|
||||
{process.env.REACT_APP_HISTORY_SHOW ?
|
||||
(<li className="item group">
|
||||
<NavLink
|
||||
to="/history"
|
||||
className={`nav-item flex items-center ${
|
||||
@@ -228,10 +230,11 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
||||
sidebar ? "active flex-1" : "w-0"
|
||||
}`}
|
||||
>
|
||||
History
|
||||
{process.env.REACT_APP_HISTORY}
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
</li>)
|
||||
: ''}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -90,7 +90,7 @@ export default function ReminderTable({ className }) {
|
||||
<td className="py-4 text-center">Reminder</td>
|
||||
<td className="py-4 text-right">.</td>
|
||||
</tr>
|
||||
<tr className="spacer"></tr>
|
||||
<tr class="spacer"></tr>
|
||||
</>
|
||||
|
||||
{
|
||||
@@ -99,7 +99,7 @@ export default function ReminderTable({ className }) {
|
||||
userReminders[0].reminders.map((reminder, index) => (
|
||||
<>
|
||||
{/* <tr key={index} className="bg-white dark:bg-dark-white border border-light-purple dark:border-[#5356fb29] hover:bg-gray-50"> */}
|
||||
<tr key={index} className="bg-light-purple dark:bg-black hover:bg-gray-50 transition-all duration-500">
|
||||
<tr key={index} className="even:bg-slate-100 odd:bg-gray-50 dark:bg-dark-white dark:odd:bg-black hover:bg-light-purple transition-all duration-500">
|
||||
<td className="py-4 px-2 rounded-l-full">
|
||||
<div className="flex space-x-2 items-center">
|
||||
<div className="w-[60px] h-[60px] rounded-full overflow-hidden flex justify-center items-center">
|
||||
@@ -149,7 +149,7 @@ export default function ReminderTable({ className }) {
|
||||
<Link to={`/add-reminder/${reminder.uuid}`} state={{reminder}} className="text-sm text-white btn-gradient px-2.5 py-1.5 rounded-full">Edit</Link>
|
||||
</td>
|
||||
</tr>
|
||||
<tr className="spacer"></tr>
|
||||
{/* <tr class="spacer"></tr> */}
|
||||
</>
|
||||
))
|
||||
)
|
||||
@@ -159,7 +159,7 @@ export default function ReminderTable({ className }) {
|
||||
return (
|
||||
<>
|
||||
{/* <tr key={index} className="bg-white dark:bg-dark-white border border-light-purple dark:border-[#5356fb29] hover:bg-gray-50"> */}
|
||||
<tr key={index} className="bg-light-purple dark:bg-black hover:bg-gray-50 transition-all duration-500">
|
||||
<tr key={index} className="even:bg-slate-100 odd:bg-gray-50 dark:bg-dark-white dark:odd:bg-black hover:bg-light-purple transition-all duration-500">
|
||||
<td className="py-4 px-2 rounded-l-full">
|
||||
<div className="flex space-x-2 items-center">
|
||||
<div className="w-[60px] h-[60px] rounded-full overflow-hidden flex justify-center items-center">
|
||||
@@ -212,7 +212,7 @@ export default function ReminderTable({ className }) {
|
||||
<Link to={`/add-reminder/${reminder.uuid}`} state={{reminder}} className="text-sm text-white btn-gradient px-2.5 py-1.5 rounded-full">Edit</Link>
|
||||
</td>
|
||||
</tr>
|
||||
<tr className="spacer"></tr>
|
||||
{/* <tr class="spacer"></tr> */}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user