aboutsummaryrefslogtreecommitdiff
path: root/pages/dashboard/dashboard.go
blob: 823f80209a8071c1faddf8f4b7dca12b7f2b13fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package dashboard

import (
	dashboardService "dove/services/dashboard"
	"dove/utils/meta"
	"dove/utils/shortcuts"

	"github.com/gofiber/fiber/v2"
)

func Overview(context *fiber.Ctx) error {
	meta.SetPageTitle(context, "Overview")
	return shortcuts.Render(context, "dashboard/overview", dashboardService.Overview())
}