mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
refactor: migrate layout imports to common styles package
This commit is contained in:
parent
8ceb89053f
commit
0ff4299061
@ -1,6 +1,7 @@
|
||||
package register
|
||||
|
||||
import (
|
||||
"github.com/onsonr/sonr/pkg/common/styles/forms"
|
||||
"github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
"github.com/onsonr/sonr/pkg/common/styles/text"
|
||||
)
|
||||
|
@ -9,6 +9,7 @@ import "github.com/a-h/templ"
|
||||
import templruntime "github.com/a-h/templ/runtime"
|
||||
|
||||
import (
|
||||
"github.com/onsonr/sonr/pkg/common/styles/forms"
|
||||
"github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
"github.com/onsonr/sonr/pkg/common/styles/text"
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
package dash
|
||||
|
||||
import "github.com/onsonr/sonr/pkg/blocks/layout"
|
||||
import "github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
|
||||
templ ProfileView() {
|
||||
@layout.Root("Sonr.ID") {
|
||||
|
@ -8,7 +8,7 @@ package dash
|
||||
import "github.com/a-h/templ"
|
||||
import templruntime "github.com/a-h/templ/runtime"
|
||||
|
||||
import "github.com/onsonr/sonr/pkg/blocks/layout"
|
||||
import "github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
|
||||
func ProfileView() templ.Component {
|
||||
return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package index
|
||||
|
||||
import "github.com/onsonr/sonr/pkg/blocks/layout"
|
||||
import "github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
|
||||
templ NoWebauthnErrorView() {
|
||||
@layout.Root("Sonr.ID") {
|
||||
|
@ -8,7 +8,7 @@ package index
|
||||
import "github.com/a-h/templ"
|
||||
import templruntime "github.com/a-h/templ/runtime"
|
||||
|
||||
import "github.com/onsonr/sonr/pkg/blocks/layout"
|
||||
import "github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
|
||||
func NoWebauthnErrorView() templ.Component {
|
||||
return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package index
|
||||
|
||||
import "github.com/onsonr/sonr/pkg/blocks/layout"
|
||||
import "github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
|
||||
templ InitialView() {
|
||||
@layout.Root("Sonr.ID") {
|
||||
|
@ -8,7 +8,7 @@ package index
|
||||
import "github.com/a-h/templ"
|
||||
import templruntime "github.com/a-h/templ/runtime"
|
||||
|
||||
import "github.com/onsonr/sonr/pkg/blocks/layout"
|
||||
import "github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
|
||||
func InitialView() templ.Component {
|
||||
return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package wallet
|
||||
|
||||
import "github.com/onsonr/sonr/pkg/blocks/layout"
|
||||
import "github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
|
||||
templ DepositFundsView() {
|
||||
@layout.Root("Sonr.ID") {
|
||||
|
@ -8,7 +8,7 @@ package wallet
|
||||
import "github.com/a-h/templ"
|
||||
import templruntime "github.com/a-h/templ/runtime"
|
||||
|
||||
import "github.com/onsonr/sonr/pkg/blocks/layout"
|
||||
import "github.com/onsonr/sonr/pkg/common/styles/layout"
|
||||
|
||||
func DepositFundsView() templ.Component {
|
||||
return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user