Sponsors styling
This commit is contained in:
parent
257bfdff06
commit
b3558166d1
10 changed files with 221 additions and 1 deletions
|
@ -65,6 +65,9 @@
|
|||
{{ page.content }}
|
||||
</div>{# /.layout-content #}
|
||||
|
||||
<div class="layout-content-bottom">
|
||||
{{ page.content_bottom }}
|
||||
</div>{# /.layout-content-bottom #}
|
||||
</main>
|
||||
|
||||
{% if page.footer %}
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme override to display a region.
|
||||
*
|
||||
* Available variables:
|
||||
* - content: The content for this region, typically blocks.
|
||||
* - attributes: HTML attributes for the region <div>.
|
||||
* - region: The name of the region variable as defined in the theme's
|
||||
* .info.yml file.
|
||||
*
|
||||
* @see template_preprocess_region()
|
||||
*/
|
||||
#}
|
||||
{%
|
||||
set classes = [
|
||||
'region',
|
||||
'region-' ~ region|clean_class,
|
||||
]
|
||||
%}
|
||||
{% if content %}
|
||||
<div{{ attributes.addClass(classes) }}>
|
||||
<h2>Our <span>Sponsors</span></h2>
|
||||
{{ content }}
|
||||
<div class="sponsor-link">
|
||||
<a href="/sponsors">{{ 'See all sponsors'|t }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
Reference in a new issue