@@ -34,14 +34,14 @@ export function ResearchHighlight({ publications }: ResearchHighlightProps) {
3434
3535 const heroPub = publications [ 0 ]
3636 if ( ! heroPub ) return null
37-
37+
3838 const gridPubs = publications . slice ( 1 )
3939
40- const getPrimaryLink = ( pub : Publication ) =>
40+ const getPrimaryLink = ( pub : Publication ) =>
4141 pub . links ?. website || pub . links ?. arxiv || pub . links ?. biorxiv || "#"
4242
4343 return (
44- < section className = "py-24 lg:py-32" >
44+ < section id = "research" className = "py-24 lg:py-32" >
4545 < div className = "section-container" >
4646 < div className = "mb-16 flex flex-col justify-between gap-4 sm:flex-row sm:items-end" >
4747 < div >
@@ -88,9 +88,11 @@ export function ResearchHighlight({ publications }: ResearchHighlightProps) {
8888 < Link
8989 href = { getPrimaryLink ( heroPub ) }
9090 target = "_blank"
91- className = "mb-3 inline-block text-xl font-bold underline decoration-1 underline-offset-2 transition-all hover:text-primary hover:decoration-2 sm:text-2xl"
91+ className = "group mb-3 inline-block text-xl font-bold transition-all duration-300 ease-out hover:translate-x-1 hover:text-primary sm:text-2xl"
9292 >
93- { heroPub . title }
93+ < span className = "bg-gradient-to-r from-transparent to-transparent bg-[length:0%_2px] bg-left-bottom bg-no-repeat transition-all duration-300 ease-out group-hover:bg-[length:100%_2px] group-hover:bg-gradient-to-r group-hover:from-primary group-hover:to-primary" >
94+ { heroPub . title }
95+ </ span >
9496 </ Link >
9597
9698 < p className = "mb-5 text-sm text-muted-foreground" >
@@ -179,9 +181,11 @@ export function ResearchHighlight({ publications }: ResearchHighlightProps) {
179181 < Link
180182 href = { getPrimaryLink ( pub ) }
181183 target = "_blank"
182- className = "mb-3 inline-block text-xl font-bold underline decoration-1 underline-offset-2 transition-all hover:text-primary hover:decoration-2 "
184+ className = "group mb-3 inline-block text-xl font-bold transition-all duration-300 ease-out hover:translate-x-1 hover:text-primary "
183185 >
184- { pub . title }
186+ < span className = "bg-gradient-to-r from-transparent to-transparent bg-[length:0%_2px] bg-left-bottom bg-no-repeat transition-all duration-300 ease-out group-hover:bg-[length:100%_2px] group-hover:bg-gradient-to-r group-hover:from-primary group-hover:to-primary" >
187+ { pub . title }
188+ </ span >
185189 </ Link >
186190
187191 < p className = "mb-4 text-sm text-muted-foreground" >
0 commit comments