-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
935c7ff
commit 3e253a8
Showing
2 changed files
with
25 additions
and
10 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
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,6 +1,7 @@ | ||
--- | ||
import Bootstrap from "../layouts/Bootstrap.astro"; | ||
import Form from "../components/Form.astro"; | ||
import bootstrap from "bootstrap"; | ||
--- | ||
|
||
<Bootstrap title="Index" theme="dark"> | ||
|
@@ -218,7 +219,8 @@ import Form from "../components/Form.astro"; | |
</div> | ||
</div> | ||
|
||
<div class="toast-container position-fixed top-0 end-0 p-3"> | ||
<div | ||
class="toast-container position-fixed top-0 end-0 p-3"> | ||
<div | ||
id="liveToast" | ||
class="toast" | ||
|
@@ -294,7 +296,16 @@ import Form from "../components/Form.astro"; | |
<div class="card-body"><Form /></div> | ||
</div> | ||
|
||
<script is:inline> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"@popperjs/core": "https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/esm/popper.min.js", | ||
"bootstrap": "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.esm.min.js" | ||
} | ||
} | ||
</script> | ||
|
||
<script type="module"> | ||
const toastTrigger = document.getElementById("liveToastBtn"); | ||
const toastLiveExample = document.getElementById("liveToast"); | ||
|
||
|