mirror of
https://github.com/goauthentik/authentik
synced 2026-04-27 18:07:15 +02:00
* website: Flesh out version picker. Port 3.8 theme. * website: Update Dockerfile to include compose. * website: Flesh out branch override. Tidy list items.
22 lines
725 B
TypeScript
22 lines
725 B
TypeScript
import Link from "@docusaurus/Link";
|
|
import { ThemeClassNames } from "@docusaurus/theme-common";
|
|
import Translate from "@docusaurus/Translate";
|
|
import type { Props } from "@theme/EditThisPage";
|
|
import React, { type ReactNode } from "react";
|
|
|
|
export default function EditThisPage({ editUrl }: Props): ReactNode {
|
|
return (
|
|
<Link to={editUrl} className={ThemeClassNames.common.editThisPage}>
|
|
<Translate
|
|
id="theme.common.editThisPage"
|
|
values={{
|
|
github: "GitHub",
|
|
}}
|
|
description="The link label to edit the current page"
|
|
>
|
|
{"Edit on {github}"}
|
|
</Translate>
|
|
</Link>
|
|
);
|
|
}
|