Compare commits

...

2 Commits

Author SHA1 Message Date
rizaldy 28f6292740 feat: add link to original sources 2024-02-09 03:14:39 +07:00
rizaldy c4c6255ae7 chore: update 2024-02-09 03:14:23 +07:00
2 changed files with 12 additions and 2 deletions

View File

@ -36,9 +36,19 @@ const Overlay = ({ overlayContent, closeOverlay }) => {
{isOverlayOpen ? (
<p
onClick={closeOverlay}
className="fixed right-0 bottom-0 md:mx-5 my-5 text-white rounded text-sm text-center w-full z-30"
className="fixed right-0 bottom-0 md:mx-5 my-5 text-white rounded text-sm text-center w-full z-30 md:bottom-10 px-2 leading-relaxed"
>
Click anywhere or press "Escape" to close
<span className="px-2">|</span>
<a
className="underline"
target="_blank"
rel="noreferer noopener"
href={overlayContent?.url}
>
Click here
</a>{" "}
to see the raw media
</p>
) : null}

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "edgy.photo",
"name": "ig.rizaldy.club",
"lockfileVersion": 3,
"requires": true,
"packages": {