Skip to content

Commit

Permalink
Add new sponsors to home screen (#33)
Browse files Browse the repository at this point in the history
Add three new sponsors to the home screen. Improve style of text asking
potential sponsors to get in touch with organizers.
  • Loading branch information
santisoler authored Oct 23, 2023
1 parent 1aad2e4 commit 23ddc33
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 7 deletions.
7 changes: 6 additions & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ subtitle = "The 7th International Symposium on Three-Dimensional Electromagnetic

# Sponsors
sponsors = [
{image="dmec.png", alt_text="Decennial Mineral Exploration Conferences", url="https://www.dmec.ca", style="min-height: 100px"},
{image="condor.png", alt_text="Condor Consulting", url="https://www.condorconsult.com", style="min-height: 120px"},
{image="convolutions-black.png", alt_text="Convolutions Geosciences", url="https://www.convolutions.ca"},
]

# Organizers
Expand Down Expand Up @@ -78,6 +81,8 @@ community as a scientist, educator, colleague, and friend.
"""

sponsor_about = """
Please reach out to `[email protected]` and `[email protected]` if you are interested in sponsoring 3DEM-7.
Please reach out to [[email protected]](mailto:[email protected]) and
[[email protected]](mailto:[email protected]) if you are interested in
sponsoring 3DEM-7.
"""
+++
8 changes: 8 additions & 0 deletions sass/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ main.home
width: auto
height: 60px

.sponsors-about
p
font-size: 0.9 * $font-size-base
a
color: var(--bs-body-color)
text-decoration: underline
font-weight: 500

img.organizer
width: auto
height: auto
Expand Down
Binary file added static/images/condor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/convolutions-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/convolutions-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/dmec.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 8 additions & 6 deletions templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,21 @@ <h3>
<section id="sponsors">
<div class="container">
<h2>Sponsors</h2>
<div class="row">
<div class="d-flex flex-row flex-wrap gap-5 justify-content-evenly align-items-center mb-5">
{% for sponsor in section.extra.sponsors %}
<div class="col">
<a href="{{ sponsor.url }}">
<a href="{{ sponsor.url }}" title="{{ sponsor.alt_text }}">
<img
class="sponsor"
src="{{ get_url(path="/images/" ~ sponsor.image) }}"
alt="{{ sponsor.alt_text }}">
alt="{{ sponsor.alt_text }}"
{% if sponsor.style %}
style="{{ sponsor.style }}"
{% endif %}
>
</a>
</div>
{% endfor %}
</div>
<div class="row me-auto ms-auto text-center">
<div class="sponsors-about row me-auto ms-auto text-center">
{{ section.extra.sponsor_about | markdown(inline=false) | safe }}
</div>
</div>
Expand Down

0 comments on commit 23ddc33

Please sign in to comment.