style: pattern

This commit is contained in:
Rushabh Mehta
2019-08-15 13:42:54 +05:30
parent 4e2489094b
commit 4a7e26d4e5
3 changed files with 15 additions and 2 deletions

View File

@@ -45,4 +45,11 @@ footer {
.lead-max {
font-weight: 400;
}
.hero-bg {
padding-top: 4rem;
padding-bottom: 4rem;
background-color: #2f365f;
background-image: url("data:image/svg+xml,%3Csvg width='12' height='16' viewBox='0 0 12 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 .99C4 .445 4.444 0 5 0c.552 0 1 .45 1 .99v4.02C6 5.555 5.556 6 5 6c-.552 0-1-.45-1-.99V.99zm6 8c0-.546.444-.99 1-.99.552 0 1 .45 1 .99v4.02c0 .546-.444.99-1 .99-.552 0-1-.45-1-.99V8.99z' fill='%23794acf' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

View File

@@ -9,7 +9,7 @@
'',
'Showcase the services you provide for ERPNext to the global community,
understand their challenges and explore solutions with them.',
'/assets/foundation/img/conf/2019/foundation-splash.png',
'',
'<a class="mt-4 btn btn-primary btn" href="/request-a-call">Book a Stall</a>'
) }}

View File

@@ -56,7 +56,7 @@
{% endmacro %}
{% macro hero(title, pre_title, subtitle, bg_image, cta_html) %}
<section class='hero-section text-center bg-dark' style='background-image: url("{{ bg_image }}") !important; background-size: cover;'>
<section class='hero-section text-center bg-dark hero-bg'>
<div class='container'>
<!-- <img src='/assets/foundation/img/icons/microprocessor.svg' style='height: 100px; margin-bottom: 2rem; margin-top: -1rem'> -->
<div>
@@ -119,6 +119,12 @@
'17 and 18 October <br> Mysore Association Auditorium, Matunga'
) }}
{% endif %}
{% if events|len < 3 %}
<p class='text-center'>
<a href='/conf/2019' class='text-muted'>Conference Home</a>
</p>
{% endif %}
</div>
</div>
</section>