Skip to content

Commit

Permalink
refactor: margin icon
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Jan 12, 2025
1 parent a74eb40 commit b8d7ba2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
10 changes: 4 additions & 6 deletions dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ <h5 class="fw-bold mt-1 mb-0 ms-0 p-0" style="color: var(--bs-gray-900); font-si

<!-- Form -->
<div class="bg-theme-light p-3 mt-2 rounded-4 shadow">
<label for="form-comment" class="form-label fw-bold"><i class="fa-solid fa-comment me-2"></i>Comment</label>
<textarea class="form-control shadow-sm mb-3 rounded-4" id="form-comment" name="form-comment" rows="3" placeholder="Type to comment" data-offline-disabled="false"></textarea>
<label for="form-comment" class="form-label fw-bold mb-1"><i class="fa-solid fa-comment me-2"></i>Comment</label>
<textarea class="form-control shadow-sm mb-3 rounded-4" id="form-comment" name="form-comment" rows="3" minlength="1" maxlength="1000" placeholder="Type to comment" data-offline-disabled="false"></textarea>

<div class="d-flex justify-content-end mb-0">
<button onclick="undangan.comment.send(this)" class="btn btn-primary btn-sm rounded-4 shadow-sm" data-offline-disabled="false"><i class="fa-solid fa-paper-plane me-2"></i>Send</button>
Expand Down Expand Up @@ -330,10 +330,8 @@ <h5 class="fw-bold mt-1 mb-0 ms-0 p-0" style="color: var(--bs-gray-900); font-si
</div>

<div class="p-3 bg-theme-light mb-4 rounded-4 shadow">
<p class="mx-0 mt-0 mb-1 p-0 fw-bold"><i class="fa-solid fa-heart me-2"></i>Project</p>
<p class="m-0 p-0">
If you want to support me, consider <a target="_blank" href="https://saweria.co/dewanakl">buying me a coffee</a><i class="fa-solid fa-mug-hot ms-1"></i>
</p>
<p class="mx-0 mt-0 mb-1 p-0 fw-bold"><i class="fa-solid fa-heart me-2"></i>Love Project</p>
<p class="m-0 p-0">If you want to support me, consider <a target="_blank" href="https://saweria.co/dewanakl">buying me a coffee</a><i class="fa-solid fa-mug-hot ms-1"></i></p>
</div>
</section>
</div>
Expand Down
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -420,12 +420,12 @@ <h2 class="font-esthetic pt-2 mb-4" style="font-size: 2.5rem;">Love Gift</h2>
<h2 class="font-esthetic text-center mt-2 mb-4" style="font-size: 2.5rem;">Ucapan &amp; Doa</h2>

<div class="mb-3">
<label for="form-name" class="form-label"><i class="fa-solid fa-person me-1"></i>Nama</label>
<input type="text" class="form-control shadow-sm rounded-4" id="form-name" placeholder="Isikan Nama Anda" autocomplete="name" data-offline-disabled="false">
<label for="form-name" class="form-label mb-1"><i class="fa-solid fa-person me-2"></i>Nama</label>
<input type="text" class="form-control shadow-sm rounded-4" id="form-name" minlength="2" maxlength="50" placeholder="Isikan Nama Anda" autocomplete="name" data-offline-disabled="false">
</div>

<div class="mb-3">
<label for="form-presence" class="form-label"><i class="fa-solid fa-person-circle-question me-1"></i>Presensi</label>
<label for="form-presence" class="form-label mb-1"><i class="fa-solid fa-person-circle-question me-2"></i>Presensi</label>
<select class="form-select shadow-sm rounded-4" id="form-presence" autocomplete="off" data-offline-disabled="false">
<option value="0" selected>Konfirmasi Presensi</option>
<option value="1">Datang</option>
Expand All @@ -443,13 +443,13 @@ <h2 class="font-esthetic text-center mt-2 mb-4" style="font-size: 2.5rem;">Ucapa
<p class="m-0">Sama bisa format text seperti Whatsapp lohh... cobainn jugaaa, makaciwww bestieee</p>
</div>

<label for="form-comment" class="form-label"><i class="fa-solid fa-comment me-1"></i>Ucapan &amp; Doa</label>
<textarea class="form-control shadow-sm rounded-4" id="form-comment" rows="4" placeholder="Tulis Ucapan dan Doa" autocomplete="off" data-offline-disabled="false"></textarea>
<label for="form-comment" class="form-label mb-1"><i class="fa-solid fa-comment me-2"></i>Ucapan &amp; Doa</label>
<textarea class="form-control shadow-sm rounded-4" id="form-comment" rows="4" minlength="1" maxlength="1000" placeholder="Tulis Ucapan dan Doa" autocomplete="off" data-offline-disabled="false"></textarea>
</div>

<div class="d-grid">
<button class="btn btn-primary btn-sm rounded-4 shadow m-1" onclick="undangan.comment.send(this)" data-offline-disabled="false">
<i class="fa-solid fa-paper-plane me-1"></i>Send
<i class="fa-solid fa-paper-plane me-2"></i>Send
</button>
</div>
</div>
Expand Down
4 changes: 1 addition & 3 deletions js/app/admin/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ export const auth = (() => {
/**
* @returns {ReturnType<typeof storage>|null}
*/
const getUserStorage = () => {
return user;
};
const getUserStorage = () => user;

/**
* @returns {void}
Expand Down

0 comments on commit b8d7ba2

Please sign in to comment.