Skip to content

Commit 65347b3

Browse files
committed
added footer
1 parent 6fdc397 commit 65347b3

File tree

6 files changed

+29
-2
lines changed

6 files changed

+29
-2
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,6 @@ For any questions or feedback, please reach out to [me](aditya.sen1hl@gmail.com)
129129

130130
---
131131

132-
Feel free to customize the above template according to your project's specific details and requirements.
132+
Feel free to customize the above template according to your project's specific details and requirements.
133+
134+
<img src="./screenshot.png">

main/static/main/css/styles.css

+8
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,12 @@
6969
#published {
7070
color: rgba(0, 0, 0, 0.333);
7171
font-weight: 600;
72+
}
73+
74+
footer{
75+
margin-top: 10rem;
76+
}
77+
78+
#copyright{
79+
background-color: rgb(49, 49, 255);
7280
}

main/templates/main/base.html

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
{% block content %}
2222

2323
{% endblock %}
24+
{% include 'main/includes/footer.html' %}
2425
</body>
2526

2627
</html>
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{% load static %}
2+
<footer class="row-cols-1 row-cols-sm-2 row-cols-md-5 pt-5 border-top bg-primary d-flex flex-column">
3+
<div class="col mb-3 ms-5">
4+
<h5>You've reached the end!</h5>
5+
<ul class="nav flex-column">
6+
<li class="nav-item mb-2"><a href="/" class="nav-link p-0 text-body-secondary">Home</a></li>
7+
<li class="nav-item mb-2"><a href="https://instagram.com/senaditya" class="nav-link p-0 text-body-secondary">Instagram</a></li>
8+
9+
<li class="nav-item mb-2"><a href="https://twitter.com/senaditya" class="nav-link p-0 text-body-secondary">Twitter</a></li>
10+
</ul>
11+
</div>
12+
<div class="col d-flex ps-5 py-3 w-100" id="copyright">
13+
<span class="text-body-secondary">&copy; 2024 PythonTutorials
14+
</span>
15+
</div>
16+
</footer>

main/templates/main/includes/navbar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a class="navbar-brand col-lg-2 me-0" href="/">
55
<img src="{% static 'main/img/logo.svg' %}" alt="Logo" width="30" height="24"
66
class="d-inline-block align-text-top">
7-
Python Tutorials
7+
PythonTutorials
88
</a>
99
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsExample11"
1010
aria-controls="navbarsExample11" aria-expanded="false" aria-label="Toggle navigation">

screenshot.png

1.21 MB
Loading

0 commit comments

Comments
 (0)