This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
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 #81 from Jethrolopwus/feat/manufacturer-dashboard
feat: implement manufacturer dashboard design
- Loading branch information
Showing
11 changed files
with
927 additions
and
40 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import Footer from '@/components/Footer'; | ||
import NavBar from '@/components/Navbar'; | ||
import { ReactNode } from 'react'; | ||
|
||
interface LayoutProps { | ||
children: ReactNode; | ||
} | ||
const Layout = ({ children }: LayoutProps) => { | ||
return ( | ||
<div> | ||
<NavBar /> | ||
<>{children}</> | ||
<Footer /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Layout; |
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,17 @@ | ||
import Footer from '@/components/Footer'; | ||
import NavBar from '@/components/Navbar'; | ||
import React from 'react'; | ||
import ManufacturerPage from '../manufacturer/account/page'; | ||
import HeroSection from '@/components/HeroSection'; | ||
import ContentSection from '@/components/ContentSection'; | ||
|
||
const page = () => { | ||
return ( | ||
<div> | ||
<HeroSection /> | ||
<ContentSection /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default page; |
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,13 @@ | ||
import ScanPage from '@/app/scan/[product]/page'; | ||
import ScanButton from '@/components/ScanButton'; | ||
import React from 'react'; | ||
|
||
const page = () => { | ||
return ( | ||
<div> | ||
<ScanPage /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default page; |
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,11 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
interface LayoutProps { | ||
children: ReactNode; | ||
} | ||
|
||
const layout = ({ children }: LayoutProps) => { | ||
return <div>{children}</div>; | ||
}; | ||
|
||
export default layout; |
Oops, something went wrong.