2024-09-14 02:52:41 +00:00
|
|
|
package partials
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/gofiber/fiber/v2"
|
|
|
|
|
"github.com/maddalax/htmgo/framework/h"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func SamplePartial(ctx *fiber.Ctx) *h.Partial {
|
2024-09-16 22:41:46 +00:00
|
|
|
return h.NewPartial(h.Div(h.P(h.Text(" asdas"))))
|
2024-09-14 02:52:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewPartial(ctx *fiber.Ctx) *h.Partial {
|
2024-09-16 22:41:46 +00:00
|
|
|
return h.NewPartial(h.Div(h.P(h.Text("This sadsl."))))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewPartial2(ctx *fiber.Ctx) *h.Partial {
|
|
|
|
|
return h.NewPartial(h.Div(h.P(h.Text("This sasdsadasdwl."))))
|
2024-09-14 02:52:41 +00:00
|
|
|
}
|