|
|
|
@@ -1,24 +1,72 @@
|
|
|
|
|
import React from 'react'
|
|
|
|
|
import BreadcrumbCom from '../components/breadcrumb/BreadcrumbCom'
|
|
|
|
|
import CustomCounter from '../components/CustomCounter'
|
|
|
|
|
import Icons from '../components/Icons'
|
|
|
|
|
|
|
|
|
|
export default function HomePage() {
|
|
|
|
|
return (
|
|
|
|
|
<div className='w-full flex flex-col gap-8'>
|
|
|
|
|
<BreadcrumbCom title='Dashboard' paths={['Home', 'Dashboard']} />
|
|
|
|
|
<div className='grid grid-cols-1 gap-8'>
|
|
|
|
|
<div className='w-full grid grid-cols-1 md:grid-cols-2 gap-8'>
|
|
|
|
|
<div className='p-8 w-full bg-[#F7D9E3] dark:bg-black-box text-black-body dark:text-white-body hover:scale-[1.0] cursor-pointer rounded-lg h-[300px] shadow-round_black dark:shadow-round_white'>
|
|
|
|
|
<div className='w-full grid grid-cols-1 lg:grid-cols-3 gap-8'>
|
|
|
|
|
<div className='p-8 w-full flex flex-col justify-between bg-[#F7D9E3] dark:bg-black-box text-black-body dark:text-white-body hover:scale-[1.0] cursor-pointer rounded-lg h-[200px] shadow-round_black dark:shadow-round_white'>
|
|
|
|
|
<p className='text-base sm:text-lg font-bold'>Earnings</p>
|
|
|
|
|
<div className='flex gap-2 items-end font-bold'>
|
|
|
|
|
<p className='text-3xl'><CustomCounter targetNumber='47' timeInSeconds='1' /></p>
|
|
|
|
|
<p>- 12% this week</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className='p-8 w-full bg-[#CBF0F5] dark:bg-black-box text-black-body dark:text-white-body hover:scale-[1.0] cursor-pointer rounded-lg h-[300px] shadow-round_black dark:shadow-round_white'>
|
|
|
|
|
<div className='p-8 w-full flex flex-col justify-between bg-[#CBF0F5] dark:bg-black-box text-black-body dark:text-white-body hover:scale-[1.0] cursor-pointer rounded-lg h-[200px] shadow-round_black dark:shadow-round_white'>
|
|
|
|
|
<p className='text-base sm:text-lg font-bold'>Contributions</p>
|
|
|
|
|
<div className='flex gap-2 items-end font-bold'>
|
|
|
|
|
<p className='text-3xl'>$<CustomCounter targetNumber='500' timeInSeconds='1' /></p>
|
|
|
|
|
<p>+ 56% this week</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className='p-8 w-full bg-[#CBD4F4] dark:bg-black-box text-black-body dark:text-white-body hover:scale-[1.0] cursor-pointer rounded-lg h-[300px] shadow-round_black dark:shadow-round_white'>
|
|
|
|
|
<div className='p-8 w-full flex flex-col justify-between bg-[#CBD4F4] dark:bg-black-box text-black-body dark:text-white-body hover:scale-[1.0] cursor-pointer rounded-lg h-[200px] shadow-round_black dark:shadow-round_white'>
|
|
|
|
|
<p className='text-base sm:text-lg font-bold'>Summary</p>
|
|
|
|
|
<div className='grid grid-cols-2 gap-4 font-bold'>
|
|
|
|
|
<div className='flex items-center gap-2'>
|
|
|
|
|
<div className='w-10 h-10 bg-white-body dark:bg-black-box dark:shadow-[0_0_0_1px_#f9f9f9] rounded-md flex justify-center items-center'>
|
|
|
|
|
<Icons name='sales' />
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<p className='font-bold text-base'>$<CustomCounter targetNumber='50' timeInSeconds='1' />K</p>
|
|
|
|
|
<p className='text-12 text-slate-500'>Sales</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className='flex items-center gap-2'>
|
|
|
|
|
<div className='w-10 h-10 bg-white-body dark:bg-black-box dark:shadow-[0_0_0_1px_#f9f9f9] rounded-md flex justify-center items-center'>
|
|
|
|
|
<Icons name='sales' />
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<p className='font-bold text-base'>$<CustomCounter targetNumber='50' timeInSeconds='1' />K</p>
|
|
|
|
|
<p className='text-12 text-slate-500'>Revenue</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className='flex items-center gap-2'>
|
|
|
|
|
<div className='w-10 h-10 bg-white-body dark:bg-black-box dark:shadow-[0_0_0_1px_#f9f9f9] rounded-md flex justify-center items-center'>
|
|
|
|
|
<Icons name='sales' />
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<p className='font-bold text-base'>$<CustomCounter targetNumber='265' timeInSeconds='1' />K</p>
|
|
|
|
|
<p className='text-12 text-slate-500'>Tickets</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className='flex items-center gap-2'>
|
|
|
|
|
<div className='w-10 h-10 bg-white-body dark:bg-black-box dark:shadow-[0_0_0_1px_#f9f9f9] rounded-md flex justify-center items-center'>
|
|
|
|
|
<Icons name='sales' />
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<p className='font-bold text-base'>$<CustomCounter targetNumber='5' timeInSeconds='1' />M</p>
|
|
|
|
|
<p className='text-12 text-slate-500'>Tasks</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className='p-8 w-full bg-[#F7D9E3] dark:bg-black-box text-black-body dark:text-white-body hover:scale-[1.0] cursor-pointer rounded-lg h-[300px] shadow-round_black dark:shadow-round_white'>
|
|
|
|
|
{/* <div className='p-8 w-full bg-[#F7D9E3] dark:bg-black-box text-black-body dark:text-white-body hover:scale-[1.0] cursor-pointer rounded-lg h-[200px] shadow-round_black dark:shadow-round_white'>
|
|
|
|
|
<p className='text-base sm:text-lg font-bold'>Earnings</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div> */}
|
|
|
|
|
</div>
|
|
|
|
|
<div className='w-full'>
|
|
|
|
|
<div className='w-full p-8 min-h-96 bg-white dark:bg-black-box text-black-body dark:text-white-body hover:scale-[1.0] cursor-pointer rounded-lg h-full shadow-[0px_0px_2px_rgba(0,_0,_0,_50)] dark:shadow-round_white'>
|
|
|
|
|