|
| 1 | +{{- $footer := .Site.Params.footer }} |
| 2 | +{{- $logo := index $footer "logo" }} |
| 3 | +{{- $quickLinks := index $footer "quicklinks" }} |
| 4 | +{{- $socialMedia := index $footer "socialmedia" }} |
| 5 | +<footer id="footer" class="footer"> |
| 6 | + <div class="container"> |
| 7 | + <div id="footer-columns" class="columns"> |
| 8 | + <div class="footer-logo-column"> |
| 9 | + <img id="footer-logo" src="{{ printf "/images/logos/%s" $logo | relURL }}" alt="SciPy logo."> |
| 10 | + </div> |
| 11 | + {{- range $quickLinks }} |
| 12 | + <div class="link-column"> |
| 13 | + <div class="footer-column"> |
| 14 | + <div class="footer-header"> |
| 15 | + </div> |
| 16 | + <ul class="link-list"> |
| 17 | + {{- range .links }} |
| 18 | + <li class="link-list"> |
| 19 | + <a class="footer-link" href="{{ .link }}"> |
| 20 | + {{ .text }} |
| 21 | + </a> |
| 22 | + </li> |
| 23 | + {{- end }} |
| 24 | + </ul> |
| 25 | + </div> |
| 26 | + </div> |
| 27 | + {{- end }} |
| 28 | + <div class="footer-actions"> |
| 29 | + <p>Sign up for the latest SciPy news, resources, <br> and more</p> |
| 30 | + <!-- Begin Mailchimp --> |
| 31 | + <form action="https://numpy.us4.list-manage.com/subscribe/post?u=5ddd0d1d6e807900a8212481a&id=287fa4253c" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate sign-up-container" target="_blank" novalidate> |
| 32 | + <div class="sign-up-image"> |
| 33 | + <i class="far fa-envelope"></i> |
| 34 | + </div> |
| 35 | + <input type="email" value="" name="EMAIL" class="required email sign-up-input" id="mce-EMAIL" aria-label="Input for email, press enter to submit" onkeypress="if (event.which === 13 || event.keyCode === 13 || event.key === 'Enter') sendThankYou()" /> |
| 36 | + <div class="submission-instructions">Press Enter</div> |
| 37 | + <button class="signup-button" onclick="sendThankYou()" aria-label="Submit"> |
| 38 | + <i class="far fa-paper-plane"></i> |
| 39 | + </button> |
| 40 | + <div id="mce-responses" class="clear"> |
| 41 | + <div class="response" id="mce-error-response" style="display:none"></div> |
| 42 | + <div class="response" id="mce-success-response" style="display:none"></div> |
| 43 | + </div> |
| 44 | + <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> |
| 45 | + <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_5ddd0d1d6e807900a8212481a_287fa4253c" tabindex="-1" value=""></div> |
| 46 | + <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button" style="display: none;"></div> |
| 47 | + </form> |
| 48 | + <div class="thank-you">Thank you! 🎉</div> |
| 49 | + <!--End MailChimp --> |
| 50 | + |
| 51 | + <nav class="level is-mobile"> |
| 52 | + <div class="social-media-icons"> |
| 53 | + {{- range $socialMedia }} |
| 54 | + <a class="level-item" href="{{ .link }}" aria-label="{{ .link }}"> |
| 55 | + <span class="icon"><i class="fab fa-{{ .icon }}"></i></span> |
| 56 | + </a> |
| 57 | + {{- end }} |
| 58 | + </div> |
| 59 | + </nav> |
| 60 | + <div class="copyright">© 2021 SciPy. All rights reserved.</div> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | +</footer> |
0 commit comments