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

feat: implement manufacturer dashboard design #81

Merged
merged 3 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading