website: redirect root to /docs (#8754)

This commit is contained in:
Jens L
2024-02-29 18:09:18 +01:00
committed by GitHub
parent 60a16aafbd
commit 419e0adff9

View File

@ -1,10 +1,16 @@
import React from "react";
import clsx from "clsx";
import Layout from "@theme/Layout";
import BrowserOnly from "@docusaurus/BrowserOnly";
function Home() {
return (
<Layout title={`authentik Documentation`}>
<BrowserOnly>
{() => {
window.location.href = "/docs";
}}
</BrowserOnly>
<header className={clsx("hero hero--primary")}>
<div className="container">
<h1 className="hero__title">authentik Documentation</h1>