Skip to content

Commit

Permalink
Merge pull request #321 from ayobi/project_specific_home_page
Browse files Browse the repository at this point in the history
project specific home page - sbi
  • Loading branch information
cassidysymons authored Sep 13, 2024
2 parents 8198e5f + faee841 commit 4d107bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Binary file added microsetta_interface/static/img/sbi-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions microsetta_interface/templates/home.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
background-color: #f1f1f2;
padding:2rem;
}
.sbi-logo {
max-width: 300px;
height: auto;
}
</style>
{% endblock %}

Expand All @@ -22,8 +26,12 @@
<div class="row h-25"></div>
<div class="row h-50">
<div class="col d-flex flex-column">
<div class="flex-fill">
<img src="/static/img/{{ _(EN_US_KEY) }}/the-microsetta-initiative-logo-rgb-1.png" srcset="/static/img/{{ _(EN_US_KEY) }}/the-microsetta-initiative-logo-rgb-1@2x.png 2x,/static/img/{{ _(EN_US_KEY) }}/the-microsetta-initiative-logo-rgb-1@3x.png 3x" />
<div class="flex-fill">
{% if request.args.get('project') == 'sbi' %}
<img class="sbi-logo" src="/static/img/sbi-logo.png" alt="Skin Biome Initiative Logo" />
{% else %}
<img src="/static/img/{{ _(EN_US_KEY) }}/the-microsetta-initiative-logo-rgb-1.png" srcset="/static/img/{{ _(EN_US_KEY) }}/the-microsetta-initiative-logo-rgb-1@2x.png 2x, /static/img/{{ _(EN_US_KEY) }}/the-microsetta-initiative-logo-rgb-1@3x.png 3x" />
{% endif %}
</div>

<div class="flex-fill mt-3">
Expand Down

0 comments on commit 4d107bc

Please sign in to comment.