@@ -73,6 +73,12 @@ const MainStoryCard = styled.div`
7373 border-top: 4px solid #a31f34;
7474 border-radius: 10px;
7575
76+ &:hover {
77+ h2 {
78+ text-decoration: underline;
79+ }
80+ }
81+
7682 ${ theme . breakpoints . down ( "sm" ) } {
7783 flex-direction: column;
7884 gap: 0;
@@ -203,11 +209,21 @@ const StoryCard = styled.div`
203209 flex-direction: row;
204210 gap: 24px;
205211 background: white;
206- border: 1px solid ${ theme . custom . colors . lightGray2 } ;
207212 border-radius: 8px;
208213 padding: 16px 16px 16px 24px;
209214 overflow: hidden;
210215
216+ &:hover {
217+ border-radius: 8px;
218+ border: 1px solid ${ theme . custom . colors . lightGray2 } ;
219+ background: ${ theme . custom . colors . white } ;
220+ box-shadow: 0 8px 20px 0 rgb(120 147 172 / 10%);
221+
222+ h2 {
223+ color: ${ theme . custom . colors . red } ;
224+ }
225+ }
226+
211227 ${ theme . breakpoints . down ( "sm" ) } {
212228 flex-direction: row;
213229 gap: 12px;
@@ -216,6 +232,12 @@ const StoryCard = styled.div`
216232 border: none;
217233 border-bottom: 1px solid ${ theme . custom . colors . lightGray2 } ;
218234 border-radius: 0;
235+
236+ &:hover {
237+ border: none;
238+ border-bottom: 1px solid ${ theme . custom . colors . lightGray2 } ;
239+ box-shadow: none;
240+ }
219241 }
220242`
221243
@@ -469,15 +491,18 @@ const MainStory: React.FC<{ item: NewsFeedItem }> = ({ item }) => {
469491 < MainStoryCard >
470492 < MainStoryImage >
471493 { item . image ?. url && ! imageError && (
472- < Image
473- src = { item . image . url }
474- alt = { item . image . alt || item . title }
475- fill
476- style = { { objectFit : "cover" } }
477- onError = { ( ) => setImageError ( true ) }
478- />
494+ < Link href = { item . url } >
495+ < Image
496+ src = { item . image . url }
497+ alt = { item . image . alt || item . title }
498+ fill
499+ style = { { objectFit : "cover" } }
500+ onError = { ( ) => setImageError ( true ) }
501+ />
502+ </ Link >
479503 ) }
480504 </ MainStoryImage >
505+
481506 < MainStoryContent >
482507 < MainStoryContentContainer >
483508 < MainStoryTitle >
@@ -590,9 +615,9 @@ const ArticleListingPage: React.FC = () => {
590615 </ LoadingContainer >
591616 ) : stories . length === 0 ? (
592617 < EmptyState >
593- < Typography variant = "h4" > No Articles Available</ Typography >
618+ < Typography variant = "h4" > No News Available</ Typography >
594619 < Typography variant = "body1" color = "textSecondary" >
595- There are no articles to display at this time. Please check back
620+ There are no news to display at this time. Please check back
596621 later.
597622 </ Typography >
598623 </ EmptyState >
@@ -628,7 +653,7 @@ const ArticleListingPage: React.FC = () => {
628653 { /* Grid Section: Other articles */ }
629654 { gridStories . length > 0 ? (
630655 < GridContainer >
631- < Grid2 container rowSpacing = "8px " component = { PlainList } >
656+ < Grid2 container rowSpacing = "16px " component = { PlainList } >
632657 { gridStories . map ( ( item ) => (
633658 < Grid2 key = { item . id } size = { 12 } component = "li" >
634659 < RegularStory item = { item as NewsFeedItem } />
0 commit comments