Skip to content

Commit

Permalink
Merge pull request #52 from NASA-IMPACT/fix/theme-card-link
Browse files Browse the repository at this point in the history
Fix theme card link
  • Loading branch information
hanbyul-here authored Nov 23, 2023
2 parents 368b51f + eeabaeb commit c783d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overrides/components/theme-cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ThemeCard = styled.article`
display: flex;
flex-flow: column nowrap;
border-top: 1px solid ${themeVal("color.base-200a")};
&:hover {
h3 {
text-decoration: underline;
Expand Down Expand Up @@ -69,7 +69,7 @@ export default function ThemeCards({ storyIds }: ContentsPropType) {
<img src={t.media.src} alt={t.media.alt} />
</ThemeCardImageWrapper>
<p>{t.description}</p>
<ThemeLink to={t.id}>View more</ThemeLink>
<ThemeLink to={`/stories/${t.id}`}>View more</ThemeLink>
</ThemeCard>
</li>
));
Expand Down

0 comments on commit c783d4e

Please sign in to comment.