landing page templ & slick library

This commit is contained in:
Sas Andy
2024-04-29 10:10:24 +07:00
parent 99d7fd5159
commit d8e8f91fbd
41 changed files with 5957 additions and 13 deletions

View File

@@ -46,6 +46,14 @@ func main() {
xh := handlers.NewXsampleHandler(xs)
handlers.SetupRoutesXsample(app, xh)
LpStore, err := db.NewLandingPageStore(dbName)
if err != nil {
app.Logger.Fatalf("failed to create store: %s", err)
}
lps := services.NewServicesLandingPage(services.LandingPage{}, LpStore)
lphs := handlers.NewLandingPageHandler(lps)
handlers.SetupRoutesLandingPage(app, lphs)
app.Logger.Fatal(app.Start(":5000"))
}