#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
import { useTranslation } from "react-i18next";
import { Chip, CodeBlock } from "@editor/ui";
import { DocsSection } from "@editor-core/components/docs/DocsSection";
export function AuthenticationSection() {
const { t } = useTranslation();
return (
<DocsSection
id="authentication"
eyebrow={t("portal.docs.authentication.eyebrow")}
title={t("portal.docs.authentication.title")}
lead={t("portal.docs.authentication.lead")}
>
<CodeBlock
lang="http"
caption={t("portal.docs.authentication.codeCaption")}
code={`Authorization: Bearer sk_live_8f2c...e10`}
/>
<div className="portal-docs__keytable">
<div className="portal-docs__keyrow">
<Chip accent="success" size="sm" showDot>
sk_live_
</Chip>
<span>{t("portal.docs.authentication.liveKey")}</span>
</div>
<div className="portal-docs__keyrow">
<Chip accent="warning" size="sm" showDot>
sk_test_
</Chip>
<span>{t("portal.docs.authentication.testKey")}</span>
</div>
</div>
</DocsSection>
);
}