Skip to content

Commit 2d605bc

Browse files
committed
feat: update fontawesome
1 parent aed7128 commit 2d605bc

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Untuk kamu yang ingin mencoba secara gratis:
4949

5050
- Bootstrap 5.3.8
5151
- AOS 2.3.4
52-
- Fontawesome 7.0.0
52+
- Fontawesome 7.0.1
5353
- Canvas Confetti 1.9.3
5454
- Google Fonts
5555
- Vanilla JS

dashboard.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
<!-- Preload Resources -->
3030
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap" as="style">
3131
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" integrity="sha256-2FMn2Zx6PuH5tdBQDRNwrOo60ts5wWPC9R8jK67b3t4=" crossorigin="anonymous" as="style">
32-
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.0/css/all.min.css" integrity="sha256-VHqXKFhhMxcpubYf9xiWdCiojEbY9NexQ4jh8AxbvcM=" crossorigin="anonymous" as="style">
32+
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.1/css/all.min.css" integrity="sha256-9sWQSWbvKc7NvB2NhyQKwP1ZVTLbZHUUPg4iCSTGiNA=" crossorigin="anonymous" as="style">
3333
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js" integrity="sha256-5P1JGBOIxI7FBAvT/mb1fCnI5n/NhQKzNUuW7Hq0fMc=" crossorigin="anonymous" as="script">
3434

3535
<!-- Font -->
3636
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap">
3737

3838
<!-- Dependencies CSS -->
3939
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" integrity="sha256-2FMn2Zx6PuH5tdBQDRNwrOo60ts5wWPC9R8jK67b3t4=" crossorigin="anonymous">
40-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.0/css/all.min.css" integrity="sha256-VHqXKFhhMxcpubYf9xiWdCiojEbY9NexQ4jh8AxbvcM=" crossorigin="anonymous">
40+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.1/css/all.min.css" integrity="sha256-9sWQSWbvKc7NvB2NhyQKwP1ZVTLbZHUUPg4iCSTGiNA=" crossorigin="anonymous">
4141
<link rel="stylesheet" href="./css/admin.css">
4242

4343
<!-- Dependencies JS -->

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@
5151
<!-- Preload Resources -->
5252
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap" as="style">
5353
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" integrity="sha256-2FMn2Zx6PuH5tdBQDRNwrOo60ts5wWPC9R8jK67b3t4=" crossorigin="anonymous" as="style">
54-
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.0/css/all.min.css" integrity="sha256-VHqXKFhhMxcpubYf9xiWdCiojEbY9NexQ4jh8AxbvcM=" crossorigin="anonymous" as="style">
54+
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.1/css/all.min.css" integrity="sha256-9sWQSWbvKc7NvB2NhyQKwP1ZVTLbZHUUPg4iCSTGiNA=" crossorigin="anonymous" as="style">
5555
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js" integrity="sha256-5P1JGBOIxI7FBAvT/mb1fCnI5n/NhQKzNUuW7Hq0fMc=" crossorigin="anonymous" as="script">
5656

5757
<!-- Font -->
5858
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap">
5959

6060
<!-- Dependencies CSS -->
6161
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" integrity="sha256-2FMn2Zx6PuH5tdBQDRNwrOo60ts5wWPC9R8jK67b3t4=" crossorigin="anonymous">
62-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.0/css/all.min.css" integrity="sha256-VHqXKFhhMxcpubYf9xiWdCiojEbY9NexQ4jh8AxbvcM=" crossorigin="anonymous">
62+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.1/css/all.min.css" integrity="sha256-9sWQSWbvKc7NvB2NhyQKwP1ZVTLbZHUUPg4iCSTGiNA=" crossorigin="anonymous">
6363
<link rel="stylesheet" href="./css/guest.css">
6464

6565
<!-- Dependencies JS -->
@@ -655,7 +655,7 @@ <h2 class="font-arabic pt-4" style="font-size: 2rem;">اَلْحَمْدُ لِ
655655
</div>
656656

657657
<!-- Welcome Page -->
658-
<div class="loading-page bg-white-black" id="welcome" style="opacity: 1;">
658+
<div class="loading-page bg-white-black" id="welcome" style="opacity: 0;">
659659
<div class="d-flex justify-content-center align-items-center vh-100 overflow-y-auto">
660660
<div class="d-flex flex-column text-center">
661661
<h2 class="font-esthetic mb-4" style="font-size: 2.25rem;">The Wedding Of</h2>
@@ -712,13 +712,13 @@ <h2 class="font-esthetic mb-4" style="font-size: 2.25rem;">Wahyu &amp; Riski</h2
712712
<div class="modal-body p-0">
713713
<div class="d-flex position-absolute top-0 end-0">
714714
<a class="btn d-flex justify-content-center align-items-center bg-overlay-auto p-2 m-1 rounded-circle border shadow-sm z-1" role="button" target="_blank" href="./assets/images/placeholder.webp" id="button-modal-click">
715-
<i class="fa-solid fa-arrow-up-right-from-square"></i>
715+
<i class="fa-solid fa-arrow-up-right-from-square" style="width: 1em !important;"></i>
716716
</a>
717717
<button class="btn d-flex justify-content-center align-items-center bg-overlay-auto p-2 m-1 rounded-circle border shadow-sm z-1" id="button-modal-download">
718-
<i class="fa-solid fa-download"></i>
718+
<i class="fa-solid fa-download" style="width: 1em !important;"></i>
719719
</button>
720720
<button class="btn d-flex justify-content-center align-items-center bg-overlay-auto p-2 m-1 rounded-circle border shadow-sm z-1" data-bs-dismiss="modal">
721-
<i class="fa-solid fa-circle-xmark"></i>
721+
<i class="fa-solid fa-circle-xmark" style="width: 1em !important;"></i>
722722
</button>
723723
</div>
724724

js/app/guest/guest.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@ export const guest = (() => {
305305
document.getElementById('information')?.remove();
306306
}
307307

308+
// wait until welcome screen is show.
309+
await util.changeOpacity(document.getElementById('welcome'), true);
310+
308311
// remove loading screen and show welcome screen.
309312
await util.changeOpacity(document.getElementById('loading'), false).then((el) => el.remove());
310313
};

0 commit comments

Comments
 (0)