diff --git a/packages/nextjs/app/deliverer-form/page.tsx b/packages/nextjs/app/deliverer-form/page.tsx new file mode 100644 index 0000000..4327376 --- /dev/null +++ b/packages/nextjs/app/deliverer-form/page.tsx @@ -0,0 +1,25 @@ +import React from "react"; +import DelivererForm1 from "~~/components/DelivererForm1"; +import DelivererForm2 from "~~/components/DelivererForm2"; +import PackageInfo from "~~/components/PackageInfo"; +import { Button } from "~~/components/ui/button"; +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "~~/components/ui/card"; + +const PackageInfoPage = () => { + return ( +
+
+
+ +
+
+
+
+ +
+
+
+ ); +}; + +export default PackageInfoPage; diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index b6f723d..5963dbc 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -70,7 +70,9 @@ const Home: NextPage = () => {

Mark a package as delivered and complete the shipment.

- + + + diff --git a/packages/nextjs/components/DelivererForm1.tsx b/packages/nextjs/components/DelivererForm1.tsx new file mode 100644 index 0000000..644bd9e --- /dev/null +++ b/packages/nextjs/components/DelivererForm1.tsx @@ -0,0 +1,23 @@ +import { Button } from "~~/components/ui/button"; +import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "~~/components/ui/card"; +import { Input } from "~~/components/ui/input"; +import { Label } from "~~/components/ui/label"; +import { Slider } from "~~/components/ui/slider"; + +const DelivererForm1 = () => { + return ( +
+ + + Join The Box's delivery network! + + Earn bounties for delivering packages in your neighborhood. + + + + +
+ ); +}; + +export default DelivererForm1; diff --git a/packages/nextjs/components/DelivererForm2.tsx b/packages/nextjs/components/DelivererForm2.tsx new file mode 100644 index 0000000..32520e5 --- /dev/null +++ b/packages/nextjs/components/DelivererForm2.tsx @@ -0,0 +1,24 @@ +import { Button } from "~~/components/ui/button"; +import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "~~/components/ui/card"; +import { Input } from "~~/components/ui/input"; +import { Label } from "~~/components/ui/label"; +import { Slider } from "~~/components/ui/slider"; + +const DelivererForm2 = () => { + return ( +
+ + + Stake to start your delivery! + + Stake the required amount of tokens to start your delivery. + +

Amount to stake: 5 BOX

+ +
+
+
+ ); +}; + +export default DelivererForm2; diff --git a/packages/nextjs/components/Package-Deliverer-Buttons.tsx b/packages/nextjs/components/Package-Deliverer-Buttons.tsx new file mode 100644 index 0000000..a7d9b67 --- /dev/null +++ b/packages/nextjs/components/Package-Deliverer-Buttons.tsx @@ -0,0 +1,16 @@ +import Link from "next/link"; +import { Button } from "~~/components/ui/button"; +import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "~~/components/ui/card"; +import { Input } from "~~/components/ui/input"; +import { Label } from "~~/components/ui/label"; +import { Slider } from "~~/components/ui/slider"; + +const PackageDelivererButtons = () => { + return ( +
+ +
+ ); +}; + +export default PackageDelivererButtons; diff --git a/packages/nextjs/components/Package-Reciever-Buttons.tsx b/packages/nextjs/components/Package-Reciever-Buttons.tsx new file mode 100644 index 0000000..2d5b11f --- /dev/null +++ b/packages/nextjs/components/Package-Reciever-Buttons.tsx @@ -0,0 +1,18 @@ +import { Button } from "~~/components/ui/button"; +import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "~~/components/ui/card"; +import { Input } from "~~/components/ui/input"; +import { Label } from "~~/components/ui/label"; +import { Slider } from "~~/components/ui/slider"; + +const PackageRecieverButtons = () => { + return ( +
+ + +
+ ); +}; + +export default PackageRecieverButtons; diff --git a/packages/nextjs/components/PackageInfo.tsx b/packages/nextjs/components/PackageInfo.tsx index 0029ebf..ab62e27 100644 --- a/packages/nextjs/components/PackageInfo.tsx +++ b/packages/nextjs/components/PackageInfo.tsx @@ -1,3 +1,5 @@ +import PackageDelivererButtons from "./Package-Deliverer-Buttons"; +import PackageRecieverButtons from "./Package-Reciever-Buttons"; import { Button } from "~~/components/ui/button"; import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "~~/components/ui/card"; import { Input } from "~~/components/ui/input"; @@ -38,7 +40,7 @@ const PackageInfo = () => {
-
Amount staked
+
Amount of stake
0.5 ETH
@@ -48,10 +50,10 @@ const PackageInfo = () => {
- - + +
+
+