mirror of
https://github.com/hanzoai/sign.git
synced 2026-11-02 23:26:15 +00:00
The product is branded Hanzo eSign (esign.hanzo.ai, repo hanzoai/esign). Rename all workspace packages @hanzo/sign-* → @hanzo/esign-* (1052 files) and align docker/Dockerfile turbo --scope/--filter to the actual remix package name @hanzo/esign (was a pre-existing mismatch with -remix that broke the build). Protected deps (@hanzo/insights, @hanzo/logo) untouched.
27 lines
801 B
TypeScript
27 lines
801 B
TypeScript
import { Trans } from '@lingui/react/macro';
|
|
|
|
import { Spinner } from '@hanzo/esign-ui/primitives/spinner';
|
|
|
|
export const PdfViewerLoadingState = () => {
|
|
return (
|
|
<div className="flex h-[80vh] max-h-[60rem] w-full flex-col items-center justify-center overflow-hidden opacity-50">
|
|
<Spinner />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export const PdfViewerErrorState = () => {
|
|
return (
|
|
<div className="flex h-[80vh] max-h-[60rem] flex-col items-center justify-center bg-white/50 dark:bg-background">
|
|
<div className="text-center text-muted-foreground">
|
|
<p>
|
|
<Trans>Something went wrong while loading the document.</Trans>
|
|
</p>
|
|
<p className="mt-1 text-sm">
|
|
<Trans>Please try again or contact our support.</Trans>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|