fix(website): minor sidebar consistency fixes (#5698)

This commit is contained in:
Jamil
2024-07-03 12:07:46 -07:00
committed by GitHub
parent a7b14229fc
commit ff04a13f09
5 changed files with 7 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@@ -46,7 +46,7 @@ So we went back to the whiteboard to reimagine how Firezone would look if we
rebuilt it from the ground up The Right Way™ -- with scalability and ease of
use in mind.
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
<Image
src="/images/blog/apr-2024-update/whiteboard1.jpeg"
alt="Whiteboard 1"

View File

@@ -10,7 +10,7 @@ import {
Visit the appropriate page below for download instructions and more for your
platform.
<div class="mt-20 flex justify-between text-center space-x-5">
<div className="mt-20 flex justify-between text-center space-x-5">
<AppleIcon size={10} href="/kb/user-guides/macos-client">
<p>macOS</p>
</AppleIcon>

View File

@@ -73,7 +73,9 @@ export default function DocsSidebar() {
<SidebarItem href="/docs/authenticate/oidc/zitadel">
OIDC: Zitadel
</SidebarItem>
<SidebarItem href="/docs/authenticate/saml">SAML</SidebarItem>
<SidebarItem href="/docs/authenticate/saml">
SAML Overview
</SidebarItem>
<SidebarItem href="/docs/authenticate/saml/google">
SAML: Google
</SidebarItem>

View File

@@ -18,7 +18,7 @@ const FlowbiteSidebarTheme: CustomFlowbiteTheme["sidebar"] = {
},
collapse: {
button:
"group flex w-full items-center rounded-lg p-2 text-base font-normal text-neutral-900 transition duration-75 hover:bg-neutral-100 dark:text-white dark:hover:bg-neutral-700",
"group flex w-full items-center rounded p-2 text-base font-normal text-neutral-900 transition duration-75 hover:bg-neutral-100 dark:text-white dark:hover:bg-neutral-700",
icon: {
base: "h-6 w-6 text-neutral-500 transition duration-75 group-hover:text-neutral-900 dark:text-neutral-400 dark:group-hover:text-white",
open: {
@@ -55,7 +55,7 @@ const FlowbiteSidebarTheme: CustomFlowbiteTheme["sidebar"] = {
},
},
item: {
base: "flex items-center justify-center rounded-lg p-2 text-base font-normal text-neutral-900 hover:bg-neutral-100 dark:text-white dark:hover:bg-neutral-700",
base: "flex items-center justify-center rounded p-2 text-base font-normal text-neutral-900 hover:bg-neutral-100 dark:text-white dark:hover:bg-neutral-700",
active: "bg-neutral-200 dark:bg-neutral-700",
collapsed: {
insideCollapse: "group w-full pl-8 transition duration-75",