Skip to content
Permalink
Browse files

Update links and header

  • Loading branch information...
nlaz committed Feb 13, 2019
1 parent 5ff2d8c commit 1cc4c8e1b99201c9abc740209a8512dbfeafa893
@@ -1 +1,17 @@
/* Custom stylesheet */

.nav-link:hover {
color: inherit;
text-decoration: none;
opacity: .75;
}

.link-reset:hover {
color: inherit;
text-decoration: none;
}

.octicon {
display: inline-block;
vertical-align: text-top;
}
BIN +0 Bytes (100%) app/static/favicon.ico
Binary file not shown.
@@ -4,8 +4,12 @@
<div class='d-flex flex-column flex-sm-row justify-content-between align-items-center'>
<small>Project Name © 2019</small>
<span>
<small><a class='text-inherit' href=''>Feedback</a></small>
<small><a class='text-inherit' href=''>GitHub</a></small>
<small class='px-3'>
<a class='text-inherit' href=''>Feedback</a>
</small>
<small class='px-3'>
<a class='text-inherit' href=''>GitHub</a>
</small>
</span>
</div>
</div>
@@ -1,7 +1,7 @@
{% extends 'layout.html' %}

{% block header %}
<div class='bg-blue-light border-bottom border-blue-light text-gray-dark' style='overflow:hidden;'>
<div class='bg-gray-light border-bottom text-gray-dark' style='overflow:hidden;'>
<div class='container position-relative py-5'>
<div class='py-5 my-5'>
<h1 class='display-5 mb-1 text-blue-light'>Hackathon Flask Starter</h1>
@@ -1,32 +1,33 @@
<nav class="navigation bg-gray-dark text-gray-light">
<nav class="navigation bg-gray-dark text-white">
<div class="container">
<div class="d-flex flex-column flex-sm-row justify-content-between align-items-center">
<div class="d-flex flex-column flex-sm-row justify-content-between align-items-center py-2">
<div class="d-flex align-items-center justify-content-between justify-content-sm-start w-100">
<span class="nav-item text-white">
<a class="text-inherit" href="/">
<span class="lead pr-2 pt-1">📦</span>
<span class="text-white">
<a class="link-reset text-inherit pr-3" href="/">
Project Name
</a>
</span>
</div>
<div class="d-flex align-items-center justify-content-between justify-content-sm-end w-100">
<span class="nav-item p-2 m-1">
<a class="text-inherit" href="{{ url_for('github.index') }}">
<span class="nav-item">
<a class="nav-link text-inherit" href="{{ url_for('github.index') }}">
GitHub API
</a>
</span>
</div>
<div class="d-flex align-items-center justify-content-between justify-content-sm-end w-100">
{% if g.user %}
<span class="nav-item p-2 d-flex align-items-center">
<img src="{{ g.user['avatar_url'] }}" class='rounded mr-2' style='width:24px; height:24px;'/>
<span class="d-flex align-items-center p-2 pr-3">
<img src="{{ g.user['avatar_url'] }}" class='rounded mr-2' style='width:24px;height:24px;'/>
{{ g.user['username'] }}
</span>
{% endif %}
{% if g.user %}
<span class="nav-item p-2 m-1">
<a class="text-inherit" href="{{ url_for('auth.logout') }}">Log out</a>
<span class="nav-item">
<a class="nav-link text-inherit" href="{{ url_for('auth.logout') }}">Log out</a>
</span>
{% else %}
<span class="nav-item p-2 m-1">
<a class="text-inherit" href="{{ url_for('auth.githubLogin') }}">Login with GitHub</a>
<span class="nav-item">
<a class="nav-link text-inherit" href="{{ url_for('auth.githubLogin') }}">
Login with GitHub
</a>
</span>
{% endif %}
</div>

0 comments on commit 1cc4c8e

Please sign in to comment.
You can’t perform that action at this time.