small improvement

This commit is contained in:
Daniel
2023-06-13 18:00:52 +03:30
parent 3628d4281a
commit 5b0e0b4208
6 changed files with 10 additions and 38 deletions
+2 -6
View File
@@ -155,9 +155,7 @@ export default function LinkCard({ link, count, className }: Props) {
<div className="relative">
<div className="flex flex-col items-end justify-center gap-1">
<a
href={`/api/archives/${
link.collectionId
}/${encodeURIComponent(link.screenshotPath)}`}
href={`/api/archives/${link.collectionId}/${link.id}.png`}
target="_blank"
rel="noreferrer"
title="Screenshot"
@@ -168,9 +166,7 @@ export default function LinkCard({ link, count, className }: Props) {
/>
</a>
<a
href={`/api/archives/${
link.collectionId
}/${encodeURIComponent(link.pdfPath)}`}
href={`/api/archives/${link.collectionId}/${link.id}.pdf`}
target="_blank"
rel="noreferrer"
title="PDF"
+1 -1
View File
@@ -80,7 +80,7 @@ export default function ProfileSettings({
<div className="w-28 h-28 flex items-center justify-center border border-sky-100 rounded-full relative">
<ProfilePhoto
src={user.profilePic}
className="h-auto aspect-square w-28 border-[0px]"
className="h-auto aspect-square w-28 border-[1px]"
status={handleProfileStatus}
/>
{profileStatus && (