Moved testimonials to S3

This commit is contained in:
2024-08-05 12:40:07 -06:00
parent 7cd6afc46c
commit 241a793d0e
13 changed files with 93 additions and 30 deletions

View File

@ -10,17 +10,7 @@ type TestimonialsProps struct {
}
func Testimonials(c echo.Context) error {
images := []string{
"/public/img/testimonials/1.png",
"/public/img/testimonials/2.png",
"/public/img/testimonials/3.png",
"/public/img/testimonials/4.png",
"/public/img/testimonials/5.png",
"/public/img/testimonials/6.png",
"/public/img/testimonials/7.png",
"/public/img/testimonials/8.png",
"/public/img/testimonials/9.png",
}
images := lib.GeneratePublicURLsFromDirectory("testimonials/")
props := TestimonialsProps{
Images: images,