File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 251251 {#if ! statsLoading }
252252 <div class =" stats-section" >
253253 <div class =" stats-container" >
254- <div class =" stat-card" >
254+ <button class ="stat-card" on:click ={() => selectTab ( " models " )} >
255255 <div class ="stat-value" >{modelCount }</div >
256256 <div class =" stat-label" >Models Supported</div >
257- </div >
258- <div class =" stat-card" >
257+ </button >
258+ <button class ="stat-card" on:click ={() => selectTab ( " providers " )} >
259259 <div class ="stat-value" >{providerCount }</div >
260260 <div class =" stat-label" >Providers</div >
261- </div >
262- <div class =" stat-card" >
261+ </button >
262+ <button class ="stat-card" on:click ={() => selectTab ( " providers " )} >
263263 <div class ="stat-value" >{endpointCount }</div >
264264 <div class =" stat-label" >Unique Endpoints</div >
265- </div >
266- <div class =" stat-card" >
265+ </button >
266+ <button class ="stat-card" on:click ={() => selectTab ( " providers " )} >
267267 <div class ="stat-value" >{providerEndpointCount }</div >
268268 <div class =" stat-label" >Provider + Endpoint Combinations</div >
269- </div >
269+ </button >
270270 </div >
271271 </div >
272272 {/if }
650650 padding : 0.875rem 0.75rem ;
651651 text-align : center ;
652652 transition : background-color 0.2s ease , border-color 0.2s ease ;
653+ cursor : pointer ;
654+ font-family : inherit ;
655+ width : 100% ;
653656 }
654657
655658 .stat-card :hover {
You can’t perform that action at this time.
0 commit comments