mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
feat: nebula assets served from CDN
This commit is contained in:
@@ -34,6 +34,8 @@ templ Layout(title string, remote bool) {
|
||||
<html lang="en">
|
||||
<head>
|
||||
@cdn.Styles()
|
||||
@cdn.Htmx()
|
||||
@cdn.Alpine()
|
||||
<meta charset="UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
@@ -47,8 +49,6 @@ templ Layout(title string, remote bool) {
|
||||
<main class="flex-row items-center justify-center mx-auto w-fit max-w-screen-sm gap-y-3">
|
||||
{ children... }
|
||||
</main>
|
||||
@cdn.Alpine()
|
||||
@cdn.Htmx()
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
@@ -58,6 +58,8 @@ templ LayoutNoBody(title string, remote bool) {
|
||||
<html lang="en">
|
||||
<head>
|
||||
@cdn.Styles()
|
||||
@cdn.Htmx()
|
||||
@cdn.Alpine()
|
||||
<meta charset="UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
@@ -72,8 +74,6 @@ templ LayoutNoBody(title string, remote bool) {
|
||||
<div class="flex flex-col min-h-screen overflow-hidden supports-[overflow:clip]:overflow-clip">
|
||||
{ children... }
|
||||
</div>
|
||||
@cdn.Alpine()
|
||||
@cdn.Htmx()
|
||||
</body>
|
||||
</main>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user