File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ export const ConferenceCard = React.memo(function ConferenceCard({
1717 return (
1818 < Link to = { `/schedule?conf=${ conference . code } ` } >
1919 < article
20- className = "group block rounded-2xl border p-5 shadow-sm transition
21- hover:-translate-y-0.5 hover:shadow-md focus:outline-none
22- focus-visible:ring-2 focus-visible:ring-blue-500
23- border-neutral-800 bg-neutral-900"
20+ className = "group block rounded-2xl border p-5 shadow-sm transition hover:-translate-y-0.5 hover:shadow-md focus:outline-none focus-visible:ring-2 focus-visible:ring-cyan-400 border-neutral-800 bg-neutral-900"
2421 aria-label = { conference . name }
2522 >
2623 < div className = "flex items-start justify-between gap-3" >
27- < h3 className = "min-w-0 flex-1 truncate text-lg font-semibold text-neutral-100 group-hover:text-cyan-400 transition-colors" >
24+ < h3
25+ className = "min-w-0 flex-1 text-lg font-semibold text-neutral-100 group-hover:text-cyan-400 transition-colors leading-snug break-words line-clamp-2 sm:line-clamp-1 sm:truncate"
26+ title = { conference . name }
27+ >
2828 { conference . name }
2929 </ h3 >
3030 </ div >
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ export function Conferences() {
1616 return (
1717 < >
1818 < HTHeader />
19- < div className = "mx -10 mt-10" >
20- < h2 className = "text-xl font-semibold text-white " > Conferences</ h2 >
19+ < div className = "px-4 sm:px-6 lg:px -10 mt-10" >
20+ < h2 className = "text-xl font-semibold text-neutral-100 " > Conferences</ h2 >
2121 < DisplayConferences conferences = { conferences } />
2222 </ div >
2323 < HTFooter />
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export function DisplayConferences({
7777 Upcoming Conferences
7878 </ h2 >
7979 { upcoming . length ? (
80- < div className = "grid gap-5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [grid-auto-rows:1fr]" >
80+ < div className = "grid gap-4 sm:gap- 5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [grid-auto-rows:1fr]" >
8181 { upcoming . map ( ( c ) => (
8282 < ConferenceCard key = { c . id } conference = { c } />
8383 ) ) }
@@ -93,7 +93,7 @@ export function DisplayConferences({
9393 Recently Updated
9494 </ h2 >
9595 { updated . length ? (
96- < div className = "grid gap-5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [grid-auto-rows:1fr]" >
96+ < div className = "grid gap-4 sm:gap- 5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [grid-auto-rows:1fr]" >
9797 { updated . map ( ( c ) => (
9898 < ConferenceCard key = { c . id } conference = { c } />
9999 ) ) }
@@ -109,7 +109,7 @@ export function DisplayConferences({
109109 Past Conferences
110110 </ h2 >
111111 { past . length ? (
112- < div className = "grid gap-5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [grid-auto-rows:1fr]" >
112+ < div className = "grid gap-4 sm:gap- 5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [grid-auto-rows:1fr]" >
113113 { past . map ( ( c ) => (
114114 < ConferenceCard key = { c . id } conference = { c } />
115115 ) ) }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export function UpcomingConferences() {
2020 < h2 className = "mb-4 text-left text-lg font-semibold text-neutral-200" >
2121 Upcoming Conferences
2222 </ h2 >
23- < div className = "grid gap-5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [grid-auto-rows:1fr]" >
23+ < div className = "grid gap-4 sm:gap- 5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [grid-auto-rows:1fr]" >
2424 { conferences . map ( ( c ) => (
2525 < ConferenceCard key = { c . id } conference = { c } />
2626 ) ) }
You can’t perform that action at this time.
0 commit comments