- Add the content of \`App.css\` with the following code:
- Add the content of \`App.css\` with the following code:
```css
```css
.App {
.App {
font-family: sans-serif;
font-family: sans-serif;
text-align: center;
text-align: center;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
height: 100vh;
height: 100vh;
}
}
.topbar {
.topbar {
background-color: #f8f9fa;
background-color: #f8f9fa;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
padding: 20px;
padding: 20px;
}
}
.container {
.container {
display: flex;
display: flex;
flex-grow: 1;
flex-grow: 1;
}
}
.sidebar {
.sidebar {
width: 200px;
width: 200px;
background-color: #f8f9fa;
background-color: #f8f9fa;
padding: 15px;
padding: 15px;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
text-align: left;
text-align: left;
}
}
.sidebar ul {
.sidebar ul {
list-style-type: none;
list-style-type: none;
padding: 0;
padding: 0;
}
}
.sidebar ul li {
.sidebar ul li {
margin: 10px 0;
margin: 10px 0;
}
}
.sidebar ul li a {
.sidebar ul li a {
text-decoration: none;
text-decoration: none;
color: #007bff;
color: #007bff;
font-weight: bold;
font-weight: bold;
}
}
.content {
.content {
flex-grow: 1;
flex-grow: 1;
padding: 40px;
padding: 40px;
}
}
```
```
...
@@ -712,5 +753,5 @@ export default ProductList;
...
@@ -712,5 +753,5 @@ export default ProductList;
This comprehensive 4-hour training module ensures that students gain an in-depth understanding of React components, styling, and CRUD operations, with ample time for hands-on practice and advanced topics.
This comprehensive 3-hour training module ensures that students gain an in-depth understanding of React components, styling, and CRUD operations, with ample time for hands-on practice and advanced topics.