-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
869 additions
and
826 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
|
||
export default function Home() { | ||
return ( | ||
<div> | ||
Hii | ||
</div> | ||
); | ||
return <div>Hii</div>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
"use client"; | ||
import Infobar from '@/components/custom/infobar/infobar' | ||
import BillingSettings from '@/components/custom/settings/billing.settings'; | ||
import ThemeSettings from '@/components/custom/settings/theme.settings'; | ||
import React from 'react' | ||
import Infobar from "@/components/custom/infobar/infobar"; | ||
import BillingSettings from "@/components/custom/settings/billing.settings"; | ||
import ThemeSettings from "@/components/custom/settings/theme.settings"; | ||
import React from "react"; | ||
|
||
export default function SettingsPage() { | ||
return ( | ||
<div className='flex flex-col h-full w-full items-start overflow-hidden p-2'> | ||
<div className="flex flex-col h-full w-full items-start overflow-hidden p-2"> | ||
<div> | ||
<Infobar/> | ||
<Infobar /> | ||
</div> | ||
<div className='flex flex-col gap-10'> | ||
<BillingSettings/> | ||
<ThemeSettings/> | ||
<div className="flex flex-col gap-10"> | ||
<BillingSettings /> | ||
<ThemeSettings /> | ||
</div> | ||
</div> | ||
) | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import React from 'react' | ||
import InfoBreadCrumb from './bread-crumb' | ||
import { SidebarTrigger } from '@/components/ui/sidebar' | ||
import React from "react"; | ||
import InfoBreadCrumb from "./bread-crumb"; | ||
import { SidebarTrigger } from "@/components/ui/sidebar"; | ||
|
||
export default function Infobar() { | ||
return ( | ||
<nav className="flex w-full items-start justify-between gap-4 mb-8"> | ||
<div className="flex items-center"> | ||
<SidebarTrigger /> | ||
</div> | ||
<InfoBreadCrumb /> | ||
</nav> | ||
) | ||
return ( | ||
<nav className="flex w-full items-start justify-between gap-4 mb-8"> | ||
<div className="flex items-center"> | ||
<SidebarTrigger /> | ||
</div> | ||
<InfoBreadCrumb /> | ||
</nav> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import React from 'react' | ||
import React from "react"; | ||
|
||
interface SectionProps { | ||
label: string | ||
msg: string | ||
label: string; | ||
msg: string; | ||
} | ||
export default function SectionLabel({label, msg}: SectionProps) { | ||
export default function SectionLabel({ label, msg }: SectionProps) { | ||
return ( | ||
<div> | ||
<p className='text-lg font-medium mb-2'>{label}</p> | ||
<p className='text-sm text-muted-foreground'>{msg}</p> | ||
<p className="text-lg font-medium mb-2">{label}</p> | ||
<p className="text-sm text-muted-foreground">{msg}</p> | ||
</div> | ||
) | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
import React from 'react' | ||
import SectionLabel from '../section/section.label' | ||
import React from "react"; | ||
import SectionLabel from "../section/section.label"; | ||
|
||
export default function BillingSettings() { | ||
return ( | ||
<div className='grid grid-cols-1 lg:grid-cols-5 gap-10'> | ||
<div className='lg:col-span-1'> | ||
<SectionLabel label='Billing Settings' msg='Add payment information, upgrade or modify your plan.'/> | ||
<div className="grid grid-cols-1 lg:grid-cols-5 gap-10"> | ||
<div className="lg:col-span-1"> | ||
<SectionLabel | ||
label="Billing Settings" | ||
msg="Add payment information, upgrade or modify your plan." | ||
/> | ||
</div> | ||
</div> | ||
) | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.