File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed
src/components/platformFilter Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -116,17 +116,15 @@ function PlatformWithGuides({
116116 >
117117 < Collapsible . Trigger asChild className = { classNames ( styles . CollapsibleTrigger ) } >
118118 < div >
119- < Link href = { platform . url } key = { platform . key } >
120- < div className = { styles . PlatformTitle } >
121- < PlatformIcon
122- size = { 20 }
123- platform = { platform . icon ?? platform . key }
124- format = "lg"
125- className = { styles . PlatformIcon }
126- />
127- { platform . title }
128- </ div >
129- </ Link >
119+ < div className = { styles . PlatformTitle } key = { platform . key } >
120+ < PlatformIcon
121+ size = { 20 }
122+ platform = { platform . icon ?? platform . key }
123+ format = "lg"
124+ className = { styles . PlatformIcon }
125+ />
126+ { platform . title }
127+ </ div >
130128 < button className = { styles . ChevronButton } >
131129 < TriangleRightIcon
132130 className = { styles . CollapsibleChevron }
@@ -142,7 +140,7 @@ function PlatformWithGuides({
142140 // scrollable if there are more than 8 (arbitrary limit) guides
143141 data-scrollable = { platform . guides . length >= 8 || platform . integrations . length >= 8 }
144142 >
145- { platform . guides . map ( ( guide , i ) => (
143+ { [ platform , ... platform . guides ] . map ( ( guide , i ) => (
146144 < Link href = { guide . url } key = { guide . key } >
147145 < div
148146 className = { styles . Guide }
Original file line number Diff line number Diff line change 4444}
4545
4646.CollapsibleTrigger {
47+ cursor : pointer ;
4748 padding-right : 0.5rem ;
4849 padding-left : 0.5rem ;
4950 flex : 1 ;
You can’t perform that action at this time.
0 commit comments