Skip to content

Commit

Permalink
Create Sidebar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 7, 2024
1 parent 4733877 commit 1408813
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions projects/PiWalletBot/client/components/Sidebar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React from 'react';
import styled from 'styled-components';

const SidebarContainer = styled.div`
background-color: #333;
color: #fff;
padding: 20px;
width: 200px;
height: 100vh;
position: fixed;
top: 0;
left: 0;
`;

const Sidebar = () => {
return (
<SidebarContainer>
<h2>Menu</h2>
<ul>
<li><a href="#">Dashboard</a></li>
<li><a href="#">Transactions</a></li>
<li><a href="#">Settings</a></li>
</ul>
</SidebarContainer>
);
};

export default Sidebar;

0 comments on commit 1408813

Please sign in to comment.