mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
34 lines
884 B
Templ
34 lines
884 B
Templ
package views
|
|||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/labstack/echo/v4"
|
||
|
|
"github.com/onsonr/sonr/internal/gui/elements"
|
||
|
|
)
|
||
|
|
|
||
|
|
func RegisterView(c echo.Context) error {
|
||
|
|
return echoComponentResponse(c, renderRegisterView())
|
||
|
|
}
|
||
|
|
|
||
|
|
templ renderRegisterView() {
|
||
|
|
@elements.Layout("Register | Sonr.ID") {
|
||
|
|
@elements.Card(elements.SizeMedium) {
|
||
|
|
@elements.Text("Sonr.ID", elements.TextSizeLarge, elements.TextStyleHeading)
|
||
|
|
@elements.Text("Neo-tree is a file manager for NeoFS.", elements.TextSizeMedium, elements.TextStyleParagraph)
|
||
|
|
}
|
||
|
|
@elements.Card(elements.SizeMedium) {
|
||
|
|
<h1>Welcome to Neo-tree</h1>
|
||
|
|
<p>Neo-tree is a file manager for NeoFS.</p>
|
||
|
|
}
|
||
|
|
@elements.Card(elements.SizeMedium) {
|
||
|
|
<div class="container">
|
||
|
|
<div class="row">
|
||
|
|
<div class="col-md-12">
|
||
|
|
<h1>Welcome to Neo-tree</h1>
|
||
|
|
<p>Neo-tree is a file manager for NeoFS.</p>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|