Skip to content

Commit

Permalink
Updated: templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind-4 committed Dec 31, 2022
1 parent 2b10b6f commit f775186
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
8 changes: 2 additions & 6 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="{% static 'img/logo.jpg' %}">
{% include 'css/css.html' %}
<title>{% block title %} {% endblock %}</title>
</head>
Expand All @@ -17,22 +18,17 @@
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{% endfor %}

<body style="background-image: url({% static 'img/background.jpg' %}); background-size: cover;">
<div class="container">
<div class="card border-0 shadow my-5">
<div class="card-body bg-dark">
{% block content %}

{% endblock %}
{% block content %}{% endblock %}
</div>
</div>
</div>

{% include 'js/js.html' %}
<footer>
{% include 'components/footer.html' %}
</footer>

</body>
</html>
2 changes: 1 addition & 1 deletion templates/components/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ul class="navbar-nav container">
<li class="nav-item">
<a class="navbar-brand" href="/">
<img src="{% static 'img/logo.jpg' %}" width="30" height="30">
<img src="{% static 'img/logo.jpg' %}" width="30" height="30" class="rounded-circle">
<font color='white'>Ideas</font>
</a>
</li>
Expand Down
14 changes: 14 additions & 0 deletions templates/home_view.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{% extends 'base.html' %}
{% load static %}

{% block title %} Ideas | Home {% endblock %}

{% block content %}

{% include 'components/carousel.html' %}
{% include 'components/right-hero.html' %}
{% include 'components/jumbotron.html' %}
{% include 'components/main.html' %}
{% include 'components/form.html' %}

{% endblock %}

0 comments on commit f775186

Please sign in to comment.