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

Commit

Permalink
update fixes#build#01
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJonaseb11 committed Oct 31, 2024
1 parent 3dd2bf5 commit 3114ab1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/nextjs/app/(app)/account/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const metadata: Metadata = { title: "Account" };
export default function AccountPage() {
return (
<div className="py-6 px-4">
<h1>welcome</h1>
<AccountPageClient />
</div>
);
Expand Down
6 changes: 4 additions & 2 deletions packages/nextjs/app/(app)/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ export const metadata: Metadata = {

export default function DashboardPage() {
return (
<div className="w-full min-h-full flex justify-center bg-neutral-400 shadow-2xl">
<div className="w-full min-h-full flex justify-center bg-neutral-100 shadow-2xl">
<div className="flex justify-center w-full ">
<p>Welcome, Partner! Start by claiming a role!🤝</p>
</div>
<ClaimRoleCard />
<DataRegistry />
<MineralToken />
<SupplyChain />
</div>
);
}

2 changes: 2 additions & 0 deletions packages/nextjs/components/dashboard/ClaimRoleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ export const ClaimRoleCard: React.FC = () => {
};

return (

<div className="flex flex-col max-w-72 gap-4 bg-neutral-100 px-12 py-16 rounded-xl shadow mr-10">
<p>Welcome, Partner! Start by claiming a role!🤝</p>
<p className="text-2xl text-center text-neutral-800">Congratulations!</p>
<p className="text-center text-neutral-500">
Claim a role that will be used to identify you on the Stoneproof platform.
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/components/dashboard/DataRegistry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useState, useEffect } from "react";
import { ethers } from "ethers";
import DataRegistryABI from "../../contracts/DataRegistry.json";

type DataRecord = {
id: string;
description: string;
Expand Down

0 comments on commit 3114ab1

Please sign in to comment.