Skip to content

Commit

Permalink
feat: improve ui
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Nov 10, 2024
1 parent 1431a95 commit 70da86f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,14 +372,14 @@ <h6 class="fw-bold m-0 p-0" id="count-like">
<form>
<div class="mb-3">
<label for="loginEmail" class="form-label"><i class="fa-solid fa-envelope me-1"></i>Email</label>
<input type="email" class="form-control rounded-4" id="loginEmail" required autocomplete="email">
<input type="email" class="form-control shadow-sm rounded-4" id="loginEmail" required autocomplete="email">
</div>
<div class="mb-3">
<label for="loginPassword" class="form-label"><i class="fa-solid fa-lock me-1"></i>Password</label>
<input type="password" class="form-control rounded-4" id="loginPassword" required autocomplete="current-password">
<input type="password" class="form-control shadow-sm rounded-4" id="loginPassword" required autocomplete="current-password">
</div>
<div class="d-grid">
<button type="submit" class="btn btn-primary rounded-4" onclick="admin.login(this)"><i class="fa-solid fa-right-to-bracket me-1"></i>Login</button>
<button type="submit" class="btn btn-primary shadow-sm rounded-4" onclick="admin.login(this)"><i class="fa-solid fa-right-to-bracket me-1"></i>Login</button>
</div>
</form>
</div>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
</nav>

<!-- Main Content -->
<main class="bg-dark text-light" data-bs-spy="scroll" data-bs-target="#navbar-menu" data-bs-root-margin="0px 0px -40%" data-bs-smooth-scroll="true" tabindex="0">
<main class="bg-dark text-light" data-bs-spy="scroll" data-bs-target="#navbar-menu" data-bs-root-margin="0px 0px -10%" data-bs-smooth-scroll="true" tabindex="0">

<!-- Home -->
<section id="home" class="position-relative overflow-hidden p-0 m-0">
Expand Down Expand Up @@ -560,7 +560,7 @@ <h2 class="font-esthetic mb-4" style="font-size: 2.5rem;">The Wedding Of</h2>
<h2 class="font-esthetic mb-4" style="font-size: 2.5rem;">Wahyu &amp; Riski</h2>
<div id="guest-name" data-message="Kepada Yth Bapak/Ibu/Saudara/i"></div>

<button type="button" class="btn btn-light shadow rounded-4 mt-4" onclick="guest.open(this)"><i class="fa-solid fa-envelope-open me-2"></i>Open Invitation</button>
<button type="button" class="btn btn-light shadow rounded-4 mt-3" onclick="guest.open(this)"><i class="fa-solid fa-envelope-open me-2"></i>Open Invitation</button>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion js/guest.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const guest = (() => {
} else {
const div = document.createElement('div');
div.classList.add('m-2');
div.innerHTML = `<p class="mt-0 mb-1 mx-0 p-0" style="font-size: 0.95rem;">${guest.getAttribute('data-message')}</p><h2>${util.escapeHtml(name)}</h2>`;
div.innerHTML = `<p class="mt-0 mb-1 mx-0 p-0" style="font-size: 0.95rem;">${guest.getAttribute('data-message')}</p><h2 class="m-0 p-0">${util.escapeHtml(name)}</h2>`;
guest.appendChild(div);
}

Expand Down

0 comments on commit 70da86f

Please sign in to comment.