-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from createdbymahmood/develop
Develop
- Loading branch information
Showing
296 changed files
with
7,425 additions
and
121 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
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,15 +1,23 @@ | ||
'use client' | ||
|
||
import dynamic from 'next/dynamic' | ||
|
||
import {JobLocationProviders} from '@/components/JobLocation/layout' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
const JobLocation = dynamic( | ||
() => | ||
import('@/components/JobLocation/JobLocation').then((m) => m.JobLocation), | ||
() => import('@/components/JobLocation/JobLocation'), | ||
{ | ||
ssr: false, | ||
}, | ||
) | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Job Location', | ||
}) | ||
|
||
export default function JobLocationPage() { | ||
return <JobLocation /> | ||
return ( | ||
<JobLocationProviders> | ||
<JobLocation /> | ||
</JobLocationProviders> | ||
) | ||
} |
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,5 +1,10 @@ | ||
import {Projects} from '@/components/Projects' | ||
import {Applications} from '@/components/Applications' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Home', | ||
}) | ||
|
||
export default function App() { | ||
return <Projects /> | ||
return <Applications /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {AccountApiKeys} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'API Keys', | ||
}) | ||
|
||
export default function ApiKeys() { | ||
return <AccountApiKeys /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {AccountBilling} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Account Billing', | ||
}) | ||
|
||
export default function BillingP() { | ||
return <AccountBilling /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use client' | ||
|
||
import {AccountLayout} from '@/components/SnowUI/components/account' | ||
|
||
export default AccountLayout |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {AccountLogs} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Account Logs', | ||
}) | ||
|
||
export default function Logs() { | ||
return <AccountLogs /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {AccountOverview} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Account overview', | ||
}) | ||
|
||
export default function Overview() { | ||
return <AccountOverview /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import {redirect} from 'next/navigation' | ||
|
||
import {urls} from '@/constants' | ||
|
||
export default function Account() { | ||
return redirect(urls.SnowUI.account.page('overview')) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {AccountReferrals} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Account Referrals', | ||
}) | ||
|
||
export default function Referrals() { | ||
return <AccountReferrals /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {AccountSecurity} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Account Security', | ||
}) | ||
|
||
export default function Security() { | ||
return <AccountSecurity /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {AccountSettings} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Account Settings', | ||
}) | ||
|
||
export default function Settings() { | ||
return <AccountSettings /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {AccountStatements} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Account Statements', | ||
}) | ||
|
||
export default function Statements() { | ||
return <AccountStatements /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {SnowUILayout} from '@/components/SnowUI/layout/SnowUILayout' | ||
|
||
export default SnowUILayout |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {redirect} from 'next/navigation' | ||
|
||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Snow UI', | ||
}) | ||
|
||
export default function SnowUI() { | ||
// return redirect('/snow-ui/projects') | ||
return <div style={{height: '200vh'}}>Hello World</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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {ProjectActivity} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Project Activity', | ||
}) | ||
|
||
export default function Activity() { | ||
return <ProjectActivity /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {ProjectBudget} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Project Budget', | ||
}) | ||
|
||
export default function Budget() { | ||
return <ProjectBudget /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {ProjectFiles} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Project Files', | ||
}) | ||
|
||
export default function Files() { | ||
return <ProjectFiles /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use client' | ||
|
||
import {ProjectDetailsLayout} from '@/components/SnowUI' | ||
|
||
export default ProjectDetailsLayout |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
|
||
import {ProjectOverview} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Project Overview', | ||
}) | ||
|
||
export default function Overview() { | ||
return <ProjectOverview /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
'use client' | ||
|
||
import type {Params} from 'next/dist/shared/lib/router/utils/route-matcher' | ||
import {redirect, useParams} from 'next/navigation' | ||
|
||
import {urls} from '@/constants' | ||
|
||
interface QueryParams extends Params { | ||
id: string | ||
} | ||
|
||
export default function ProjectDetails() { | ||
const params = useParams<QueryParams>() | ||
return redirect(urls.SnowUI.projects.details(params.id, 'overview')) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Loader} from '@mantine/core' | ||
|
||
export default function Loading() { | ||
return <Loader size='xs' /> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {ProjectSettings} from '@/components/SnowUI' | ||
import {constructMetadata} from '@/utils/constructMetadata' | ||
|
||
export const metadata = constructMetadata({ | ||
title: 'Project Settings', | ||
}) | ||
|
||
export default function Settings() { | ||
return <ProjectSettings /> | ||
} |
Oops, something went wrong.