forked from M-Labs/web2019
fix(issue24): Corrects custom layout for office direction
This commit is contained in:
parent
f9fe47a414
commit
413ceb4fe7
@ -34,28 +34,6 @@ Those transportation options take you to King's Road, then see the directions be
|
||||
|
||||
<div class="row">
|
||||
|
||||
{% layout_card(src="images/directions_1@2x.png", imgbottom=true, rmcard=true) %}
|
||||
|
||||
<span class="badge badge-primary">1</span> When entering from King's Road, Pan Hoi Street looks like this. Go to the location of the red arrow:
|
||||
|
||||
{% end %}
|
||||
|
||||
|
||||
{% layout_card(src="images/directions_2@2x.png", imgbottom=true, rmcard=true) %}
|
||||
|
||||
<p style="padding-bottom: 46px;">
|
||||
<span class="badge badge-primary">2</span> Enter here:
|
||||
</p>
|
||||
|
||||
{% end %}
|
||||
|
||||
|
||||
{% layout_card(src="images/directions_3@2x.png", imgbottom=true, rmcard=true) %}
|
||||
|
||||
<p style="padding-bottom: 21px;">
|
||||
<span class="badge badge-primary">3</span> Turn right here, walk a little bit, and M-Labs will be on your left:
|
||||
</p>
|
||||
|
||||
{% end %}
|
||||
{{ layout_flex_office_direction() }}
|
||||
|
||||
</div>
|
43
templates/shortcodes/layout_flex_office_direction.html
Normal file
43
templates/shortcodes/layout_flex_office_direction.html
Normal file
@ -0,0 +1,43 @@
|
||||
<div class="col-12">
|
||||
|
||||
<div class="d-flex flex-column flex-md-row justify-content-between align-items-stretch">
|
||||
|
||||
<div class="d-flex flex-column justify-content-between pr-md-3 pb-3 pb-md-0" style="flex: 1;">
|
||||
|
||||
<div>
|
||||
|
||||
<span class="badge badge-primary">1</span> When entering from King's Road, Pan Hoi Street looks like this. Go to the location of the red arrow:
|
||||
|
||||
</div>
|
||||
|
||||
<img class="img-fluid" style="" src="{{ get_url(path='images/directions_1@2x.png', cachebust=true) }}">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="d-flex flex-column justify-content-between pl-md-3 pr-md-3 pb-3 pb-md-0" style="flex: 1;">
|
||||
|
||||
<div>
|
||||
|
||||
<span class="badge badge-primary">2</span> Enter here:
|
||||
|
||||
</div>
|
||||
|
||||
<img class="img-fluid" style="" src="{{ get_url(path='images/directions_2@2x.png', cachebust=true) }}">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="d-flex flex-column justify-content-between pl-md-3 pb-3 pb-md-0" style="flex: 1;">
|
||||
|
||||
<div>
|
||||
|
||||
<span class="badge badge-primary">3</span> Turn right here, walk a little bit, and M-Labs will be on your left:
|
||||
|
||||
</div>
|
||||
|
||||
<img class="img-fluid" style="" src="{{ get_url(path='images/directions_3@2x.png', cachebust=true) }}">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user