feat: Implement service worker for IPFS vault

This commit is contained in:
Prad Nukala
2024-10-07 20:13:38 -04:00
parent fa7b11198e
commit c608a067ed
34 changed files with 740 additions and 758 deletions
+8 -7
View File
@@ -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 }"