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,
|
||||
footer {
|
||||
background: var(--ayo-gradient);
|
||||
|
@ -312,7 +322,9 @@
|
|||
<a id="top"></a>
|
||||
<header>
|
||||
{% include "nav.html" %}
|
||||
<h1>{{ app.title }}</h1>
|
||||
<a class="app-title" href="{{url_for('threads.home')}}">
|
||||
<h1>{{ app.title }}</h1>
|
||||
</a>
|
||||
<p>{{ app.description }}</p>
|
||||
|
||||
</header>
|
||||
|
|
|
@ -49,6 +49,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
header {
|
||||
& a.app-title {
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
header,
|
||||
footer {
|
||||
background: var(--ayo-gradient);
|
||||
|
@ -306,7 +316,9 @@
|
|||
<a id="top"></a>
|
||||
<header>
|
||||
{% include "nav.html" %}
|
||||
<h1>{{ app.title }}</h1>
|
||||
<a class="app-title" href="{{url_for('threads.home')}}">
|
||||
<h1>{{ app.title }}</h1>
|
||||
</a>
|
||||
<p>{{ app.description }}</p>
|
||||
</header>
|
||||
<main class={{ "thread" if threads|length==1 else "home" }}>
|
||||
|
|
Loading…
Reference in a new issue