File tree Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change 11import Image from 'next/image' ;
2- import Link from 'next/link' ;
32
43import { ExternalLink } from '../externalLink' ;
54
@@ -110,31 +109,24 @@ const CommunityPlatforms = [
110109
111110export function CommunitySupportedPlatforms ( ) {
112111 return (
113- < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4" >
112+ < ul className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4" >
114113 { CommunityPlatforms . map ( platform => (
115- < Link
116- href = { platform . url }
117- key = { platform . name }
118- style = { {
119- textDecoration : 'none' ,
120- color : 'var(--foreground) !important' ,
121- } }
122- >
123- < div className = "flex gap-2 items-center" >
114+ < li key = { platform . name } style = { { listStyle : 'none' , padding : '0' , margin : '0' } } >
115+ < ExternalLink
116+ href = { platform . url }
117+ className = "flex gap-2 items-center !no-underline"
118+ >
124119 < Image
125120 src = { platform . icon . src }
126121 width = { 20 }
127122 height = { 20 }
128123 alt = { platform . name }
129124 className = "!border-none !shadow-none"
130125 />
131- < div className = "flex space-x-1" >
132- < span className = "text-[var(--accent)]" > { platform . name } </ span >
133- < ExternalLink href = { platform . url } />
134- </ div >
135- </ div >
136- </ Link >
126+ < span className = "text-[var(--accent)]" > { platform . name } </ span >
127+ </ ExternalLink >
128+ </ li >
137129 ) ) }
138- </ div >
130+ </ ul >
139131 ) ;
140132}
You can’t perform that action at this time.
0 commit comments