atri.dad/pages/projects.go

56 lines
1.6 KiB
Go
Raw Normal View History

2023-05-18 20:04:55 -06:00
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{
2025-01-26 20:49:52 -06:00
{
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",
},
2023-05-18 20:04:55 -06:00
{
2024-04-09 11:32:15 -06:00
Name: "Pollo",
Description: "A dead-simple real-time voting tool.",
2024-09-23 00:54:50 -06:00
Tags: []string{"golang", "htmx", "product"},
2024-11-23 01:32:43 -06:00
Href: "https://git.atri.dad/atridad/pollo",
2023-05-18 20:04:55 -06:00
},
{
2024-04-01 11:42:47 -06:00
Name: "GOTH Stack",
Description: "🚀 A Web Application Template Powered by HTMX + Go + Tailwind 🚀",
2023-05-18 20:04:55 -06:00
Tags: []string{"golang", "htmx", "template"},
2024-11-23 01:32:43 -06:00
Href: "https://git.atri.dad/atridad/goth.stack",
2023-05-18 20:04:55 -06:00
},
{
Name: "Himbot",
Description: "A discord bot written in Go. Loosly named after my username online (HimbothySwaggins).",
Tags: []string{"golang", "bot"},
2024-11-23 01:32:43 -06:00
Href: "https://git.atri.dad/atridad/himbot",
2023-05-18 20:04:55 -06:00
},
{
Name: "loadr",
Description: "A lightweight REST load testing tool with robust support for different verbs, token auth, and performance reports.",
Tags: []string{"golang", "cli"},
2024-11-23 01:32:43 -06:00
Href: "https://git.atri.dad/atridad/loadr",
2023-05-18 20:04:55 -06:00
},
}
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)
}