-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(styles): refactor splash screen and update UI components
- Loading branch information
1 parent
33dc9df
commit 9b30e2c
Showing
6 changed files
with
21 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,18 @@ | |
|
||
<body class="ui-cookie"> | ||
|
||
<audio id="splash" preload="auto"> | ||
<source src="./src/audio/start.mp3" type="audio/mp3"></audio> | ||
<audio id="splash" preload="auto"> | ||
<source src="./src/audio/start.mp3" type="audio/mp3"> | ||
</audio> | ||
|
||
<splash-screen> | ||
<div class="d-flex flex-column justify-content-center align-items-center vh-100"> | ||
<img src="https://raw.githubusercontent.com/sebastianjnuwu/app/refs/heads/android/android/app/src/main/res/drawable/splash_screen.png" alt="splash-screen" class="icon mb-5"> | ||
<splash-screen class="d-flex flex-column justify-content-center align-items-center vh-100"> | ||
<img src="https://raw.githubusercontent.com/sebastianjnuwu/app/refs/heads/android/android/app/src/main/res/drawable/splash_screen.png" alt="splash-screen" class="icon mb-5"> | ||
<h1>Click...</h1> | ||
</div> | ||
</splash-screen> | ||
|
||
<ui> | ||
|
||
</ui> | ||
|
||
<script src="./src/js/main.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
import "./res/styles/scss/ui.scss"; | ||
import "./res/plugins/admob.ts"; | ||
import "./res/plugins/push-notifications.ts"; | ||
import "./src/plugins/admob.ts"; | ||
import "./src/plugins/push-notifications.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
$(() => { | ||
|
||
$("splash-screen img").on("click", () => { | ||
$('#splash')[0].play(); | ||
$("splash-screen h1").slideUp() | ||
$("splash-screen").slideUp(5000) | ||
// Splash screen animation | ||
$("splash-screen").on("click", () => { | ||
$("#splash")[0].play(); | ||
|
||
setTimeout(() => { | ||
$("splash-screen").remove(); | ||
}, 1000); | ||
}); | ||
|
||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.