@@ -31,32 +31,30 @@ export default function Home() {
3131 < main
3232 className = { `flex min-h-screen bg-gray-100 dark:bg-zinc-800 flex-col items-center justify-between ${ inter . className } ` }
3333 >
34- < section className = " flex flex-col items-start justify-center rounded-xl w-full p-6 " >
34+ < section className = " flex flex-col items-start justify-center rounded-xl w-full p-1 " >
3535 < div className = " mx-auto max-w-2/3" >
36- < h1 className = "text-4xl font-extrabold text-left leading-none tracking-normal text-gray-900 dark:text-white md:text-6xl md:tracking-tight" >
37- Instrument Dashboards
38- </ h1 >
39-
40- < div className = "flex mt-6 flex-col justify-center items-center space-y-4 " >
41- { [ ...instruments ] . map ( ( [ group , insts ] ) => {
36+ < div className = "flex mt-6 flex-col justify-center items-center space-y-2" >
37+ { [ ...instruments ] . sort ( ) . map ( ( [ group , insts ] ) => {
4238 return (
4339 < div
4440 key = { group }
4541 className = "flex flex-col justify-center items-center w-full "
4642 >
47- < h1 className = "text-4xl font-bold text-black dark:text-gray-100 text-left w-full" >
43+ < h1 className = "text-2xl font-bold text-black dark:text-gray-100 text-left w-full" >
4844 { group }
4945 </ h1 >
50- < div className = "flex-wrap flex justify-left items-center w-full mx-auto text-left md:text-center" >
51- { insts . map ( ( instrument : string ) => {
46+ < div className = "flex-wrap flex justify-left items-center w-full mx-auto text-left md:text-center" >
47+ { insts . sort ( ) . map ( ( instrument : string ) => {
5248 return (
5349 < Link
5450 href = { `/instrument?name=${ instrument } ` }
5551 key = { instrument }
5652 >
57- < h1 className = "text-1xl text-left mr-4 w-full leading-none transition-all hover:text-blue-500 tracking-normal text-black dark:text-white md:text-4xl md:tracking-tight" >
58- { instrument }
59- </ h1 >
53+ < div className = "shadow-lg rounded-lg border-2 border-gray-600 bg-slate-800 hover:bg-slate-700 py-2 px-3 m-1 transition-all duration-100" >
54+ < h1 className = "text-xl flex items-center justify-center text-left leading-none transition-all text-black dark:text-white" >
55+ { instrument }
56+ </ h1 >
57+ </ div >
6058 </ Link >
6159 ) ;
6260 } ) }
0 commit comments