newsbot-portal/internal/handlers/home.go

16 lines
344 B
Go
Raw Normal View History

2024-05-11 09:56:19 -07:00
package handlers
import (
"net/http"
"git.jamestombleson.com/jtom38/newsbot-portal/internal/views/home"
"github.com/labstack/echo/v4"
)
func (h *Handler) HomeIndex(c echo.Context) error {
return Render(c, http.StatusOK, home.Index())
2024-05-12 09:22:47 -07:00
}
func (h *Handler) HomeAbout(c echo.Context) error {
return Render(c, http.StatusOK, home.About())
2024-05-11 09:56:19 -07:00
}