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

feat: Footer #58

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions bio_market_store/store/static/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
html {}

body {}

.footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
14 changes: 14 additions & 0 deletions bio_market_store/store/templates/base.html
Wojciech-Wawrzyszko marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bio Market Store</title>
</head>
<body>
{% block body_data %}{% endblock body_data %}

{% include 'footer.html' %}
{% block custom_css %}{% endblock custom_css %}
{% block_custom_js %}{% endblock custom_js %}
Wojciech-Wawrzyszko marked this conversation as resolved.
Show resolved Hide resolved
</body>
</html>
84 changes: 84 additions & 0 deletions bio_market_store/store/templates/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bio Market Store</title>
<style>
html, body {
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
}
.content {
flex: 1;
}
.footer {
background-color: #4CAF50;
color: white;
padding: 10px 0;
text-align: center;
font-size: 14px;
flex-shrink: 0;
}
.footer a {
color: white;
text-decoration: none;
margin: 0 5px;
}
.footer a:hover {
text-decoration: underline;
}
.footer .container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
.footer hr {
border-color: white;
margin: 10px 0;
}
</style>
Wojciech-Wawrzyszko marked this conversation as resolved.
Show resolved Hide resolved
</head>
<body>
<div class="content">

</div>

<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-4">
<h5 style="margin-bottom: 5px;">About Us</h5>
Wojciech-Wawrzyszko marked this conversation as resolved.
Show resolved Hide resolved
<p style="margin: 0;">Fresh, healthy, and organic fruits and vegetables delivered to you.</p>
</div>
<div class="col-md-4">
<h5 style="margin-bottom: 5px;">Quick Links</h5>
<ul style="list-style: none; padding: 0; margin: 0;">
<a href="/">Home</a>
<a href="/products/">Products</a>
<a href="/contact/">Contact</a>
</ul>
</div>
<div class="col-md-4">
<h5 style="margin-bottom: 5px;">Contact</h5>
<a style="margin: 0;">Email: [email protected] &nbsp</a>
<a style="margin: 0;">Phone: +48 500 500 500</a>
</div>
</div>
<hr>
<div class="row">
<div class="col-md-12">
<p style="margin: 0;">Follow us on:
<a href="https://facebook.com/biomarketstore">Facebook</a>
<a href="https://X.com/biomarketstore">X</a>
<a href="https://instagram.com/biomarketstore">Instagram</a>
Wojciech-Wawrzyszko marked this conversation as resolved.
Show resolved Hide resolved
</p>
<p style="margin: 0;">&copy; 2025 Bio Market Store. All rights reserved.</p>
</div>
</div>
</div>
</footer>
</body>
</html>