Skip to content

Commit 256d157

Browse files
committed
subordinate changes
1 parent ed1da26 commit 256d157

File tree

3 files changed

+24
-14
lines changed

3 files changed

+24
-14
lines changed

components/formwrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function Formwrapper({ pageData, updatedPageData }) {
6565

6666
toast.success(`successfully update page`, {
6767
position: "bottom-left",
68-
autoClose: 5000,
68+
autoClose: 1000,
6969
hideProgressBar: false,
7070
closeOnClick: true,
7171
pauseOnHover: true,

components/linkcard.js

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,28 @@ export default function LinkCard({ item, updateLink, deleteLink, loading }) {
114114
</div>
115115
<div className="mb-1 small">
116116
{/* <label className="form-label small">Icon Class</label> */}
117-
<input
118-
type="text"
119-
className={
120-
errors.iconClass
121-
? "form-control form-control-sm mb-2 is-invalid"
122-
: "form-control form-control-sm mb-2 "
123-
}
124-
placeholder="Enter Icon Class"
125-
{...register(`iconClass`)}
126-
/>
127-
<div className="form-text">Use font awesome for icon classes</div>
117+
<div className="form-text">
118+
Use{" "}
119+
<a
120+
className="text-decoration-none"
121+
href="https://fontawesome.com/v5.15/icons?d=gallery&p=2"
122+
target="_blank"
123+
>
124+
fontawesome
125+
</a>{" "}
126+
for icon classes
127+
</div>
128128
</div>
129+
<input
130+
type="text"
131+
className={
132+
errors.iconClass
133+
? "form-control form-control-sm mb-2 is-invalid"
134+
: "form-control form-control-sm mb-2 "
135+
}
136+
placeholder="Enter Icon Class"
137+
{...register(`iconClass`)}
138+
/>
129139
<div className="mb-3 ">
130140
{/* <label className="form-label">Border Radius</label> */}
131141
<div className="input-group mb-3">

components/linksform.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const LinksForm = ({ pagedataid }) => {
8181
}`,
8282
{
8383
position: "bottom-left",
84-
autoClose: 2000,
84+
autoClose: 1000,
8585
hideProgressBar: false,
8686
closeOnClick: true,
8787
pauseOnHover: true,
@@ -147,7 +147,7 @@ const LinksForm = ({ pagedataid }) => {
147147
dispatch({ type: "deleteLink", id: id });
148148
toast.success(`successfully deleted link`, {
149149
position: "bottom-left",
150-
autoClose: 2000,
150+
autoClose: 1000,
151151
hideProgressBar: false,
152152
closeOnClick: true,
153153
pauseOnHover: true,

0 commit comments

Comments
 (0)