mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-05 02:41:41 +00:00
feat: Implement service worker for IPFS vault
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
package styles
|
||||
|
||||
import "github.com/onsonr/sonr/pkg/nebula/global/cdn"
|
||||
|
||||
templ Layout(title string, remote bool) {
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@Alpine(remote)
|
||||
@Htmx(remote)
|
||||
@Styles(remote)
|
||||
@cdn.Alpine()
|
||||
@cdn.Htmx()
|
||||
@cdn.Styles()
|
||||
<meta charset="UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
@@ -28,9 +30,9 @@ templ LayoutNoBody(title string, remote bool) {
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@Alpine(remote)
|
||||
@Htmx(remote)
|
||||
@Styles(remote)
|
||||
@cdn.Alpine()
|
||||
@cdn.Htmx()
|
||||
@cdn.Styles()
|
||||
<meta charset="UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
@@ -50,7 +52,6 @@ templ LayoutNoBody(title string, remote bool) {
|
||||
</html>
|
||||
}
|
||||
|
||||
|
||||
templ OpenModal(title, description string) {
|
||||
<div
|
||||
x-data="{ modalOpen: true }"
|
||||
|
||||
Reference in New Issue
Block a user