Skip to content

Commit

Permalink
Update logo and spacing (MLH#5)
Browse files Browse the repository at this point in the history
* Update logo and placement

* Update favicon

* Fix spacing

* Update page spacing
  • Loading branch information
nlaz committed Feb 21, 2019
1 parent d7e9b3c commit 2b1c842
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 22 deletions.
Binary file modified app/static/favicon.ico
Binary file not shown.
Binary file modified app/static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions app/templates/guides/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

{% block header %}
<div class="bg-dark text-light">
<div class="container text-center py-5 my-5">
<img src="{{ url_for('static', filename='logo.png') }}" class="w-100" style="max-width:115px;" />
<div class="mt-2 mb-4">
<div class="container text-center py-5 mb-4">
<img src="{{ url_for('static', filename='logo.png') }}" class="w-100" style="max-width:120px;" />
<div class="mt-3 mb-4">
<h1 class="h1 mb-0">{% block title %}{% endblock %}</h1>
<h2 class="h4 font-weight-light text-gray-light">{% block subtitle %}{% endblock %}</h2>
</div>
Expand Down
22 changes: 8 additions & 14 deletions app/templates/home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,23 @@

{% block header %}
<div class="bg-gray-light border-bottom border-gray-light">
<div class="container text-center py-5 mb-5">
<div class="mb-4">
<a href="https://github.com/MLH/mlh-hackathon-flask-starter"><img src="https://img.shields.io/github/stars/MLH/mlh-hackathon-flask-starter.svg?style=social"/></a>
<a href="https://github.com/MLH/mlh-hackathon-flask-starter/fork"><img src="https://img.shields.io/github/forks/MLH/mlh-hackathon-flask-starter.svg?style=social"/></a>
</div>
<img src="{{ url_for('static', filename='logo.png') }}" class="w-100" style="max-width:115px;" />
<div class="mt-2 mb-4">
<div class="container text-center py-5 mb-4">
<img src="{{ url_for('static', filename='logo.png') }}" class="w-100" style="max-width:120px;" />
<div class="mt-3 mb-4">
<h1 class="h1 mb-0">Hackathon Flask Starter</h1>
<h2 class="h4 text-gray font-weight-light">Build your hackathon project faster.</h2>
</div>
<a class="btn btn-primary" href="https://github.com/MLH/mlh-hackathon-flask-starter">
<a class="btn btn-primary mt-2" href="https://github.com/MLH/mlh-hackathon-flask-starter">
Check the Docs
</a>
</div>
</div>
{% endblock %}

{% block content %}
<div class="text-gray-light py-5 my-5">
<div class="container text-center py-5">
<p class="lead">Edit <code>templates/</code> to update the layout and styling.</p>
<p class="lead">Edit <code>models/</code> to update how the data is stored.</p>
<p class="lead">Edit <code>views/</code> to update the controller layer.</p>
</div>
<div class="text-gray-light text-center py-5 my-5">
<p class="lead">Edit <code>templates/</code> to update the layout and styling.</p>
<p class="lead">Edit <code>models/</code> to update how the data is stored.</p>
<p class="lead">Edit <code>views/</code> to update the controller layer.</p>
</div>
{% endblock %}
9 changes: 4 additions & 5 deletions app/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,20 @@
<link rel="stylesheet" href="{{ url_for('static', filename='colors.css') }}" >
{% endblock %}
</head>
<body class='d-flex flex-column' style='min-height: 100vh;'>
<body>
{% include 'nav.html' %}

{% include 'flash.html' %}

{% block header %}{% endblock %}

<div class='content' style='flex-grow: 1;'>
{% block content %}{% endblock %}
</div>
{% block content %}{% endblock %}

{% block footer %}{% endblock %}

<!-- Scripts for Bootstrap -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="https://buttons.github.io/buttons.js"></script>
</body>
</html>

0 comments on commit 2b1c842

Please sign in to comment.