add:dotfiles page

This commit is contained in:
kokopi-dev
2026-03-10 05:13:44 +09:00
parent 7c46f8f8ee
commit 63699c2450
13 changed files with 373 additions and 294 deletions

16
main.go
View File

@@ -27,13 +27,19 @@ func setupRoutesAndMiddleware() *gin.Engine {
{
Url: "https://derrickgee.dev/projects/support-ticket-demo",
Name: "Support Ticket System",
Description: "",
Description: "A sample of a robust support ticket system with the option to OAuth for database access. Authenticated users will be able to see other user created tickets. Guest mode will store tickets locally in your browser.",
HostedOn: "Home Server",
LinkGitea: "https://git.kokopi.dev/kokopi/personal-support-ticket-system",
LinkGithub: "https://github.com/kokopi-dev/personal-support-ticket-system",
TechTags: []string{"typescript", "react", "fastify", "tailwindcss", "sqlite", "vite", "bun"},
},
{
Url: "/projects/dotfiles",
Name: "Linux Dotfiles",
Description: "Configurations for Linux",
HostedOn: "",
LinkGitea: "https://git.kokopi.dev/kokopi/dotfiles",
LinkGithub: "https://github.com/kokopi-dev/dotfiles",
TechTags: []string{"Linux", "Lua", "Bash", "Python"},
},
}
@@ -41,10 +47,10 @@ func setupRoutesAndMiddleware() *gin.Engine {
page := pages.ProjectPage(projects)
page.Render(c.Request.Context(), c.Writer)
})
// r.GET("/projects/dotfiles", func(c *gin.Context) {
// page := pages.Dotfiles()
// page.Render(c.Request.Context(), c.Writer)
// })
r.GET("/projects/dotfiles", func(c *gin.Context) {
page := pages.Dotfiles()
page.Render(c.Request.Context(), c.Writer)
})
r.NoRoute(handlers.NotFoundHandler)
return r
}