Add header
This commit is contained in:
@@ -90,7 +90,6 @@ ul {
|
|||||||
|
|
||||||
header {
|
header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row-reverse;
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
background-color: $mantle;
|
background-color: $mantle;
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
<header>
|
<header>
|
||||||
|
{%- if request.path != url_for('index') %}
|
||||||
|
<a href="{{ url_for('index') }}">Coders Squad</a>
|
||||||
|
{%- else %}
|
||||||
|
<div></div>
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
<div class="header-links">
|
<div class="header-links">
|
||||||
{%- for (l, t) in (
|
{%- for (l, t) in (
|
||||||
('us', _('about us')),
|
('us', _('about us')),
|
||||||
@@ -11,8 +17,4 @@
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{%- if request.path != url_for('index') %}
|
|
||||||
<a href="{{ url_for('index') }}">Coders Squad</a>
|
|
||||||
{%- endif %}
|
|
||||||
</header>
|
</header>
|
||||||
@@ -57,6 +57,10 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<header>
|
||||||
|
<a href="{{ url_for('index') }}">Coders Squad</a>
|
||||||
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<h3>Development</h3>
|
<h3>Development</h3>
|
||||||
<div class="blocks badges">
|
<div class="blocks badges">
|
||||||
|
|||||||
Reference in New Issue
Block a user