Skip to content

Commit

Permalink
added logo to navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
tylersdejong committed Feb 27, 2024
1 parent 78c2674 commit 9766870
Show file tree
Hide file tree
Showing 8 changed files with 7,041 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/rctool/templates/rctool/components/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<nav class="navbar navbar-expand-lg navbar-dark" style="background-color: #003466">
<div class="header-title-div"></div>
<a class="navbar-brand" href="{% url 'home' %}"><img src="{% static 'images/gov_logo.JPG' %}" class="logo"></a>
<p class="header-title-text">HydRA</p>
<a class="navbar-brand" href="{% url 'home' %}"><img src="{% static 'images/gov_logo.JPG' %}" class="logo-gov"></a>
<a class="navbar-brand" href="{% url 'home' %}"><img src="{% static 'images/HydRALogo_transparent.png' %}" class="logo-hydra "></a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
Expand Down
3 changes: 3 additions & 0 deletions frontend/rctool/templates/rctool/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

<div class="card-body py-4" style="width: 80%; margin: auto;">
<h3 style="color:#003466; font-family:sans-serif; font-weight:bold; margin: 5px 0px 10px 0px; text-align: center;">Welcome</h3>
<!-- <div style="text-align: center;">
<img src="{% static 'images/HydRALogo_transparent.png' %}" class="logo-hydra-main" style="display: inline-block;">
</div> -->
<div style="margin-bottom: 20px;">
<p class="text-description-intro">
A hydrometric rating curve describes the mathematical relationship between stage and discharge. <b>HydRA</b> is a platform that
Expand Down
9 changes: 8 additions & 1 deletion frontend/static/css/header.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
.logo {
.logo-gov {
height: 30px;
}

.logo-hydra {
height: 65px;
opacity: 0.8;
padding: -10px;
margin: -10px;
}

.header-title-div {
display: flex;
align-items: start;
Expand Down
5 changes: 5 additions & 0 deletions frontend/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
width: 90%;
}

.logo-hydra-main {
height: 240px;
opacity: 0.95;
}

.text-small {
font-size: 10.5px;
font-size: 10.5px;
Expand Down
1,402 changes: 1,402 additions & 0 deletions frontend/static/images/HydRALogo1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/static/images/HydRALogo_transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5,621 changes: 5,621 additions & 0 deletions frontend/static/images/HydRALogo_transparent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9766870

Please sign in to comment.