Skip to content

Commit

Permalink
refactor: move index template to routes package
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Oct 9, 2024
1 parent a824c23 commit 32563a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions pkg/nebula/global/index.templ → pkg/nebula/routes/index.templ
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package global
package routes

import (
cdn "github.com/onsonr/sonr/pkg/nebula/assets"
"github.com/onsonr/sonr/pkg/nebula/global/state"
"github.com/onsonr/sonr/pkg/nebula/global/styles"
)

templ IndexFile() {
<!DOCTYPE html>
<html lang="en">
<head>
@cdn.Alpine()
@cdn.Htmx()
@cdn.Styles()
@styles.Alpine()
@styles.Htmx()
@styles.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"/>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 32563a5

Please sign in to comment.