@@ -72,13 +72,47 @@ extension ExploreTabContent.Item {
7272 imageURL: URL ( string: " https://wwdc.io/images/placeholder.jpg " ) !
7373 )
7474 ]
75+ static let placeholderItems2 : [ ExploreTabContent . Item ] = [
76+ . init(
77+ id: " 4 " ,
78+ title: " Placeholder Item Regular " ,
79+ subtitle: " Placeholder Description 4 " ,
80+ overlayText: " 24m " ,
81+ overlaySymbol: " play " ,
82+ imageURL: URL ( string: " https://wwdc.io/images/placeholder.jpg " ) !
83+ ) ,
84+ . init(
85+ id: " 5 " ,
86+ title: " Placeholder " ,
87+ subtitle: " Placeholder Item Description 5 " ,
88+ overlayText: " 37m " ,
89+ overlaySymbol: " play " ,
90+ imageURL: URL ( string: " https://wwdc.io/images/placeholder.jpg " ) !
91+ ) ,
92+ . init(
93+ id: " 6 " ,
94+ title: " Placeholder Item Longer Title " ,
95+ subtitle: " Placeholder Item Description 6 " ,
96+ overlayText: " 37m " ,
97+ overlaySymbol: " play " ,
98+ imageURL: URL ( string: " https://wwdc.io/images/placeholder.jpg " ) !
99+ ) ,
100+ . init(
101+ id: " 7 " ,
102+ title: " Placeholder " ,
103+ subtitle: " Item Description 7 " ,
104+ overlayText: " 35m " ,
105+ overlaySymbol: " play " ,
106+ imageURL: URL ( string: " https://wwdc.io/images/placeholder.jpg " ) !
107+ )
108+ ]
75109}
76110
77111extension ExploreTabContent {
78112 static let placeholder : ExploreTabContent = {
79113 ExploreTabContent ( id: " 1 " , sections: [
80114 Section ( id: " placeholder-1 " , title: " Placeholder Section First " , icon: . symbol( " app.badge.checkmark " ) , items: ExploreTabContent . Item. placeholderItems) ,
81- Section ( id: " placeholder-2 " , title: " Placeholder Section Second Longer Title " , icon: . symbol( " app.badge.checkmark " ) , items: ExploreTabContent . Item. placeholderItems ) ,
115+ Section ( id: " placeholder-2 " , title: " Placeholder Section Second Longer Title " , icon: . symbol( " app.badge.checkmark " ) , items: ExploreTabContent . Item. placeholderItems2 ) ,
82116 Section ( id: " placeholder-3 " , title: " Placeholder Short " , icon: . symbol( " app.badge.checkmark " ) , items: ExploreTabContent . Item. placeholderItems)
83117 ] )
84118 } ( )
0 commit comments