~dusnm/dusanmitrovic.xyz

405f1514970e7c052df0fa5f85dbfb404d880e4f — Dušan Mitrović 2 years ago d5da9c6
Adding footer badges.

Signed-off-by: Dušan Mitrović <dusan@dusanmitrovic.xyz>
M static/css/style.css => static/css/style.css +8 -0
@@ 501,6 501,14 @@ footer {
    -ms-filter: “FlipH”;
}

.badges {
    margin-top: 0.5rem;
}

.badges a {
    text-decoration: none;
}

@media screen and (max-width: 1000px) {
    .container {
        width: 90%;

A static/images/linux.gif => static/images/linux.gif +0 -0
A static/images/nothingtoblock.gif => static/images/nothingtoblock.gif +0 -0
A static/images/noweb3.gif => static/images/noweb3.gif +0 -0
M views/home.hbs => views/home.hbs +0 -1
@@ 66,6 66,5 @@
            <a href="https://fediring.net/random">Random</a> |
            <a href="https://fediring.net/">Join!</a>
        </p>
        <hr/>
    </main>
</section>

M views/partials/footer.hbs => views/partials/footer.hbs +15 -0
@@ 2,5 2,20 @@
    {{#if session.user}}
        <a href="{{#connectToMastodonURL}}{{/connectToMastodonURL}}">Connect to Mastodon.</a>
    {{/if}}
    <div class="badges">
        <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
            <img alt="Copyright license badge" src="/static/images/cc.png" />
        </a>
        <a href="https://kernel.org">
            <img alt="Made on GNU/Linux badge" src="/static/images/linux.gif" />
        </a>
        </a>
        <a href="https://ublockorigin.com">
            <img alt="Nothing to block badge" src="/static/images/nothingtoblock.gif" />
        </a>
        <a href="https://yesterweb.org/no-to-web3/">
            <img alt="Say no to web3 badge" src="/static/images/noweb3.gif" />
        </a>
    </div>
    <p class="footer-copy"><span class="footer-copyleft">©</span> {{#copyrightDate}}{{/copyrightDate}}, All rights reversed</p>
</footer>