@@ -16,19 +16,19 @@ const AlphabeticalIndex = () => {
1616
1717 return (
1818 < >
19- < div className = "w-full inline-block flex-col sm:flex-row my-10 m-2 mx-auto justify-between " >
20- < span className = "columns-2 p-2 mx-auto max-w-7xl " >
21- < h1 className = "text-2xl text-shadow text- center sm: text-left font-semibold mb-4 sm:text-nowrap sm:block " >
19+ < div className = "mx-auto my-10 flex w-full max-w-7xl flex-col gap-6 px-2 " >
20+ < section className = "rounded-3xl border border-white/15 bg-black/65 px-6 py-6 shadow-2xl shadow-black/40 backdrop-blur-md " >
21+ < h1 className = "text-center text-3xl font-semibold text-white sm:text-left " >
2222 Alphabetical Index
2323 </ h1 >
24- < p className = "text-base text-center sm: text-left text-gray-300 italic text-pretty sm:text-nowrap sm:inline sm:mx-auto " >
25- Browse Yu-Gi-Oh! sets by letter.. .
24+ < p className = "mt-3 max-w-2xl text-center text-base italic text-white/78 sm:text-left " >
25+ Browse Yu-Gi-Oh! sets by opening letter and jump straight into each catalogue section .
2626 </ p >
27- </ span >
27+ </ section >
2828
2929 < nav
3030 aria-label = "Browse sets by starting letter"
31- className = "mx-auto mt-5 max-w-7xl text-pretty text-shadow flex flex-wrap gap-2 place-content-center md:text-nowrap"
31+ className = "flex flex-wrap place-content-center gap-2 rounded-3xl border border-white/15 bg-black/60 p-4 shadow-2xl shadow-black/35 backdrop-blur-sm md:text-nowrap"
3232 >
3333 { letters . map ( ( letter ) => {
3434 const isActive = letter === activeLetter ;
@@ -41,7 +41,11 @@ const AlphabeticalIndex = () => {
4141 } }
4242 prefetch = { false }
4343 aria-current = { isActive ? 'page' : undefined }
44- className = { `mx-auto rounded px-3 py-2 leading-7 text-2xl font-bold transition hover:bg-stone-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white ${ isActive ? 'bg-white/10 text-white underline' : 'text-white/80 no-underline' } ` }
44+ className = { `rounded-xl border px-3 py-2 leading-7 text-2xl font-bold transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white ${
45+ isActive
46+ ? 'border-white/30 bg-white/16 text-white shadow-lg shadow-black/20 underline'
47+ : 'border-white/10 bg-black/35 text-white/85 no-underline hover:border-white/20 hover:bg-black/55'
48+ } ` }
4549 >
4650 { letter }
4751 </ Link >
0 commit comments