Revert "Feat/customizable links"

This commit is contained in:
Daniel
2024-08-18 14:46:52 -04:00
committed by GitHub
parent ee2319996b
commit 9a3e82470a
28 changed files with 326 additions and 976 deletions
+7 -5
View File
@@ -52,9 +52,11 @@ export default function PreservedFormatRow({
};
return (
<div className="flex justify-between items-center rounded-lg p-2 bg-base-200">
<div className="flex justify-between items-center pr-1 border border-neutral-content rounded-md">
<div className="flex gap-2 items-center">
<i className={`${icon} text-2xl text-primary`} />
<div className="bg-primary text-primary-content p-2 rounded-l-md">
<i className={`${icon} text-2xl`} />
</div>
<p>{name}</p>
</div>
@@ -62,7 +64,7 @@ export default function PreservedFormatRow({
{downloadable || false ? (
<div
onClick={() => handleDownload()}
className="btn btn-sm btn-square btn-ghost"
className="btn btn-sm btn-square"
>
<i className="bi-cloud-arrow-down text-xl text-neutral" />
</div>
@@ -73,9 +75,9 @@ export default function PreservedFormatRow({
isPublic ? "/public" : ""
}/preserved/${link?.id}?format=${format}`}
target="_blank"
className="btn btn-sm btn-square btn-ghost"
className="btn btn-sm btn-square"
>
<i className="bi-box-arrow-up-right text-lg text-neutral" />
<i className="bi-box-arrow-up-right text-xl text-neutral" />
</Link>
</div>
</div>