diff --git a/assets/img/main_background.jpg b/assets/img/main_background.jpg new file mode 100644 index 0000000..ebf00dc Binary files /dev/null and b/assets/img/main_background.jpg differ diff --git a/templates/partials/header.html b/templates/partials/header.html index aa94290..b0f5a82 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -35,23 +35,25 @@ {% endif %} -
  • -
    - - {% if request.user.avatar %} - {% thumbnail request.user.avatar "75x75" crop="center" as im %} - profile-image - {% endthumbnail %} - {% else %} - {% if request.user.gender == "female" %} - profile-image + {% if request.user.is_authenticated %} +
  • +
    + + {% if request.user.avatar %} + {% thumbnail request.user.avatar "75x75" crop="center" as im %} + profile-image + {% endthumbnail %} {% else %} - profile-image + {% if request.user.gender == "female" %} + profile-image + {% else %} + profile-image + {% endif %} {% endif %} - {% endif %} - -
    -
  • + + + + {% endif %} {% if request.user.is_authenticated %}
  • diff --git a/templates/partials/sass/home.sass b/templates/partials/sass/home.sass index 29713da..945575e 100644 --- a/templates/partials/sass/home.sass +++ b/templates/partials/sass/home.sass @@ -3,7 +3,7 @@ .home background: - image: url("#{$static}/img/main.png") + image: url("#{$static}/img/main_background.jpg") repeat: no-repeat position: center size: cover