File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export default function EditGoal({
75
75
ref = { register ( { required : true , maxLength : 50 } ) }
76
76
defaultValue = { goal . title }
77
77
name = "title"
78
- label = "Goal Title "
78
+ label = "What is your goal? "
79
79
type = "text"
80
80
placeholder = "Participate in #100DaysOfCode"
81
81
hasError = { Boolean ( errors . title ) }
@@ -88,7 +88,7 @@ export default function EditGoal({
88
88
89
89
< Input
90
90
type = "date"
91
- label = "Goal Deadline "
91
+ label = "By what time do you want to achieve this goal? "
92
92
ref = { register ( { valueAsDate : true , required : true } ) }
93
93
name = "deadline"
94
94
defaultValue = { goal . deadline . toISODate ( ) }
@@ -100,7 +100,7 @@ export default function EditGoal({
100
100
ref = { register }
101
101
defaultValue = { goal . description }
102
102
name = "description"
103
- label = "Goal description "
103
+ label = "What is your plan to achieve this goal? "
104
104
rows = { 5 }
105
105
placeholder = "I will code for atleast 2 hours everyday."
106
106
helpText = "[Basic Markdown](/markdown) is supported."
Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ export default function NewGoal() {
61
61
< div className = "mt-6" >
62
62
< div className = "flex space-x-3" >
63
63
< div className = "min-w-0 flex-1" >
64
- < form onSubmit = { handleSubmit ( onSubmit ) } >
64
+ < form onSubmit = { handleSubmit ( onSubmit ) } className = "space-y-3" >
65
65
< Input
66
66
ref = { register ( { required : true , maxLength : 50 } ) }
67
67
name = "title"
68
- label = "Goal Title "
68
+ label = "What is your goal? "
69
69
type = "text"
70
70
placeholder = "Participate in #100DaysOfCode"
71
71
hasError = { Boolean ( errors . title ) }
@@ -78,7 +78,7 @@ export default function NewGoal() {
78
78
79
79
< Input
80
80
type = "date"
81
- label = "Goal Deadline "
81
+ label = "By what time do you want to achieve this goal? "
82
82
ref = { register ( { valueAsDate : true , required : true } ) }
83
83
name = "deadline"
84
84
hasError = { Boolean ( errors . deadline ) }
@@ -88,7 +88,7 @@ export default function NewGoal() {
88
88
< TextArea
89
89
ref = { register }
90
90
name = "description"
91
- label = "Goal description "
91
+ label = "What is your plan to achieve this goal? "
92
92
rows = { 3 }
93
93
placeholder = "I will code for atleast 2 hours everyday."
94
94
helpText = "[Basic Markdown](/markdown) is supported."
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const TextArea = React.forwardRef(
50
50
< label
51
51
htmlFor = { id }
52
52
className = { classNames (
53
- 'block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 ' ,
53
+ 'block text-sm font-medium text-gray-700' ,
54
54
hideLabel && 'sr-only'
55
55
) }
56
56
>
You can’t perform that action at this time.
0 commit comments