Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e60e1828e |
@@ -17,5 +17,4 @@ REACT_APP_TRACKING="Tracking"
|
||||
REACT_APP_RESOURCES="Resources"
|
||||
REACT_APP_HISTORY="History"
|
||||
|
||||
REACT_APP_TRACKING_SHOW=1
|
||||
# REACT_APP_HISTORY_SHOW=1
|
||||
REACT_APP_TRACKING_SHOW=1
|
||||
@@ -18,4 +18,3 @@ REACT_APP_RESOURCES="Resources"
|
||||
REACT_APP_HISTORY="History"
|
||||
|
||||
REACT_APP_TRACKING_SHOW=1
|
||||
# REACT_APP_HISTORY_SHOW=1
|
||||
|
||||
@@ -18,4 +18,3 @@ 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="reminder" />
|
||||
<Icons name="active-bids" />
|
||||
</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,28 +102,26 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) {
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
{process.env.REACT_APP_TRACKING_SHOW ?
|
||||
(<li className="item group">
|
||||
<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="tracking" />
|
||||
<Icons name="market" />
|
||||
</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="calendar" />
|
||||
<Icons name="wallet-two" />
|
||||
</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
|
||||
@@ -136,28 +134,26 @@ 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="resources" />
|
||||
<Icons name="star" />
|
||||
</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>
|
||||
{process.env.REACT_APP_HISTORY_SHOW ?
|
||||
(<li className="item group">
|
||||
<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">
|
||||
{process.env.REACT_APP_HISTORY}
|
||||
History
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>)
|
||||
: ''}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -173,7 +169,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="profile" />
|
||||
<Icons name="people-two" />
|
||||
</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
|
||||
@@ -186,7 +182,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="settings" />
|
||||
<Icons name="setting" />
|
||||
</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,8 +151,7 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
{process.env.REACT_APP_TRACKING_SHOW ?
|
||||
(<li className="item group">
|
||||
<li className="item group">
|
||||
<NavLink
|
||||
to="/tracking"
|
||||
className={`nav-item flex items-center ${
|
||||
@@ -171,8 +170,7 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
||||
{process.env.REACT_APP_TRACKING}
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>)
|
||||
: ''}
|
||||
</li>
|
||||
<li className="item group">
|
||||
<NavLink
|
||||
to="/calendar"
|
||||
@@ -213,8 +211,8 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
{process.env.REACT_APP_HISTORY_SHOW ?
|
||||
(<li className="item group">
|
||||
|
||||
<li className="item group">
|
||||
<NavLink
|
||||
to="/history"
|
||||
className={`nav-item flex items-center ${
|
||||
@@ -230,11 +228,10 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) {
|
||||
sidebar ? "active flex-1" : "w-0"
|
||||
}`}
|
||||
>
|
||||
{process.env.REACT_APP_HISTORY}
|
||||
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 class="spacer"></tr>
|
||||
<tr className="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="even:bg-slate-100 odd:bg-gray-50 dark:bg-dark-white dark:odd:bg-black hover:bg-light-purple transition-all duration-500">
|
||||
<tr key={index} className="bg-light-purple dark:bg-black hover:bg-gray-50 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 class="spacer"></tr> */}
|
||||
<tr className="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="even:bg-slate-100 odd:bg-gray-50 dark:bg-dark-white dark:odd:bg-black hover:bg-light-purple transition-all duration-500">
|
||||
<tr key={index} className="bg-light-purple dark:bg-black hover:bg-gray-50 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 class="spacer"></tr> */}
|
||||
<tr className="spacer"></tr>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user