feat: make app title a link to threads.home
This commit is contained in:
parent
81a1de2c45
commit
7836b78f64
2 changed files with 26 additions and 2 deletions
|
@ -49,6 +49,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
& a.app-title {
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
header,
|
header,
|
||||||
footer {
|
footer {
|
||||||
background: var(--ayo-gradient);
|
background: var(--ayo-gradient);
|
||||||
|
@ -312,7 +322,9 @@
|
||||||
<a id="top"></a>
|
<a id="top"></a>
|
||||||
<header>
|
<header>
|
||||||
{% include "nav.html" %}
|
{% include "nav.html" %}
|
||||||
|
<a class="app-title" href="{{url_for('threads.home')}}">
|
||||||
<h1>{{ app.title }}</h1>
|
<h1>{{ app.title }}</h1>
|
||||||
|
</a>
|
||||||
<p>{{ app.description }}</p>
|
<p>{{ app.description }}</p>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -49,6 +49,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
& a.app-title {
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
header,
|
header,
|
||||||
footer {
|
footer {
|
||||||
background: var(--ayo-gradient);
|
background: var(--ayo-gradient);
|
||||||
|
@ -306,7 +316,9 @@
|
||||||
<a id="top"></a>
|
<a id="top"></a>
|
||||||
<header>
|
<header>
|
||||||
{% include "nav.html" %}
|
{% include "nav.html" %}
|
||||||
|
<a class="app-title" href="{{url_for('threads.home')}}">
|
||||||
<h1>{{ app.title }}</h1>
|
<h1>{{ app.title }}</h1>
|
||||||
|
</a>
|
||||||
<p>{{ app.description }}</p>
|
<p>{{ app.description }}</p>
|
||||||
</header>
|
</header>
|
||||||
<main class={{ "thread" if threads|length==1 else "home" }}>
|
<main class={{ "thread" if threads|length==1 else "home" }}>
|
||||||
|
|
Loading…
Reference in a new issue