2022-08-06 05:22:07 +00:00
|
|
|
import React, {useContext, useState} from "react";
|
2022-02-02 08:24:34 -07:00
|
|
|
import {
|
2022-08-06 05:22:07 +00:00
|
|
|
Card,
|
|
|
|
|
Confirm,
|
|
|
|
|
Container,
|
|
|
|
|
Image,
|
|
|
|
|
Input,
|
|
|
|
|
PlaceholderHeader,
|
|
|
|
|
PlaceholderLine,
|
|
|
|
|
TableBody,
|
|
|
|
|
TableCell,
|
|
|
|
|
TableHeader,
|
|
|
|
|
TableHeaderCell,
|
|
|
|
|
TableRow
|
|
|
|
|
} from "semantic-ui-react";
|
|
|
|
|
import {
|
|
|
|
|
CardLink,
|
|
|
|
|
defaultSearchOrder,
|
|
|
|
|
ExternalCardLink,
|
|
|
|
|
FileIcon,
|
2022-05-16 17:56:55 -06:00
|
|
|
HelpHeader,
|
2022-08-06 05:22:07 +00:00
|
|
|
mimetypeColor,
|
2022-02-02 14:02:51 -07:00
|
|
|
PageContainer,
|
2022-01-29 21:24:39 -07:00
|
|
|
SearchInput,
|
2022-01-29 22:25:35 -07:00
|
|
|
TabLinks,
|
2022-01-29 21:24:39 -07:00
|
|
|
textEllipsis,
|
2022-08-06 05:22:07 +00:00
|
|
|
uploadDate
|
2022-01-29 21:24:39 -07:00
|
|
|
} from "./Common";
|
2022-09-23 16:22:57 -06:00
|
|
|
import {deleteArchives, postDownload} from "../api";
|
2022-08-06 05:22:07 +00:00
|
|
|
import {Link, Route, Routes, useNavigate, useParams} from "react-router-dom";
|
2022-01-15 18:05:51 -07:00
|
|
|
import Message from "semantic-ui-react/dist/commonjs/collections/Message";
|
2022-08-06 05:22:07 +00:00
|
|
|
import {useArchive, useDomains, useQuery, useSearchArchives} from "../hooks/customHooks";
|
|
|
|
|
import {FileCards, FilesView} from "./Files";
|
|
|
|
|
import Grid from "semantic-ui-react/dist/commonjs/collections/Grid";
|
|
|
|
|
import Dropdown from "semantic-ui-react/dist/commonjs/modules/Dropdown";
|
|
|
|
|
import _ from "lodash";
|
|
|
|
|
import {ThemeContext} from "../contexts/contexts";
|
2022-09-29 08:57:46 -06:00
|
|
|
import {Button, CardIcon, Header, Loader, Placeholder, Segment, Table} from "./Theme";
|
2022-08-06 05:22:07 +00:00
|
|
|
|
|
|
|
|
function ArchivePage() {
|
2022-01-03 15:13:02 -07:00
|
|
|
const [deleteOpen, setDeleteOpen] = useState(false);
|
2022-05-16 17:56:55 -06:00
|
|
|
const [syncOpen, setSyncOpen] = useState(false);
|
2022-08-06 05:22:07 +00:00
|
|
|
const navigate = useNavigate();
|
|
|
|
|
const {archiveId} = useParams();
|
|
|
|
|
const {archiveFile, alternatives} = useArchive(archiveId);
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
if (archiveFile === null) {
|
2022-05-16 17:56:55 -06:00
|
|
|
return <Segment><Loader active/></Segment>;
|
2021-11-01 16:42:52 -06:00
|
|
|
}
|
2022-08-06 05:22:07 +00:00
|
|
|
if (archiveFile === undefined) {
|
2022-05-16 17:56:55 -06:00
|
|
|
return <>
|
|
|
|
|
<Header as='h2'>Unknown archive</Header>
|
2022-09-28 09:38:05 -06:00
|
|
|
<Header as='h4'>This archive does not exist</Header>
|
2022-05-16 17:56:55 -06:00
|
|
|
</>
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
const {archive} = archiveFile;
|
|
|
|
|
|
2022-05-16 17:56:55 -06:00
|
|
|
const singlefileUrl = archive.singlefile_path ? `/media/${encodeURIComponent(archive.singlefile_path)}` : null;
|
|
|
|
|
const screenshotUrl = archive.screenshot_path ? `/media/${encodeURIComponent(archive.screenshot_path)}` : null;
|
|
|
|
|
const readabilityUrl = archive.readability_path ? `/media/${encodeURIComponent(archive.readability_path)}` : null;
|
|
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
const singlefileButton = <ExternalCardLink to={singlefileUrl}>
|
2022-05-16 17:56:55 -06:00
|
|
|
<Button content='View' color='blue'/>
|
2022-08-06 05:22:07 +00:00
|
|
|
</ExternalCardLink>;
|
2022-05-16 17:56:55 -06:00
|
|
|
|
|
|
|
|
const readabilityLink = readabilityUrl ?
|
2022-08-06 05:22:07 +00:00
|
|
|
<ExternalCardLink to={readabilityUrl}><Button content='Article'/></ExternalCardLink> :
|
2022-05-16 17:56:55 -06:00
|
|
|
<Button disabled content='Article'/>;
|
|
|
|
|
|
|
|
|
|
const screenshot = screenshotUrl ?
|
|
|
|
|
<Image src={screenshotUrl} size='large' style={{marginTop: '1em', marginBottom: '1em'}}/> :
|
|
|
|
|
null;
|
|
|
|
|
|
2022-01-03 15:13:02 -07:00
|
|
|
const localDeleteArchive = async () => {
|
|
|
|
|
setDeleteOpen(false);
|
2022-09-23 16:22:57 -06:00
|
|
|
await deleteArchives([archive.id]);
|
|
|
|
|
navigate(-1);
|
2021-11-01 16:42:52 -06:00
|
|
|
}
|
2022-05-16 17:56:55 -06:00
|
|
|
const localSyncArchive = async () => {
|
|
|
|
|
setSyncOpen(false);
|
|
|
|
|
await postDownload(archive.url, 'archive');
|
|
|
|
|
}
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-05-16 17:56:55 -06:00
|
|
|
const syncButton = (<>
|
|
|
|
|
<Button color='yellow' onClick={() => setSyncOpen(true)} content='Sync'/>
|
|
|
|
|
<Confirm
|
|
|
|
|
open={syncOpen}
|
|
|
|
|
content='Download the latest version of this URL?'
|
|
|
|
|
confirmButton='Sync'
|
|
|
|
|
onCancel={() => setSyncOpen(false)}
|
|
|
|
|
onConfirm={localSyncArchive}
|
|
|
|
|
/>
|
|
|
|
|
</>);
|
|
|
|
|
const deleteButton = (<>
|
|
|
|
|
<Button color='red' onClick={() => setDeleteOpen(true)} content='Delete' aria-label='Delete'/>
|
|
|
|
|
<Confirm
|
|
|
|
|
open={deleteOpen}
|
|
|
|
|
content='Are you sure you want to delete this archive? All files will be deleted'
|
|
|
|
|
confirmButton='Delete'
|
|
|
|
|
onCancel={() => setDeleteOpen(false)}
|
|
|
|
|
onConfirm={localDeleteArchive}
|
|
|
|
|
/>
|
|
|
|
|
</>);
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-05-16 17:56:55 -06:00
|
|
|
let alternativesList = <Loader active/>;
|
|
|
|
|
if (alternatives && alternatives.length > 0) {
|
2022-08-06 05:22:07 +00:00
|
|
|
alternativesList = <FileCards files={alternatives}/>;
|
2022-05-16 17:56:55 -06:00
|
|
|
} else if (alternatives && alternatives.length === 0) {
|
|
|
|
|
alternativesList = <p>No alternatives available</p>;
|
2022-01-03 15:13:02 -07:00
|
|
|
}
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-05-16 17:56:55 -06:00
|
|
|
return (
|
|
|
|
|
<>
|
2022-08-06 05:22:07 +00:00
|
|
|
<Button icon='arrow left' content='Back' onClick={() => navigate(-1)}/>
|
2022-05-16 17:56:55 -06:00
|
|
|
|
|
|
|
|
<Segment>
|
|
|
|
|
{screenshot}
|
2022-08-06 05:22:07 +00:00
|
|
|
<ExternalCardLink to={singlefileUrl}>
|
2022-05-16 17:56:55 -06:00
|
|
|
<Header as='h2'>{textEllipsis(archive.title || archive.url, 100)}</Header>
|
2022-08-06 05:22:07 +00:00
|
|
|
</ExternalCardLink>
|
2022-05-16 17:56:55 -06:00
|
|
|
<Header as='h3'>{uploadDate(archive.archive_datetime)}</Header>
|
2022-08-06 05:22:07 +00:00
|
|
|
<p>
|
|
|
|
|
<ExternalCardLink to={archive.url}>
|
|
|
|
|
{textEllipsis(archive.url, 100)}
|
|
|
|
|
</ExternalCardLink>
|
|
|
|
|
</p>
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-05-16 17:56:55 -06:00
|
|
|
{singlefileButton}
|
|
|
|
|
{readabilityLink}
|
|
|
|
|
{syncButton}
|
|
|
|
|
{deleteButton}
|
|
|
|
|
</Segment>
|
|
|
|
|
|
|
|
|
|
<Segment>
|
|
|
|
|
<HelpHeader
|
|
|
|
|
headerContent='Alternatives'
|
|
|
|
|
popupContent='Alternative archives are archives that have the same URL.'
|
2021-11-01 16:42:52 -06:00
|
|
|
/>
|
2022-05-16 17:56:55 -06:00
|
|
|
{alternativesList}
|
|
|
|
|
</Segment>
|
|
|
|
|
</>
|
|
|
|
|
)
|
|
|
|
|
}
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
export function ArchiveCard({file}) {
|
|
|
|
|
const {s} = useContext(ThemeContext);
|
|
|
|
|
const {archive} = file;
|
2022-05-16 17:56:55 -06:00
|
|
|
|
|
|
|
|
const imageSrc = archive.screenshot_path ? `/media/${encodeURIComponent(archive.screenshot_path)}` : null;
|
|
|
|
|
const singlefileUrl = archive.singlefile_path ? `/media/${encodeURIComponent(archive.singlefile_path)}` : null;
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-09-29 08:57:46 -06:00
|
|
|
let screenshot = <CardIcon><FileIcon file={file}/></CardIcon>;
|
2022-08-06 05:22:07 +00:00
|
|
|
if (imageSrc) {
|
|
|
|
|
screenshot = <Image src={imageSrc} wrapped style={{position: 'relative', width: '100%'}}/>;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const domain = archive.domain ? archive.domain.domain : null;
|
|
|
|
|
const domainUrl = `/archive?domain=${domain}`;
|
2022-01-30 16:27:06 -07:00
|
|
|
|
2022-01-03 15:13:02 -07:00
|
|
|
return (
|
2022-08-06 05:22:07 +00:00
|
|
|
<Card color={mimetypeColor(file.mimetype)} {...s}>
|
|
|
|
|
<div>
|
|
|
|
|
<ExternalCardLink to={singlefileUrl}>
|
|
|
|
|
{screenshot}
|
|
|
|
|
</ExternalCardLink>
|
|
|
|
|
</div>
|
2022-01-03 15:13:02 -07:00
|
|
|
<Card.Content>
|
|
|
|
|
<Card.Header>
|
|
|
|
|
<Container textAlign='left'>
|
2022-08-06 05:22:07 +00:00
|
|
|
<ExternalCardLink to={singlefileUrl}>
|
|
|
|
|
{textEllipsis(archive.title || archive.url, 100)}
|
|
|
|
|
</ExternalCardLink>
|
2022-01-03 15:13:02 -07:00
|
|
|
</Container>
|
|
|
|
|
</Card.Header>
|
2022-08-06 05:22:07 +00:00
|
|
|
{domain &&
|
|
|
|
|
<CardLink to={domainUrl}>
|
|
|
|
|
<p {...s}>{domain}</p>
|
|
|
|
|
</CardLink>}
|
|
|
|
|
<Card.Meta {...s}>
|
2022-01-30 16:27:06 -07:00
|
|
|
<p>
|
|
|
|
|
{uploadDate(archive.archive_datetime)}
|
|
|
|
|
</p>
|
2022-01-03 15:13:02 -07:00
|
|
|
</Card.Meta>
|
|
|
|
|
<Card.Description>
|
2022-05-16 17:56:55 -06:00
|
|
|
<Link to={`/archive/${archive.id}`}>
|
|
|
|
|
<Button icon='file alternate' content='Details'
|
|
|
|
|
labelPosition='left'/>
|
|
|
|
|
</Link>
|
|
|
|
|
<Button icon='external' href={archive.url} target='_blank' rel='noopener noreferrer'/>
|
2022-01-03 15:13:02 -07:00
|
|
|
</Card.Description>
|
|
|
|
|
</Card.Content>
|
|
|
|
|
</Card>
|
|
|
|
|
)
|
|
|
|
|
}
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
export function Domains() {
|
|
|
|
|
const [domains] = useDomains();
|
|
|
|
|
const [searchStr, setSearchStr] = useState('');
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
if (domains === null) {
|
|
|
|
|
return (<>
|
|
|
|
|
<Placeholder>
|
|
|
|
|
<PlaceholderHeader>
|
|
|
|
|
<PlaceholderLine/>
|
|
|
|
|
<PlaceholderLine/>
|
|
|
|
|
</PlaceholderHeader>
|
|
|
|
|
</Placeholder>
|
|
|
|
|
</>)
|
|
|
|
|
} else if (!domains || domains.length === 0) {
|
2022-01-15 18:05:51 -07:00
|
|
|
return <Message>
|
2022-08-06 05:22:07 +00:00
|
|
|
<Message.Header>No domains yet.</Message.Header>
|
|
|
|
|
<Message.Content>Archive some webpages!</Message.Content>
|
2022-01-15 18:05:51 -07:00
|
|
|
</Message>;
|
2021-11-01 16:42:52 -06:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
let filteredDomains = domains;
|
|
|
|
|
if (searchStr) {
|
|
|
|
|
const re = new RegExp(_.escapeRegExp(searchStr), 'i');
|
|
|
|
|
filteredDomains = domains.filter(i => re.test(i['domain']));
|
2021-11-01 16:42:52 -06:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
const row = ({domain, url_count}) => {
|
|
|
|
|
return <TableRow key={domain}>
|
|
|
|
|
<TableCell>
|
|
|
|
|
<Link to={`/archive?domain=${domain}`}>
|
|
|
|
|
{domain}
|
|
|
|
|
</Link>
|
|
|
|
|
</TableCell>
|
|
|
|
|
<TableCell>{url_count}</TableCell>
|
|
|
|
|
</TableRow>
|
2021-11-01 16:42:52 -06:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
return <>
|
|
|
|
|
<Input
|
|
|
|
|
icon='search'
|
|
|
|
|
value={searchStr}
|
|
|
|
|
placeholder='Search...'
|
|
|
|
|
onChange={(e, {value}) => setSearchStr(value)}
|
|
|
|
|
/>
|
|
|
|
|
<Table celled>
|
|
|
|
|
<TableHeader>
|
|
|
|
|
<TableRow>
|
|
|
|
|
<TableHeaderCell>Domain</TableHeaderCell>
|
|
|
|
|
<TableHeaderCell>Archives</TableHeaderCell>
|
|
|
|
|
</TableRow>
|
|
|
|
|
</TableHeader>
|
|
|
|
|
|
|
|
|
|
<TableBody>
|
|
|
|
|
{filteredDomains.map(row)}
|
|
|
|
|
</TableBody>
|
|
|
|
|
</Table>
|
|
|
|
|
</>;
|
2021-11-01 16:42:52 -06:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
function Archives() {
|
2022-01-03 15:13:02 -07:00
|
|
|
const [domains] = useDomains();
|
2022-09-23 16:22:57 -06:00
|
|
|
const [selectedArchives, setSelectedArchives] = useState([]);
|
|
|
|
|
const [deleteOpen, setDeleteOpen] = useState(false);
|
|
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
let filterOptions = [];
|
2022-01-15 18:05:51 -07:00
|
|
|
if (domains && domains.length > 0) {
|
2022-08-06 05:22:07 +00:00
|
|
|
domains.forEach(i => {
|
|
|
|
|
filterOptions = [...filterOptions, {text: i['domain'], key: i['domain'], value: i['domain']}]
|
|
|
|
|
});
|
2021-11-01 16:42:52 -06:00
|
|
|
}
|
2022-08-06 05:22:07 +00:00
|
|
|
const {searchParams, updateQuery} = useQuery();
|
|
|
|
|
|
|
|
|
|
let searchOrder = '-date';
|
|
|
|
|
if (searchParams.get('order')) {
|
|
|
|
|
// Use whatever order the user specified.
|
|
|
|
|
searchOrder = searchParams.get('order');
|
|
|
|
|
} else if (searchParams.get('q')) {
|
|
|
|
|
// User used a search_str
|
|
|
|
|
searchOrder = defaultSearchOrder;
|
2022-01-15 18:05:51 -07:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
const domain = searchParams.get('domain');
|
2022-09-23 16:22:57 -06:00
|
|
|
const {
|
|
|
|
|
archives,
|
|
|
|
|
limit,
|
|
|
|
|
setLimit,
|
|
|
|
|
totalPages,
|
|
|
|
|
activePage,
|
|
|
|
|
setPage,
|
|
|
|
|
searchStr,
|
|
|
|
|
setSearchStr,
|
|
|
|
|
setOrderBy,
|
2022-10-24 15:08:53 -06:00
|
|
|
fetchArchives,
|
|
|
|
|
} = useSearchArchives(24, domain, searchOrder);
|
2022-08-06 05:22:07 +00:00
|
|
|
const setView = (value) => updateQuery({view: value});
|
|
|
|
|
const view = searchParams.get('view');
|
2022-10-24 15:08:53 -06:00
|
|
|
const setDomain = (value) => updateQuery({'domain': value, 'o': 0});
|
2021-11-01 16:42:52 -06:00
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
const archiveOrders = [
|
|
|
|
|
{key: '-date', value: '-date', text: 'Newest'},
|
|
|
|
|
{key: 'date', value: 'date', text: 'Oldest'},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
const menuColumns = (<>
|
|
|
|
|
<Grid.Column width={5}>
|
|
|
|
|
<SearchInput clearable
|
|
|
|
|
actionIcon='search'
|
|
|
|
|
searchStr={searchStr}
|
|
|
|
|
onSubmit={setSearchStr}
|
|
|
|
|
/>
|
|
|
|
|
</Grid.Column>
|
|
|
|
|
<Grid.Column width={5}>
|
|
|
|
|
<Dropdown selection fluid
|
|
|
|
|
placeholder='Sort by...'
|
|
|
|
|
value={searchOrder}
|
|
|
|
|
options={archiveOrders}
|
|
|
|
|
onChange={(e, {value}) => setOrderBy(value)}
|
|
|
|
|
/>
|
|
|
|
|
</Grid.Column>
|
|
|
|
|
</>);
|
|
|
|
|
|
2022-09-23 16:22:57 -06:00
|
|
|
const onSelect = (path, checked) => {
|
|
|
|
|
let archiveId;
|
|
|
|
|
if (archives) {
|
|
|
|
|
archives.forEach(i => {
|
|
|
|
|
if (i && i['archive'] && i['path'] === path) {
|
|
|
|
|
archiveId = i['archive']['id'];
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if (checked && archiveId) {
|
|
|
|
|
setSelectedArchives([...selectedArchives, archiveId]);
|
|
|
|
|
} else {
|
|
|
|
|
setSelectedArchives(selectedArchives.filter(i => i !== archiveId));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const onDelete = async (e) => {
|
|
|
|
|
e.preventDefault();
|
2022-09-23 16:43:45 -06:00
|
|
|
setDeleteOpen(false);
|
2022-09-23 16:22:57 -06:00
|
|
|
await deleteArchives(selectedArchives);
|
|
|
|
|
await fetchArchives();
|
|
|
|
|
setSelectedArchives([]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const selectElm = <div style={{marginTop: '0.5em'}}>
|
|
|
|
|
<Button
|
|
|
|
|
color='red'
|
|
|
|
|
disabled={!selectedArchives || selectedArchives.length === 0}
|
|
|
|
|
onClick={() => setDeleteOpen(true)}
|
|
|
|
|
>Delete</Button>
|
|
|
|
|
<Confirm
|
|
|
|
|
open={deleteOpen}
|
|
|
|
|
content='Are you sure you want to delete these archives files? This cannot be undone.'
|
|
|
|
|
confirmButton='Delete'
|
|
|
|
|
onCancel={() => setDeleteOpen(false)}
|
|
|
|
|
onConfirm={onDelete}
|
|
|
|
|
/>
|
|
|
|
|
</div>;
|
|
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
return <FilesView
|
|
|
|
|
files={archives}
|
|
|
|
|
limit={limit}
|
|
|
|
|
setLimit={setLimit}
|
|
|
|
|
activePage={activePage}
|
|
|
|
|
totalPages={totalPages}
|
|
|
|
|
showLimit={true}
|
|
|
|
|
showSelect={true}
|
2022-09-23 16:22:57 -06:00
|
|
|
onSelect={onSelect}
|
|
|
|
|
selectElem={selectElm}
|
2022-08-06 05:22:07 +00:00
|
|
|
view={view}
|
|
|
|
|
setView={setView}
|
|
|
|
|
setPage={setPage}
|
|
|
|
|
filterOptions={filterOptions}
|
|
|
|
|
activeFilters={domain}
|
|
|
|
|
setFilters={setDomain}
|
|
|
|
|
filterPlaceholder='Domain'
|
|
|
|
|
menuColumns={menuColumns}
|
|
|
|
|
menuColumnsCount={2}
|
|
|
|
|
/>
|
|
|
|
|
}
|
2022-01-03 15:13:02 -07:00
|
|
|
|
2022-08-06 05:22:07 +00:00
|
|
|
export function ArchiveRoute() {
|
2022-01-29 22:25:35 -07:00
|
|
|
const links = [
|
2022-08-06 05:22:07 +00:00
|
|
|
{text: 'Archives', to: '/archive', end: true},
|
|
|
|
|
{text: 'Domains', to: '/archive/domains'},
|
2022-01-29 21:24:39 -07:00
|
|
|
];
|
2022-01-31 09:32:06 -07:00
|
|
|
return <PageContainer>
|
2022-01-29 22:25:35 -07:00
|
|
|
<TabLinks links={links}/>
|
2022-08-06 05:22:07 +00:00
|
|
|
<Routes>
|
|
|
|
|
<Route path='/' element={<Archives/>}/>
|
|
|
|
|
<Route path='domains' element={<Domains/>}/>
|
|
|
|
|
<Route path=':archiveId' element={<ArchivePage/>}/>
|
|
|
|
|
</Routes>
|
2022-01-31 09:32:06 -07:00
|
|
|
</PageContainer>
|
2021-11-01 16:42:52 -06:00
|
|
|
}
|