Added color to component and toggler to the env
This commit is contained in:
@@ -2,7 +2,7 @@ import React from 'react'
|
||||
|
||||
const AccountDashboard = ({className}) => {
|
||||
return (
|
||||
<div className={`w-full min-h-[400px] md:grid grid-cols-2 lg:p-8 p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden ${
|
||||
<div className={`w-full min-h-[400px] md:grid grid-cols-2 lg:p-8 p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden bg-[#ffed00] ${
|
||||
className || ""
|
||||
}`}>
|
||||
<div className="w-full h-full flex items-center justify-center text-5xl text-center">
|
||||
|
||||
@@ -62,7 +62,9 @@ export default function FullAccountDash(props) {
|
||||
return (
|
||||
<>
|
||||
<div className="home-page-wrapper">
|
||||
<AccountDashboard className="mb-4" />
|
||||
{process.env.REACT_APP_SHOW_ACCOUNT_DASH == "1" && (
|
||||
<AccountDashboard className="mb-4" />
|
||||
)}
|
||||
{renderDashboard()}
|
||||
|
||||
{props?.dashTypes !== "undefined" &&
|
||||
|
||||
Reference in New Issue
Block a user