Commit 4fbb9b24 authored by John Punzalan's avatar John Punzalan

add FR

parent 7649bdbe
......@@ -359,3 +359,17 @@ footer {
.info-block a:hover {
color: #949494 !important;
}
.concept-title {
display: inline-block;
padding-bottom: 35px;
}
.lang-sel {
padding-left: 10px;
font-size: 15px;
}
.lang-sel span {
cursor: pointer;
}
.lang-sel .active {
text-decoration: underline;
}
......@@ -27,6 +27,11 @@
cssEase: 'linear'
});
$('.nav-lang').click(function(e) {
$('.nav-lang').removeClass('active');
$(this).addClass('active');
});
$('.nav-french').click(function() {
$('.js-slide').slick('slickGoTo', 0);
});
......
......@@ -168,4 +168,21 @@ footer {
color: #949494 !important;
}
}
}
.concept-title {
display: inline-block;
padding-bottom: 35px;
}
.lang-sel {
padding-left: 10px;
font-size: 15px;
span {
cursor: pointer;
}
.active {
text-decoration: underline;
}
}
\ No newline at end of file
......@@ -17,24 +17,18 @@
<div class="row-fluid right-block-text concept-rel" style="height: calc(100vh - 109px);">
<div class="row-fluid">
<h2 class="some-page-title"><?= the_title() ?></h2>
<h2 class="concept-title"><?= the_title() ?></h2><span class="lang-sel"><span class="nav-lang nav-french active">FR</span> | <span class="nav-lang nav-english nav-active">EN</span></span>
</div>
<div class="js-slide">
<div>
<div class="row-fluid">
<div class="text-justify"><?= get_field('left_column_text'); ?></div>
</div>
<div class="row-fluid nav-concept text-center">
<span class="nav-lang nav-french nav-active">Français</span> | <span class="nav-lang nav-english">English</span>
</div>
</div>
<div>
<div class="row-fluid">
<div class="text-justify translate-text"><?= get_field('right_column_text'); ?></div>
</div>
<div class="row-fluid nav-concept text-center">
<span class="nav-lang nav-french">Français</span> | <span class="nav-lang nav-english nav-active">English</span>
</div>
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment