Add horizontal line to admin sidebar (#4417)

* feat(admin): add horizontal line to sidebar. Closes #4098

* fix: lint css file

* fix: tweak css

* chore: go mod tidy

* fix: another css fix
This commit is contained in:
Gabe Kangas
2025-07-04 19:34:57 -07:00
committed by GitHub
parent 7515758b41
commit 1310dc1b80
4 changed files with 38 additions and 21 deletions

View File

@ -62,6 +62,10 @@ const EditOutlined = dynamic(() => import('@ant-design/icons/EditOutlined'), {
ssr: false,
});
const DownloadOutlined = dynamic(() => import('@ant-design/icons/DownloadOutlined'), {
ssr: false,
});
const FediverseOutlined = dynamic(() => import('../../assets/images/icons/fediverse.svg'), {
ssr: false,
});
@ -269,9 +273,18 @@ export const MainLayout: FC<MainLayoutProps> = ({ children }) => {
icon: <ExperimentOutlined />,
children: integrationsMenu,
},
upgradeVersion && {
type: 'divider',
key: 'upgrade-divider',
},
upgradeVersion && {
key: '/admin/upgrade',
label: <Link href="/admin/upgrade">{upgradeMessage}</Link>,
label: (
<Link href="/admin/upgrade">
<strong>{upgradeMessage}</strong>
</Link>
),
icon: <DownloadOutlined />,
},
{
key: '/admin/help',