Skip to content

Commit

Permalink
feat: implement authentication views
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Oct 7, 2024
1 parent dba9a11 commit 2d5cb7e
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 343 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package register
package auth

import (
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/pkg/nebula/global/styles"
"github.com/onsonr/sonr/pkg/nebula/global/ui"
"github.com/onsonr/sonr/pkg/nebula/components/auth/forms"
)

templ Modal(c echo.Context) {
Expand Down Expand Up @@ -47,7 +48,7 @@ templ Modal(c echo.Context) {
<p>Enter your account information below to create your account.</p>
</div>
@ui.Breadcrumbs()
@basicInfoForm()
@forms.ProfileDetailsForm()
@styles.Spacer()
<div class="flex flex-col-reverse sm:flex-row sm:justify-between sm:space-x-2">
<button @click="modalOpen=false" type="button" class="inline-flex items-center justify-center h-10 px-4 py-2 text-sm font-medium transition-colors border rounded-md focus:outline-none focus:ring-2 focus:ring-neutral-100 focus:ring-offset-2">Cancel</button>
Expand Down

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

File renamed without changes.
File renamed without changes.
73 changes: 0 additions & 73 deletions pkg/nebula/components/login/modal.templ

This file was deleted.

42 changes: 0 additions & 42 deletions pkg/nebula/components/login/modal_templ.go

This file was deleted.

21 changes: 0 additions & 21 deletions pkg/nebula/components/login/view.templ

This file was deleted.

Loading

0 comments on commit 2d5cb7e

Please sign in to comment.