removed home page from dashboard

This commit is contained in:
shialoth 2025-05-08 22:48:35 +05:30
parent eceb472556
commit 48a7c37e8a
3 changed files with 3 additions and 17 deletions

View File

@ -15,7 +15,7 @@ export default function Form() {
useEffect(() => {
if (ready && authenticated) {
router.push("/dashboard/home");
router.push("/dashboard/rent");
}
}, [ready, authenticated, router]);

View File

@ -22,7 +22,7 @@ export default function Boxes() {
title: 'NVIDIA K80',
subTitle: '24 GB GDDR5 - 4992 CUDA Cores',
price: '$0.15/hour ($110/mo)',
price_usd: 1, //110
price_usd: 1, //110,
},
{
id: 't1000',

View File

@ -47,20 +47,6 @@ export default function Sidebar() {
{
title: "Dashboard",
links: [
{
icon: (
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M5.31636 3.57182L4.56635 4.15724C3.42886 5.04511 2.86011 5.48905 2.55505 6.115C2.25 6.74094 2.25 7.46404 2.25 8.91022V10.4786C2.25 13.3172 2.25 14.7364 3.12868 15.6182C4.00736 16.5 5.42157 16.5 8.25 16.5H9.75C12.5784 16.5 13.9927 16.5 14.8713 15.6182C15.75 14.7364 15.75 13.3172 15.75 10.4786V8.91022C15.75 7.46404 15.75 6.74094 15.445 6.115C15.1399 5.48905 14.5712 5.04511 13.4336 4.15724L12.6836 3.57182C10.9141 2.19061 10.0293 1.5 9 1.5C7.9707 1.5 7.0859 2.19061 5.31636 3.57182Z"
stroke="#0CE77E"
strokeWidth="1.125"
strokeLinejoin="round"
/>
</svg>
),
title: "Home",
href: "/dashboard/home",
},
{
icon: (
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
@ -230,7 +216,7 @@ export default function Sidebar() {
<div className="border border-white/5 bg-[#0E1618] h-full p-5 flex flex-col justify-between">
<div>
<div className="pb-5 border-b border-[#0CE77E]/25 flex justify-center">
<Link href={"/dashboard/home"}>
<Link href={"/dashboard/rent"}>
<Image src={iconImg} alt="" width={32} height={32} />
</Link>
</div>