All checks were successful
Docker Deploy / build-and-push (push) Successful in 1m0s
55 lines
1.6 KiB
Go
55 lines
1.6 KiB
Go
package pages
|
|
|
|
import (
|
|
"atri.dad/lib"
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
type ProjectProps struct {
|
|
Projects []lib.CardLink
|
|
}
|
|
|
|
func Projects(c echo.Context) error {
|
|
projects := []lib.CardLink{
|
|
{
|
|
Name: "BlueSky PDS Manager",
|
|
Description: "A web-based BlueSky PDS Manager. Manage your invite codes and users with a simple web UI.",
|
|
Tags: []string{"astro", "atproto"},
|
|
Href: "https://pdsman.atri.dad",
|
|
},
|
|
{
|
|
Name: "Pollo",
|
|
Description: "A dead-simple real-time voting tool.",
|
|
Tags: []string{"golang", "htmx", "product"},
|
|
Href: "https://git.atri.dad/atridad/pollo",
|
|
},
|
|
{
|
|
Name: "GOTH Stack",
|
|
Description: "🚀 A Web Application Template Powered by HTMX + Go + Tailwind 🚀",
|
|
Tags: []string{"golang", "htmx", "template"},
|
|
Href: "https://git.atri.dad/atridad/goth.stack",
|
|
},
|
|
{
|
|
Name: "Himbot",
|
|
Description: "A discord bot written in Go. Loosly named after my username online (HimbothySwaggins).",
|
|
Tags: []string{"golang", "bot"},
|
|
Href: "https://git.atri.dad/atridad/himbot",
|
|
},
|
|
{
|
|
Name: "loadr",
|
|
Description: "A lightweight REST load testing tool with robust support for different verbs, token auth, and performance reports.",
|
|
Tags: []string{"golang", "cli"},
|
|
Href: "https://git.atri.dad/atridad/loadr",
|
|
},
|
|
}
|
|
|
|
props := ProjectProps{
|
|
Projects: projects,
|
|
}
|
|
|
|
// Specify the partials used by this page
|
|
partials := []string{"header", "navitems", "cardlinks"}
|
|
|
|
// Render the template
|
|
return lib.RenderTemplate(c.Response().Writer, "base", partials, props)
|
|
}
|