Skip to content

Commit

Permalink
Using all videos for compton test page
Browse files Browse the repository at this point in the history
  • Loading branch information
boggydigital committed Dec 19, 2024
1 parent 211aed9 commit 54d28f5
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions rest/get_compton.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"github.com/boggydigital/compton"
"github.com/boggydigital/compton/consts/direction"
"github.com/boggydigital/nod"
"github.com/boggydigital/yet/data"
"github.com/boggydigital/yet/rest/compton_elements"
"net/http"
)
Expand All @@ -12,16 +13,7 @@ func GetCompton(w http.ResponseWriter, r *http.Request) {

p := compton.Page("compton test area")

videoIds := []string{
"yn7kUDRVcVM",
"ANyJVMhOpkk",
"jwVEhEPK9dI",
"KuCRvr6R8Lc",
"xF8huW3imyk",
"b8I4SsQTqaY",
"KVUHtsxNFyM",
"la0NtENnuf8",
}
videoIds := rdx.Keys(data.VideoTitleProperty)

pageStack := compton.FlexItems(p, direction.Column)
p.Append(pageStack)
Expand Down

0 comments on commit 54d28f5

Please sign in to comment.