Skip to content

Commit

Permalink
Merge pull request #126 from soehlert/topic/soehlert/logo
Browse files Browse the repository at this point in the history
feat(logo): add a logo!
  • Loading branch information
soehlert authored Oct 23, 2023
2 parents 67988d7 + ea5fd10 commit 61f7368
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions concert_elephant/static/css/project.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,8 @@ td[onclick]:hover {
cursor: pointer;
background-color: #D3D3D3;
}

.logo {
width: 100px;
height: auto; /* This maintains the aspect ratio */
}
Binary file added concert_elephant/static/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion concert_elephant/templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<div class="mb-1">
<nav class="navbar navbar-custom sticky-top navbar-expand-md navbar-dark justify-content-between bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="{% url 'concerts:home' %}">Concert Elephant<span class="visually-hidden">(current)</span></a>
<a class="navbar-brand" href="{% url 'concerts:home' %}">
<img src="{% static 'images/logo.png' %}" alt="Concert Elephant Logo" class="logo">
<span class="visually-hidden">(current)</span>
</a>
<button class="navbar-toggler navbar-toggler-right"
type="button"
data-bs-toggle="collapse"
Expand Down

0 comments on commit 61f7368

Please sign in to comment.