This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ React.Children.map(child => child.type == Item ? child : null) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- impressão de valor no front --> | |
<div class="main-bar"> | |
{{ Config.General.Store.Phone }} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.text { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
display: -webkit-box; | |
-webkit-line-clamp: 2; /* number of lines to show */ | |
-webkit-box-orient: vertical; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function normalizeText (text) { | |
return text.normalize("NFD").replace(/[\u0300-\u036f]/g, ""); | |
} | |
// normalizeText('áçí') => aci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/datepicker/1.0.10/datepicker.css" integrity="sha512-n/98Hzv7vnNVN8bL5s+hajql1X8LVhS/kPJIMxpXinGzcIVcM+SKTG54IKnRVz8vPIJmWWtyRyP3p4aK3vLiZw==" crossorigin="anonymous" referrerpolicy="no-referrer"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/datepicker/1.0.10/datepicker.min.js" integrity="sha512-RCgrAvvoLpP7KVgTkTctrUdv7C6t7Un3p1iaoPr1++3pybCyCsCZZN7QEHMZTcJTmcJ7jzexTO+eFpHk4OCFAg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/datepicker/1.0.10/i18n/datepicker.pt-BR.min.js" integrity="sha512-ecglO5oibZlGXLfdIbAuHLD7QIM3DOB2eCDrMOIpcP+V05KNWHv+6DmwDkw43N3noRS/0k37wOhCS0WlGz82Ow==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | |
<script type="text/javascript"> | |
$('#rd-text_field-kyvprveb').datepicker({ | |
autoclose: true, | |
language: 'pt-BR', | |
format: 'DD/MM/YYYY', | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#rd-button-kyvzb3m6').on('click', function (e) { | |
e.preventDefault(); | |
$('html, body').animate({ | |
scrollTop: $('#rd-box-joq3m2m2').offset().top | |
}, 800, 'swing', function () { | |
$('input[name="name"]').focus(); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.element { | |
scrollbar-width: none; | |
&::-webkit-scrollbar { | |
display: none !important; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
const formattedList = new Intl.ListFormat('pt-BR').format(["Banana", "Maça", "Laranja"]); | |
console.log(formattedList); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function exibir_pesquisas () { | |
$args = array( | |
'post_type' => 'desenvolvimento', 'posts_per_page' => -1 | |
); | |
$wp_query = new WP_Query($args); | |
if ($wp_query->have_posts()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for image in post.meta('field_name') %} | |
<img src="{{ image.imagem.url }}" alt="" /> | |
{% endfor %} |
OlderNewer