Skip to content

Commit

Permalink
fix: fixing target blank for gamespot api
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebrsk committed Sep 10, 2024
1 parent dc03d23 commit 9c27628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/News/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ function List() {
Made with GameSpot API:{' '}
<Link
href="https://www.gamespot.com/api/documentation"
className="underline text-theme-red-900 hover:text-red-400 transition-colors duration-500">
className="underline text-theme-red-900 hover:text-red-400 transition-colors duration-500"
target="_blank">
Docs
</Link>
</Typography>
Expand All @@ -102,7 +103,6 @@ function List() {
className="relative h-full flex flex-col justify-between rounded-xl overflow-hidden group hover:shadow-[0px_0px_10px_5px_rgba(255,77,77,0.8)] transition-all duration-500 dark:bg-theme-dark-900 bg-white cursor-pointer"
key={index}
onClick={() => handleOpen(article)}>
{/* Adjusted backdrop gradient for light mode to work with white background */}
<Box className="absolute inset-0 bg-gradient-to-b from-transparent via-gray-100 to-gray-400/50 dark:via-gray-200/20 dark:to-black/30 transition-all duration-500 opacity-0 group-hover:opacity-100" />

<CardMedia
Expand Down

0 comments on commit 9c27628

Please sign in to comment.