Updating to latest pagoda release

This commit is contained in:
Cam Zalewski 2026-05-20 08:00:26 +00:00
parent 05cf6c8318
commit 4d5d45d1a4
111 changed files with 358 additions and 1535 deletions

View file

@ -4,7 +4,7 @@ import (
"bytes"
"sync"
"github.com/mikestefanello/pagoda/pkg/log"
"github.com/camzawacki/personal-site/pkg/log"
"maragu.dev/gomponents"
)

View file

@ -1,9 +1,9 @@
package components
import (
"github.com/mikestefanello/pagoda/pkg/msg"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/mikestefanello/pagoda/pkg/ui/icons"
"github.com/camzawacki/personal-site/pkg/msg"
"github.com/camzawacki/personal-site/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui/icons"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -1,8 +1,8 @@
package components
import (
"github.com/mikestefanello/pagoda/pkg/form"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/camzawacki/personal-site/pkg/form"
"github.com/camzawacki/personal-site/pkg/ui"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,7 +3,7 @@ package components
import (
"strings"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,7 +3,7 @@ package components
import (
"fmt"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,8 +3,8 @@ package components
import (
"fmt"
"github.com/mikestefanello/pagoda/pkg/pager"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/camzawacki/personal-site/pkg/pager"
"github.com/camzawacki/personal-site/pkg/ui"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/components"
. "maragu.dev/gomponents/html"

View file

@ -2,8 +2,8 @@ package emails
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -5,10 +5,10 @@ import (
"net/url"
"entgo.io/ent/schema/field"
"github.com/mikestefanello/pagoda/ent/admin"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/ent/admin"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,10 +3,10 @@ package forms
import (
"net/http"
"github.com/mikestefanello/pagoda/ent/admin"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/ent/admin"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,10 +3,10 @@ package forms
import (
"net/http"
"github.com/mikestefanello/pagoda/pkg/form"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,10 +3,10 @@ package forms
import (
"net/http"
"github.com/mikestefanello/pagoda/pkg/form"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,9 +3,9 @@ package forms
import (
"net/http"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,10 +3,10 @@ package forms
import (
"net/http"
"github.com/mikestefanello/pagoda/pkg/form"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,10 +3,10 @@ package forms
import (
"net/http"
"github.com/mikestefanello/pagoda/pkg/form"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,10 +3,10 @@ package forms
import (
"net/http"
"github.com/mikestefanello/pagoda/pkg/form"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,9 +3,9 @@ package forms
import (
"net/http"
"github.com/mikestefanello/pagoda/pkg/form"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/form"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -4,10 +4,10 @@ import (
"fmt"
"net/http"
"github.com/mikestefanello/pagoda/pkg/form"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,7 +3,7 @@ package icons
import (
"fmt"
"github.com/mikestefanello/pagoda/pkg/ui/cache"
"github.com/camzawacki/personal-site/pkg/ui/cache"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -1,8 +1,8 @@
package layouts
import (
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -1,12 +1,12 @@
package layouts
import (
"github.com/mikestefanello/pagoda/ent/admin"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/mikestefanello/pagoda/pkg/ui/cache"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/mikestefanello/pagoda/pkg/ui/icons"
"github.com/camzawacki/personal-site/ent/admin"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui/cache"
. "github.com/camzawacki/personal-site/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/ui/icons"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -3,9 +3,9 @@ package models
import (
"fmt"
"github.com/mikestefanello/pagoda/pkg/pager"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/pager"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -2,10 +2,10 @@ package pages
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/mikestefanello/pagoda/pkg/ui/cache"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/camzawacki/personal-site/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui/cache"
. "github.com/camzawacki/personal-site/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -5,12 +5,12 @@ import (
"net/url"
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/ent/admin"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/camzawacki/personal-site/ent/admin"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -2,9 +2,9 @@ package pages
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/camzawacki/personal-site/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -2,9 +2,9 @@ package pages
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/camzawacki/personal-site/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
)
func UpdateCache(ctx echo.Context, form *forms.Cache) error {

View file

@ -2,10 +2,10 @@ package pages
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -4,9 +4,9 @@ import (
"net/http"
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -2,11 +2,11 @@ package pages
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/mikestefanello/pagoda/pkg/ui/models"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
"github.com/camzawacki/personal-site/pkg/ui/models"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -2,12 +2,12 @@ package pages
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/mikestefanello/pagoda/pkg/ui/icons"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/mikestefanello/pagoda/pkg/ui/models"
"github.com/camzawacki/personal-site/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/ui/icons"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
"github.com/camzawacki/personal-site/pkg/ui/models"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)
@ -89,7 +89,7 @@ func Home(ctx echo.Context, posts *models.Posts) error {
Text("Have you read through the entire documentation? If not, you may be missing functionality or have questions. "),
},
Footer: Group{
ButtonLink(ColorNeutral, "https://github.com/mikestefanello/pagoda?tab=readme-ov-file#table-of-contents", "Learn more"),
ButtonLink(ColorNeutral, "https://github.com/camzawacki/personal-site?tab=readme-ov-file#table-of-contents", "Learn more"),
},
Color: ColorNeutral,
Size: SizeSmall,

View file

@ -2,9 +2,9 @@ package pages
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/ui"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/mikestefanello/pagoda/pkg/ui/models"
"github.com/camzawacki/personal-site/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
"github.com/camzawacki/personal-site/pkg/ui/models"
. "maragu.dev/gomponents"
)

View file

@ -2,10 +2,10 @@ package pages
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/mikestefanello/pagoda/pkg/ui/layouts"
"github.com/camzawacki/personal-site/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/layouts"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)

View file

@ -2,10 +2,10 @@ package ui
import (
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/config"
"github.com/mikestefanello/pagoda/ent"
"github.com/mikestefanello/pagoda/pkg/context"
"github.com/mikestefanello/pagoda/pkg/htmx"
"github.com/camzawacki/personal-site/config"
"github.com/camzawacki/personal-site/ent"
"github.com/camzawacki/personal-site/pkg/context"
"github.com/camzawacki/personal-site/pkg/htmx"
"maragu.dev/gomponents"
)

View file

@ -4,11 +4,11 @@ import (
"testing"
"github.com/labstack/echo/v4"
"github.com/mikestefanello/pagoda/config"
"github.com/mikestefanello/pagoda/ent"
"github.com/mikestefanello/pagoda/pkg/context"
"github.com/mikestefanello/pagoda/pkg/htmx"
"github.com/mikestefanello/pagoda/pkg/tests"
"github.com/camzawacki/personal-site/config"
"github.com/camzawacki/personal-site/ent"
"github.com/camzawacki/personal-site/pkg/context"
"github.com/camzawacki/personal-site/pkg/htmx"
"github.com/camzawacki/personal-site/pkg/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"maragu.dev/gomponents"