Skip to content

Commit

Permalink
feat:sidebar completed
Browse files Browse the repository at this point in the history
  • Loading branch information
YongChanCho committed Nov 20, 2024
1 parent a3fcf56 commit e2c6b1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/components/userProfile/GlobalNavigationBar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@
.iconContainer {
width: 32px;
height: 32px;
margin: 8px;
margin: 16px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 6px;
}

.logoIconContainer{
width: 32px;
height: 32px;
background-color: #00BD57;
margin-bottom: 12px;
border-radius: 6px;
Expand Down
7 changes: 5 additions & 2 deletions src/components/userProfile/GlobalNavigationBar.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
import React from 'react';
import React, {useState,useEffect} from 'react';
import { Link } from 'react-router-dom';
import styles from './GlobalNavigationBar.module.scss';
import {ReactComponent as MapuLogo} from '../../assets/MapuLogo.svg';
import {ReactComponent as Home} from '../../assets/Home.svg';
import {ReactComponent as Explore} from '../../assets/Explore.svg';
import {ReactComponent as User} from '../../assets/User.svg';
import {ReactComponent as Logout } from '../../assets/Logout.svg';
import {ReactComponent as Login } from '../../assets/Login.svg';

const SideBar = (props: { children: React.ReactNode }) => {
const [isLoggedIn, setIsLoggedIn] = useState(false);

return (
<div className={styles.container}>
<div className={styles.LeftSideBar}>
<div className={`${styles.iconContainer} ${styles.logoIconContainer}`}>
<div className={styles.logoIconContainer}>
<MapuLogo className={styles.icon} />
</div>
<Link to="/" className={styles.link}>
Expand Down

0 comments on commit e2c6b1c

Please sign in to comment.