Amazing! Now clean up the header. Remove all the uneccesary spacing, keeping everything the same size and in the same position, but remove all the empty space
Browse files- components/navbar.js +7 -15
components/navbar.js
CHANGED
|
@@ -13,34 +13,26 @@ class CustomNavbar extends HTMLElement {
|
|
| 13 |
.container {
|
| 14 |
display: flex;
|
| 15 |
flex-direction: column;
|
| 16 |
-
justify-content: center;
|
| 17 |
align-items: center;
|
| 18 |
-
padding: 1rem;
|
| 19 |
max-width: 1200px;
|
| 20 |
margin: 0 auto;
|
| 21 |
-
gap: 0.5rem;
|
| 22 |
}
|
| 23 |
.logo {
|
| 24 |
-
height:
|
| 25 |
width: auto;
|
| 26 |
}
|
| 27 |
.title {
|
| 28 |
-
font-size:
|
| 29 |
font-weight: 600;
|
| 30 |
color: #1F2937;
|
| 31 |
-
margin-top: 0.5rem;
|
| 32 |
}
|
| 33 |
-
|
| 34 |
-
.container {
|
| 35 |
-
padding: 1rem;
|
| 36 |
-
}
|
| 37 |
-
}
|
| 38 |
-
</style>
|
| 39 |
<nav>
|
| 40 |
<div class="container">
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
</nav>
|
| 45 |
`;
|
| 46 |
}
|
|
|
|
| 13 |
.container {
|
| 14 |
display: flex;
|
| 15 |
flex-direction: column;
|
|
|
|
| 16 |
align-items: center;
|
| 17 |
+
padding: 0.5rem 1rem;
|
| 18 |
max-width: 1200px;
|
| 19 |
margin: 0 auto;
|
|
|
|
| 20 |
}
|
| 21 |
.logo {
|
| 22 |
+
height: 4rem;
|
| 23 |
width: auto;
|
| 24 |
}
|
| 25 |
.title {
|
| 26 |
+
font-size: 1rem;
|
| 27 |
font-weight: 600;
|
| 28 |
color: #1F2937;
|
|
|
|
| 29 |
}
|
| 30 |
+
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
<nav>
|
| 32 |
<div class="container">
|
| 33 |
+
<img src="https://huggingface.co/spaces/JasperOL/agent-activation-station/resolve/main/images/Minimise full logo (2).png" alt="Minimise Logo" class="logo">
|
| 34 |
+
<span class="title">Agent Activation Station</span>
|
| 35 |
+
</div>
|
| 36 |
</nav>
|
| 37 |
`;
|
| 38 |
}
|