Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #81 from Jethrolopwus/feat/manufacturer-dashboard
Browse files Browse the repository at this point in the history
feat: implement manufacturer dashboard design
  • Loading branch information
zintarh authored Nov 30, 2024
2 parents d015e55 + f39a300 commit d644d3f
Show file tree
Hide file tree
Showing 11 changed files with 927 additions and 40 deletions.
526 changes: 502 additions & 24 deletions frontend/package-lock.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
"next": "14.0.2",
"react": "^18",
"react-blockies": "^1.4.1",
"react-datepicker": "^7.5.0",
"react-dom": "^18",
"react-icons": "^5.3.0",
"react-toastify": "^10.0.6",
"sharp": "^0.33.5",
"starknet": "^6.11.0"
},
"devDependencies": {
Expand Down
18 changes: 18 additions & 0 deletions frontend/src/app/Home/layout.tsx
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;
17 changes: 17 additions & 0 deletions frontend/src/app/Home/page.tsx
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;
13 changes: 13 additions & 0 deletions frontend/src/app/Home/scan/page.tsx
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;
11 changes: 11 additions & 0 deletions frontend/src/app/dashboard/layout.tsx
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;
Loading

0 comments on commit d644d3f

Please sign in to comment.