diff --git a/src/frontend/src/components/sidebarComponent/index.tsx b/src/frontend/src/components/sidebarComponent/index.tsx index f1fbec8e3..153b80c45 100644 --- a/src/frontend/src/components/sidebarComponent/index.tsx +++ b/src/frontend/src/components/sidebarComponent/index.tsx @@ -7,11 +7,16 @@ interface SidebarNavProps extends React.HTMLAttributes { href: string; title: string; }[]; + secondaryItems?: { + href: string; + title: string; + }[]; } export default function SidebarNav({ className, items, + secondaryItems, ...props }: SidebarNavProps) { const location = useLocation(); @@ -40,6 +45,19 @@ export default function SidebarNav({ {item.title} ))} + {/* {secondaryItems && ( + <> +
+ +
+
+ +
+ + )} */} ); } diff --git a/src/frontend/src/pages/MainPage/index.tsx b/src/frontend/src/pages/MainPage/index.tsx index 01d582c0d..38a15ab72 100644 --- a/src/frontend/src/pages/MainPage/index.tsx +++ b/src/frontend/src/pages/MainPage/index.tsx @@ -93,7 +93,10 @@ export default function HomePage(): JSX.Element {
diff --git a/src/frontend/src/style/applies.css b/src/frontend/src/style/applies.css index 25ad9267c..98cc101a7 100644 --- a/src/frontend/src/style/applies.css +++ b/src/frontend/src/style/applies.css @@ -217,7 +217,7 @@ } .main-page-nav-arrangement { - @apply flex-max-width justify-between px-6 py-8 pb-2; + @apply flex-max-width justify-between py-8 pb-2; } .main-page-nav-title { @@ -229,11 +229,11 @@ } .main-page-description-text { - @apply flex w-[60%] px-6 pb-4 text-muted-foreground; + @apply flex w-[60%] pb-4 text-muted-foreground; } .admin-page-description-text { - @apply flex w-[80%] px-6 pb-8 text-muted-foreground; + @apply flex w-[80%] pb-8 text-muted-foreground; } .main-page-flows-display { diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index a5bebeae3..44c1a583f 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -32,6 +32,7 @@ import { FileText, FileUp, Fingerprint, + FolderPlus, Gift, GitBranchPlus, GitFork, @@ -300,6 +301,7 @@ export const nodeIconsLucide: iconsType = { DownloadCloud, File, FileText, + FolderPlus, GitFork, GithubIcon, FileDown,