diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx index f3615e2..d4c2571 100644 --- a/components/CollectionCard.tsx +++ b/components/CollectionCard.tsx @@ -35,6 +35,8 @@ export default function CollectionCard({ collection, className }: Props) { name: "", username: "", image: "", + archiveAsScreenshot: undefined as unknown as boolean, + archiveAsPDF: undefined as unknown as boolean, }); useEffect(() => { @@ -48,6 +50,8 @@ export default function CollectionCard({ collection, className }: Props) { name: account.name, username: account.username as string, image: account.image as string, + archiveAsScreenshot: account.archiveAsScreenshot as boolean, + archiveAsPDF: account.archiveAsPDF as boolean, }); } }; @@ -70,8 +74,7 @@ export default function CollectionCard({ collection, className }: Props) { > -
- + {formattedDate}
Name
-Color
-Description
-Warning!
- -- Please note that deleting the collection will permanently remove - all its contents, including the following: -
-- Please double-check that you have backed up any essential data - and have informed the relevant members about this action. -
-- To confirm, type " - {collection.name} - " in the box below: -
- -Click the button below to leave the current collection.
- )} - -Make Public
- -- This will let Anyone to view this collection. -
- > - )} - - {collection.isPublic ? ( -Public Link (Click to copy)
-Member Management
- -- (All Members have Read access to this collection.) -
-{e.user.name}
-@{e.user.username}
-- Permissions -
- {permissions === true && ( -- (Click to toggle.) -
- )} -- Has no permissions. -
- ) : ( -{collectionOwner.name}
-@{collectionOwner.username}
-Permissions
-Full Access (Owner)
-Team
- -Here are all the members who are collaborating on this collection.
- -{collectionOwner.name}
-@{collectionOwner.username}
-{e.user.name}
-@{e.user.username}
-- New Collection -
- )} - {method !== "VIEW_TEAM" && ( -Address (URL)
-Collection
- {link.collection.name ? ( -Name
-Collection
- {link.collection.name ? ( -Tags
-Description
-{optionsExpanded ? "Hide" : "More"} Options
-Screenshot
-Update Preserved Formats
-(Refresh Link)
-- View Latest Snapshot on archive.org -
- -- Create a New Link -
-Edit Link
-- Preserved Formats -
-The following formats are available for this link:
) : ( -No preserved formats available.
+ "" )}+ The Link preservation is in the queue +
++ Please check back later to see the result +
+Update Preserved Formats
-(Refresh Link)
-View latest snapshot on archive.org
- + + {link?.collection.ownerId === session.data?.user.id ? ( +Refresh Preserved Formats
++ This deletes the current preservations +
+{name}
Account
Appearance
@@ -63,9 +59,7 @@ export default function SettingsSidebar({ className }: { className?: string }) { : "hover:bg-neutral/20" } duration-100 py-5 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} > - +Archive
@@ -78,9 +72,7 @@ export default function SettingsSidebar({ className }: { className?: string }) { : "hover:bg-neutral/20" } duration-100 py-5 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} > - +API Keys
@@ -93,9 +85,7 @@ export default function SettingsSidebar({ className }: { className?: string }) { : "hover:bg-neutral/20" } duration-100 py-5 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} > - +Password
@@ -109,9 +99,7 @@ export default function SettingsSidebar({ className }: { className?: string }) { : "hover:bg-neutral/20" } duration-100 py-5 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8`} > - +Billing
@@ -130,9 +118,7 @@ export default function SettingsSidebar({ className }: { className?: string }) {Help
GitHub
Mastodon
- {title} -
+{title}
- Other Collections -
- -- Shared collections you're a member of -
-Recent
+Pinned
+