mirror of https://github.com/lxndrblz/anatole.git

Timothée Andres
2 days ago 7c76b55a1c1412579d4556075e5a4d92060c695f
fix: add animation on 404 content and mobile footer (#559)

* fix: add animation on 404 content

---------

Co-authored-by: Alexander Bilz <mail@alexbilz.com>
3 files modified
32 ■■■■■ changed files
layouts/404.html 8 ●●●● patch | view | raw | blame | history
layouts/partials/footer.html 8 ●●●● patch | view | raw | blame | history
layouts/partials/sidebar.html 16 ●●●● patch | view | raw | blame | history
layouts/404.html
@@ -1,5 +1,11 @@
{{ define "main" }}
  <div class="page_404">
  <div
    class="page_404 {{ with .Site.Params.doNotLoadAnimations }}
      .
    {{ else }}
      animated fadeInDown
    {{ end }}"
  >
    <h1>404</h1>
    <h2>{{ i18n "page_not_found" }}</h2>
    <p>{{ i18n "page_does_not_exist" }}</p>
layouts/partials/footer.html
@@ -9,7 +9,13 @@
  {{- end -}}
{{- end -}}
<footer class="footer footer__{{ .footerClassModifier }}">
  <ul class="footer__list">
  <ul
    class="footer__list {{ with .context.Site.Params.doNotLoadAnimations }}
      .
    {{ else }}
      animated fadeInDown
    {{ end }}"
  >
    <li class="footer__item">
      &copy;
      {{ if isset .context.Site.Params "copyright" }}
layouts/partials/sidebar.html
@@ -1,11 +1,11 @@
<div
  class="sidebar{{ with .Site.Params.doNotLoadAnimations }}
    .
  {{ else }}
    animated fadeInDown
  {{ end }}"
>
  <div class="sidebar__content">
<div class="sidebar">
  <div
    class="sidebar__content {{ with .Site.Params.doNotLoadAnimations }}
      .
    {{ else }}
      animated fadeInDown
    {{ end }}"
  >
    <div class="sidebar__introduction">
      <img
        class="sidebar__introduction-profileimage"