From 2cc4ba56ca3d2f8e5dc281559fab7a058879c276 Mon Sep 17 00:00:00 2001
From: Stefano Pigozzi <256895@studenti.unimore.it>
Date: Wed, 21 Apr 2021 15:54:52 +0200
Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20multiple=20buttons=20to=20the?=
=?UTF-8?q?=20Sidebar?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
code/frontend/src/components/Sidebar.js | 5 ++++-
code/frontend/src/components/Sidebar.module.css | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/code/frontend/src/components/Sidebar.js b/code/frontend/src/components/Sidebar.js
index de4c5e7..6847b68 100644
--- a/code/frontend/src/components/Sidebar.js
+++ b/code/frontend/src/components/Sidebar.js
@@ -3,7 +3,7 @@ import Style from "./Sidebar.module.css"
import classNames from "classnames"
import Logo from "./Logo"
import ButtonSidebar from "./ButtonSidebar"
-import { faHome } from "@fortawesome/free-solid-svg-icons"
+import { faCog, faExclamationTriangle, faFolder, faHome } from "@fortawesome/free-solid-svg-icons"
export default function Sidebar({ children, className, ...props }) {
@@ -12,6 +12,9 @@ export default function Sidebar({ children, className, ...props }) {
{/* TODO: Aggiungere il logo qui! */}
Dashboard
+ Repositories
+ Alerts
+ Settings
{children}
)
diff --git a/code/frontend/src/components/Sidebar.module.css b/code/frontend/src/components/Sidebar.module.css
index 4fd1176..23fc3ec 100644
--- a/code/frontend/src/components/Sidebar.module.css
+++ b/code/frontend/src/components/Sidebar.module.css
@@ -1,7 +1,7 @@
.Sidebar {
display: flex;
flex-direction: column;
- gap: 10px;
+ gap: 25px;
width: 100%;
height: 100%;