Browse Source

Profile: move bot label

imwald
Nuša Pukšič 3 days ago
parent
commit
8d06cd69e2
  1. 4
      assets/styles/01-base/typography.css
  2. 11
      templates/partial/_author-section.html.twig

4
assets/styles/01-base/typography.css

@ -57,6 +57,10 @@ h1:not(.brand) > a:hover {
font-weight: 500; font-weight: 500;
} }
h1 .tag {
vertical-align: text-top;
}
h2 { h2 {
font-size: 2.2rem; font-size: 2.2rem;
} }

11
templates/partial/_author-section.html.twig

@ -1,10 +1,11 @@
<section> <section>
<h1><twig:Atoms:NameOrNpub :author="author" :npub="npub"></twig:Atoms:NameOrNpub></h1> <h1>
{% if author.bot is defined %} <twig:Atoms:NameOrNpub :author="author" :npub="npub"></twig:Atoms:NameOrNpub>
<div class="tags"> {% if author.bot is defined %}
<span class="tag">bot</span> <span class="tag">bot</span>
</div> {% endif %}
{% endif %} </h1>
{% if author.lud16 is defined and author.lud16 %} {% if author.lud16 is defined and author.lud16 %}
<twig:Molecules:ZapButton <twig:Molecules:ZapButton

Loading…
Cancel
Save