Fix:removed navbar and added space between components in dashboard
This commit is contained in:
@@ -37,7 +37,6 @@ function App() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="w-full h-auto flex-col relative">
|
<div className="w-full h-auto flex-col relative">
|
||||||
<Navbar2 />
|
|
||||||
<div className="pt-20"></div>
|
<div className="pt-20"></div>
|
||||||
<Outlet />
|
<Outlet />
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const TotalSpent = () => {
|
|||||||
className="h-full block max-w-sm p-6 bg-no-repeat bg-center bg-cover border border-gray-200 rounded-lg shadow-sm hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700"
|
className="h-full block max-w-sm p-6 bg-no-repeat bg-center bg-cover border border-gray-200 rounded-lg shadow-sm hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700"
|
||||||
>
|
>
|
||||||
<h5 className="mb-2 text-4xl font-bold tracking-tight text-gray-900 dark:text-white">
|
<h5 className="mb-2 text-4xl font-bold tracking-tight text-gray-900 dark:text-white">
|
||||||
100,000
|
₹10,000
|
||||||
</h5>
|
</h5>
|
||||||
<p className="font-normal text-gray-700 dark:text-gray-400">
|
<p className="font-normal text-gray-700 dark:text-gray-400">
|
||||||
This is the total cost which you spent on this farm
|
This is the total cost which you spent on this farm
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ const Piechart = () => {
|
|||||||
return (
|
return (
|
||||||
<div className="bg-white md:p-6 block max-w-sm p-6 bg-no-repeat bg-center bg-cover border border-gray-200 rounded-lg shadow-sm hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700">
|
<div className="bg-white md:p-6 block max-w-sm p-6 bg-no-repeat bg-center bg-cover border border-gray-200 rounded-lg shadow-sm hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700">
|
||||||
<h5 className="text-xl font-bold text-gray-900 dark:text-white mb-4 ">
|
<h5 className="text-xl font-bold text-gray-900 dark:text-white mb-4 ">
|
||||||
Cost Analysis
|
Farm Info
|
||||||
</h5>
|
</h5>
|
||||||
<Chart options={chartOptions} series={series} type="donut" height={320} />
|
<Chart options={chartOptions} series={series} type="donut" height={320} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const Dashboard = () => {
|
|||||||
<AddFarm />
|
<AddFarm />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mb-4 flex space-x-4">
|
<div className="mb-4 flex space-x-10">
|
||||||
<Piechart />
|
<Piechart />
|
||||||
<TotalSpent />
|
<TotalSpent />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ const MainUserPanel = () => {
|
|||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
{/* <li>
|
||||||
<Link
|
<Link
|
||||||
to={"/user/dashboard/scheduledmeetings"}
|
to={"/user/dashboard/scheduledmeetings"}
|
||||||
className="flex items-center p-2 rounded-md hover:bg-green-100/30 transition-colors backdrop-blur-md"
|
className="flex items-center p-2 rounded-md hover:bg-green-100/30 transition-colors backdrop-blur-md"
|
||||||
@@ -79,7 +79,7 @@ const MainUserPanel = () => {
|
|||||||
Scheduled Meeting
|
Scheduled Meeting
|
||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li> */}
|
||||||
<li>
|
<li>
|
||||||
<Link
|
<Link
|
||||||
to={"/user/dashboard/monitoring"}
|
to={"/user/dashboard/monitoring"}
|
||||||
@@ -91,7 +91,7 @@ const MainUserPanel = () => {
|
|||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
{/* <li>
|
||||||
<Link
|
<Link
|
||||||
to={"/user/dashboard/notifications"}
|
to={"/user/dashboard/notifications"}
|
||||||
className="flex items-center p-2 rounded-md hover:bg-green-100/30 transition-colors backdrop-blur-md"
|
className="flex items-center p-2 rounded-md hover:bg-green-100/30 transition-colors backdrop-blur-md"
|
||||||
@@ -101,8 +101,8 @@ const MainUserPanel = () => {
|
|||||||
Notifications
|
Notifications
|
||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li> */}
|
||||||
<li>
|
{/* <li>
|
||||||
<Link
|
<Link
|
||||||
to={"/user/dashboard/feedback"}
|
to={"/user/dashboard/feedback"}
|
||||||
className="flex items-center p-2 rounded-md hover:bg-green-100/30 transition-colors backdrop-blur-md"
|
className="flex items-center p-2 rounded-md hover:bg-green-100/30 transition-colors backdrop-blur-md"
|
||||||
@@ -113,7 +113,8 @@ const MainUserPanel = () => {
|
|||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
*/}
|
||||||
|
{/* <li>
|
||||||
<Link
|
<Link
|
||||||
to={"/user/dashboard/support"}
|
to={"/user/dashboard/support"}
|
||||||
className="flex items-center p-2 rounded-md hover:bg-green-100/30 transition-colors backdrop-blur-md"
|
className="flex items-center p-2 rounded-md hover:bg-green-100/30 transition-colors backdrop-blur-md"
|
||||||
@@ -124,6 +125,7 @@ const MainUserPanel = () => {
|
|||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
*/}
|
||||||
<li>
|
<li>
|
||||||
<Link
|
<Link
|
||||||
to={"/user/dashboard/settings"}
|
to={"/user/dashboard/settings"}
|
||||||
|
|||||||
Reference in New Issue
Block a user