Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navbar modification #13

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion api/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ ul {
.main-section {
display: flex;
align-items: flex-start;

/* gap: 2rem;
padding: 0 2.87rem; */
}
Expand All @@ -112,6 +113,7 @@ ul {
align-items: center;
margin: 6rem 2rem 2rem 4rem;
gap: 8rem;
padding-left: 21rem;
}
/* navbar */
.navbar {
Expand All @@ -125,6 +127,10 @@ ul {
margin: 1rem;
border-radius: 1rem;
gap: 2rem;
position: fixed;
background: white;gap: 2rem;
height: 558px;

}
.navbar__logo img {
height: 5.75rem;
Expand All @@ -134,7 +140,7 @@ ul {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 3rem;
gap: 2rem;
width: 14rem;
}
.auth {
Expand Down
16 changes: 8 additions & 8 deletions api/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{% static " css/style.css" %}">
<link rel="stylesheet" href="{% static "css/style.css" %}">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
Expand All @@ -26,7 +26,7 @@
<section class="main-section">
<nav class="navbar">
<div class="navbar__logo">
<img src="{% static " img/logo.png" %}" alt="CogniGuard-logo">
<img src="{% static "img/logo.png" %}" alt="CogniGuard-logo">
</div>
<div class="navbar__links font-primary">
<div class="auth">
Expand Down Expand Up @@ -123,17 +123,17 @@ <h1 class="font-mid-large">CogniGuard</h1>
</div>
<div class="footer-design">
<div>
<img src="{% static " img/left-rect.png" %}" alt="footer design right">
<img src="{% static "img/left-rect.png" %}" alt="footer design right">
</div>
<div class="footer-links">
<a href="#"><img src="{% static " img/Email.png" %}" alt="instagram-icon"></a>
<a href="https://github.com/4darsh-Dev/CogniGaurd"><img src="{% static " img/github-logo.png" %}"
<a href="#"><img src="{% static "img/Email.png" %}" alt="instagram-icon"></a>
<a href="https://github.com/4darsh-Dev/CogniGaurd"><img src="{% static "img/github-logo.png" %}"
alt="instagram-icon"></a>
<a href="#"><img src="{% static " img/twitter-logo.png" %}" alt="instagram-icon"></a>
<a href="#"><img src="{% static " img/Instagram.png" %}" alt="instagram-icon"></a>
<a href="#"><img src="{% static "img/twitter-logo.png" %}" alt="instagram-icon"></a>
<a href="#"><img src="{% static "img/Instagram.png" %}" alt="instagram-icon"></a>
</div>
<div>
<img src="{% static " img/right-rect.png" %}" alt="footer design right">
<img src="{% static "img/right-rect.png" %}" alt="footer design right">
</div>
</div>

Expand Down