Skip to content

Commit

Permalink
feat: award page
Browse files Browse the repository at this point in the history
  • Loading branch information
pReya committed Dec 13, 2023
1 parent 37a4511 commit 08fe324
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 31 deletions.
2 changes: 1 addition & 1 deletion public/bulb-cog-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/bulb-cog.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/NewsItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const NewsItem: React.FC<Props> = ({
<div
className={`group relative flex flex-col h-full hover:-translate-y-4 duration-200 transition ${
green
? "bg-tolo-green hover:bg-tolo-dark-green text-white bg-[url('/bulb-cog.svg')] hover:bg-[url('/bulb-cog-dark.svg')] bg-no-repeat bg-left-bottom"
? "bg-tolo-green hover:bg-tolo-dark-green text-white bg-[position:bottom_-16px_left_-16px] bg-[url('/bulb-cog.svg')] hover:bg-[url('/bulb-cog-dark.svg')] bg-no-repeat"
: "bg-white text-black"
}`}
>
Expand Down
Loading

0 comments on commit 08fe324

Please sign in to comment.