53 lines
2.1 KiB
Plaintext
53 lines
2.1 KiB
Plaintext
package views
|
|
|
|
import "go.fifitido.net/ytdl-web/pkg/components"
|
|
|
|
templ Layout() {
|
|
<!DOCTYPE html>
|
|
<html lang="en" class="h-100">
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<title>YTDL Web</title>
|
|
<link
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
|
|
rel="stylesheet"
|
|
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
|
|
crossorigin="anonymous"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.css"
|
|
integrity="sha256-R91pD48xW+oHbpJYGn5xR0Q7tMhH4xOrWn1QqMRINtA="
|
|
crossorigin="anonymous"
|
|
/>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous" defer></script>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js" defer></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.js" integrity="sha256-Hgwq1OBpJ276HUP9H3VJkSv9ZCGRGQN+JldPJ8pNcUM=" crossorigin="anonymous" defer></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/htmx.org@1.9.4/dist/htmx.min.js" integrity="sha256-XIivRAE99i/eil5P31JNihaDSiix0V40rgmUrCfNTH4=" crossorigin="anonymous"></script>
|
|
<style>
|
|
#toast-container>div {
|
|
-moz-box-shadow: none !important;
|
|
-webkit-box-shadow: none !important;
|
|
box-shadow: none !important;
|
|
-ms-filter: none;
|
|
filter: none;
|
|
opacity: 1;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="d-flex flex-column h-100" data-bs-theme="dark">
|
|
<div class="flex-shrink-0">
|
|
@components.Navbar()
|
|
@templ.Fragment("main-content") {
|
|
<main id="main-content" class="container my-5" hx-target="#main-content" hx-swap="outerHTML">
|
|
{ children... }
|
|
</main>
|
|
}
|
|
</div>
|
|
@components.Footer()
|
|
</body>
|
|
</html>
|
|
}
|