HackerRank sandbox almost done. Trying to fix some weirdness in the Walmart Supplier templates.

This commit is contained in:
Norm Rasmussen
2024-11-01 14:09:39 -04:00
parent 382822243a
commit 7ae06d16f6
37 changed files with 386 additions and 1056 deletions

View File

@ -1,37 +1,56 @@
<footer class="np-footer">
<footer class="np-footer" style="background-color: transparent;">
<div class="np-footer-top">
{% if website_footer.show_navigation_links? %}
<div class="np-footer-navigation">
<ul class="np-footer-navigation-list">
{% for website_navigation in navigations.footer_navigations %}
<ul class="np-footer-navigation-list" style="padding-left: 200px;">
<li class="np-footer-navigation-item">
<a
class="np-footer-navigation-link np-button-color"
href="{{ website_navigation.path }}"
{% if website_navigation.external? %} target="_blank" {% endif %}
class="np-footer-navigation-link" style="color: #39424e;"
href="https://www.hackerrank.com/work/login"
target="_blank"
>
{{ website_navigation.name }}
Product login
</a>
</li>
<li class="np-footer-navigation-item">
<a
class="np-footer-navigation-link" style="color: #39424e;"
href="https://support.hackerrank.com/hc/en-us"
target="_blank"
>
Knowledge base
</a>
</li>
<li class="np-footer-navigation-item">
<a
class="np-footer-navigation-link" style="color: #39424e;"
href="https://support.hackerrank.com/access/normal"
target="_blank"
>
Support request
</a>
</li>
<li class="np-footer-navigation-item">
<a
class="np-footer-navigation-link" style="color: #39424e;"
href="https://www.hackerrank.com/release/october-2024"
target="_blank"
>
New releases
</a>
</li>
<li class="np-footer-navigation-item">
<a
class="np-footer-navigation-link" style="color: #39424e;"
href="https://www.hackerrank.com/blog/"
target="_blank"
>
Blog
</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if current_school.logo_url %}
<h2 class="np-footer-logo">
<a href="{% route home %}">
<img
alt="{{ current_school.name }}"
class="np-footer-logo-image"
src="{{ current_school.logo_url }}"
/>
</a>
</h2>
{% else %}
<div class="np-school-name np-header-font-color">
{{ current_school.name }}
</div>
{% endif %}
</div>
<div class="np-footer-bottom">
@ -55,24 +74,5 @@
</ul>
{% endif %}
</nav>
{% if website_footer.show_customer_service_email? and
website_footer.school_customer_service_email
%}
<div class="np-footer-support">
<div class="np-footer-support-item np-footer-support-help">
{% t .need_help %}
</div>
<div class="np-footer-support-item np-footer-support-email">
{% t .email %}
</div>
<a
class="np-footer-support-item np-footer-support-link np-button-color"
href="mailto:{{ website_footer.school_customer_service_email }}"
>
{{ website_footer.school_customer_service_email }}
</a>
</div>
{% endif %}
</div>
</footer>