Skip to content
This repository was archived by the owner on Oct 2, 2026. It is now read-only.

Commit a8bd3a2

Browse files
authored
Merge pull request #213 from MinaFoundation/feature/proposal-improvements
Feature/proposal improvements
2 parents 127b172 + 923ea54 commit a8bd3a2

8 files changed

Lines changed: 994 additions & 654 deletions

File tree

‎package-lock.json‎

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"admin:status": "npx tsx src/scripts/toggle-admin-status.ts"
2323
},
2424
"dependencies": {
25+
"@hookform/resolvers": "^3.3.4",
2526
"@ladjs/graceful": "^4.1.0",
2627
"@prisma/client": "^5.22.0",
2728
"@radix-ui/react-accordion": "^1.2.1",
@@ -68,6 +69,7 @@
6869
"react-dnd-html5-backend": "^16.0.1",
6970
"react-dnd-touch-backend": "^16.0.1",
7071
"react-dom": "18.3.1",
72+
"react-hook-form": "^7.51.2",
7173
"react-markdown": "^9.0.3",
7274
"recharts": "^2.15.0",
7375
"sharp": "^0.33.5",

‎src/app/globals.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ body {
5252
--destructive-foreground: 0 0% 98%;
5353
--border: 240 5.9% 90%;
5454
--input: 240 5.9% 90%;
55-
--ring: 240 10% 3.9%;
55+
--ring: 251 82% 69%;
5656
--chart-1: 12 76% 61%;
5757
--chart-2: 173 58% 39%;
5858
--chart-3: 197 37% 24%;

‎src/app/proposals/create/page.tsx‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
import CreateProposalComponent from '@/components/CreateProposal'
1+
import { CreateProposal } from '@/components/CreateProposal'
2+
import { Metadata } from 'next'
3+
4+
export const metadata: Metadata = {
5+
title: 'Create Proposal | MEF',
6+
}
27

38
export default function CreateProposalPage() {
4-
return <CreateProposalComponent />
9+
return (
10+
<div className="mx-auto w-full max-w-5xl p-4 sm:px-6 lg:px-8">
11+
<CreateProposal />
12+
</div>
13+
)
514
}

0 commit comments

Comments
 (0)