Skip to content

Commit

Permalink
update: share img
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasm committed Sep 1, 2024
1 parent 4c47611 commit e7e66b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
6 changes: 1 addition & 5 deletions components/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ const Modal = ({ isOpen, onClose, children, title }: ModalProps) => {
setIsModalOpen(isOpen)

// handle body scroll
if (isOpen) {
document.body.style.overflow = 'hidden'
} else {
document.body.style.overflow = 'auto'
}
document.body.style.overflow = isOpen ? 'hidden' : 'auto'

// focus on modal
modalRef.current?.focus?.()
Expand Down
10 changes: 5 additions & 5 deletions locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"community": "Comunidade",
"privacy": "Privacidade",
"terms": "Termos",
"donate": "Doação",
"donate": "Fazer doação",
"more": "Mais",
"learnMore": "Conheça o Findto",
"viewNearbyPlaces": "Ver locais próximos",
Expand Down Expand Up @@ -272,14 +272,14 @@
"name": "YouTube",
"action": "https://www.youtube.com/results?search_query="
},
{
"name": "IMDb",
"action": "https://www.imdb.com/find/?q="
},
{
"name": "Twitch",
"action": "https://www.twitch.tv/search?term="
},
{
"name": "IMDb",
"action": "https://www.imdb.com/find/?q="
},
{
"name": "Globoplay",
"action": "https://globoplay.globo.com/busca/?q="
Expand Down
Binary file modified public/share.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e7e66b4

Please sign in to comment.