summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pages/my/address/create.js10
-rw-r--r--src/pages/my/profile.js18
2 files changed, 14 insertions, 14 deletions
diff --git a/src/pages/my/address/create.js b/src/pages/my/address/create.js
index a83e031f..458b1921 100644
--- a/src/pages/my/address/create.js
+++ b/src/pages/my/address/create.js
@@ -12,35 +12,35 @@ export default function CreateAddress() {
<label className="form-label mt-4 mb-2">Nama Kontak</label>
<input
type="text"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="John Doe"
name="name"
/>
<label className="form-label mt-4 mb-2">No. Handphone</label>
<input
type="tel"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="08xxxxxxxx"
name="mobile"
/>
<label className="form-label mt-4 mb-2">Alamat</label>
<input
type="text"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="Jl. Bandengan Utara"
name="street"
/>
<label className="form-label mt-4 mb-2">Kota atau Kecamatan</label>
<input
type="text"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="Kel. Penjaringan Kec. Penjaringan Kota Jakarta Utara"
name="street2"
/>
<label className="form-label mt-4 mb-2">Kode Pos</label>
<input
type="number"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="10100"
name="zip"
/>
diff --git a/src/pages/my/profile.js b/src/pages/my/profile.js
index 6e40230d..d4b7fb6d 100644
--- a/src/pages/my/profile.js
+++ b/src/pages/my/profile.js
@@ -52,7 +52,7 @@ export default function MyProfile() {
<label className="form-label mt-4 mb-2">Email</label>
<input
type="text"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="johndoe@gmail.com"
name="email"
value={auth.email}
@@ -63,7 +63,7 @@ export default function MyProfile() {
<label className="form-label mt-4 mb-2">Nama Lengkap</label>
<input
type="text"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="John Doe"
name="name"
value={auth.name}
@@ -74,7 +74,7 @@ export default function MyProfile() {
<label className="form-label mt-4 mb-2">No Telepon</label>
<input
type="tel"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="08xxxxxxxx"
name="phone"
value={auth.phone}
@@ -85,7 +85,7 @@ export default function MyProfile() {
<label className="form-label mt-4 mb-2">No Handphone</label>
<input
type="tel"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="08xxxxxxxx"
name="mobile"
value={auth.mobile}
@@ -96,7 +96,7 @@ export default function MyProfile() {
<label className="form-label mt-4 mb-2">Kata Sandi</label>
<input
type="password"
- className="form-input bg-gray_r-2"
+ className="form-input"
placeholder="••••••••"
value={password}
onChange={(e) => setPassword(e.target.value)}
@@ -106,22 +106,22 @@ export default function MyProfile() {
) }
{ editMode && (
- <div className="flex gap-x-3">
+ <div className="flex gap-x-3 mt-6">
<button
type="button"
- className="btn-light flex-1 float-right mt-4"
+ className="btn-light flex-1 float-right"
onClick={cancelEdit}
>
Batal
</button>
- <button type="submit" className="btn-yellow flex-1 float-right mt-4">Simpan</button>
+ <button type="submit" className="btn-yellow flex-1 float-right">Simpan</button>
</div>
) }
{ !editMode && (
<button
type="button"
- className="btn-light float-right mt-4 w-full"
+ className="btn-light float-right mt-6 w-full"
onClick={() => setEditMode(true)}
>
Ubah Profil