website: use slider on docs, add flow images (#4997)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-03-18 16:21:30 +01:00 committed by GitHub
parent e13cfec84f
commit b69c26d485
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 9 deletions

View file

@ -25,9 +25,41 @@ For more information about configuration, Beta versions, and additional installa
## Screenshots
authentik can use Light or Dark mode for the Admin interface and the User interface.
authentik can use Light or Dark mode for the Admin interface, User interface and the flow interface.
| Light | Dark |
| -------------------------------- | ------------------------------- |
| ![](/img/screen_apps_light.jpg) | ![](/img/screen_apps_dark.jpg) |
| ![](/img/screen_admin_light.jpg) | ![](/img/screen_admin_dark.jpg) |
import "react-before-after-slider-component/dist/build.css";
import ReactBeforeSliderComponent from "react-before-after-slider-component";
import useBaseUrl from "@docusaurus/useBaseUrl";
<ReactBeforeSliderComponent
firstImage={{
id: 1,
imageUrl: useBaseUrl("img/screen_flow_dark.jpg"),
}}
secondImage={{
id: 2,
imageUrl: useBaseUrl("img/screen_flow_light.jpg"),
}}
/>
<ReactBeforeSliderComponent
firstImage={{
id: 1,
imageUrl: useBaseUrl("img/screen_apps_dark.jpg"),
}}
secondImage={{
id: 2,
imageUrl: useBaseUrl("img/screen_apps_light.jpg"),
}}
/>
<ReactBeforeSliderComponent
firstImage={{
id: 1,
imageUrl: useBaseUrl("img/screen_admin_dark.jpg"),
}}
secondImage={{
id: 2,
imageUrl: useBaseUrl("img/screen_admin_light.jpg"),
}}
/>

View file

@ -114,13 +114,13 @@ function Home() {
firstImage={{
id: 1,
imageUrl: useBaseUrl(
"img/screen_apps_light.jpg"
"img/screen_apps_dark.jpg"
),
}}
secondImage={{
id: 2,
imageUrl: useBaseUrl(
"img/screen_apps_dark.jpg"
"img/screen_apps_light.jpg"
),
}}
/>
@ -166,13 +166,13 @@ function Home() {
firstImage={{
id: 1,
imageUrl: useBaseUrl(
"img/screen_admin_light.jpg"
"img/screen_admin_dark.jpg"
),
}}
secondImage={{
id: 2,
imageUrl: useBaseUrl(
"img/screen_admin_dark.jpg"
"img/screen_admin_light.jpg"
),
}}
/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 KiB