<!DOCTYPE html>
<html>
<head>
{% block meta %}
{% set uri = app.request.uri %}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1547501902380553');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1547501902380553&ev=PageView&noscript=1"/></noscript>
<!-- End Meta Pixel Code -->
<meta property="og:site_name" content="triwu_u">
{%if (uri|slice(uri|length -8, 8)=="product/") %}
<meta property="og:image" itemprop="image" content="{{ absolute_url(asset('build/images/logo.png')) }}">
{% endif %}
<meta property="og:type" content="website" />
<meta property="og:url" content="{{uri}}" />
<meta property="fb:app_id" content="1140827673514308"/>
{% set meta_title = get_meta_title(app.request.uri) %}
{% set meta_description = get_meta_description(app.request.uri) %}
{% if meta_title is not null%}
<meta name="title" content="{{ meta_title }}" />
{% endif %}
{% if meta_description is not null%}
<meta name="description" content="{{ meta_description }}" />
{% endif %}
{% endblock meta %}
<title>
{% block title %}triwu_u
{% endblock %}
</title>
<link rel="icon" href="{{ asset('build/images/favicon.png') }}">
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock stylesheets %}
<div class="js-translations" data-translations="{{ loadTranslations()|json_encode()|e('html_attr') }}"></div>
{% block javascripts %}
<script type='text/javascript'>
var requestLanguage = "{{ app.request.locale }}";
</script>
{{ encore_entry_script_tags('app') }}
{% endblock javascripts %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5Z94GW2');</script>
<!-- End Google Tag Manager -->
</head>
<body>
{% block menu %}
{% include 'components/header/header.html.twig' %}
{% endblock menu %}
{% block body %}
<main class="{% block mainClass %}{% endblock %}">
<div class="row">
<div class="col">
<div id="flashMessages">
{% include '_base_flashes.html.twig' %}
</div>
</div>
</div>
{% block login %}
<section class="grid tablet:grid-cols-2">
<div class="hidden tablet:block login-bg bg-shadow-50">
<img src="{{ asset('build/images/index_rrss.png') }}" class="object-cover w-full h-full" />
</div>
<div class="p-edge">
<div class="text-center flex items-center justify-center min-h-[75vh] desktop:max-w-lg mx-auto">
{% block index_left_card_body %}
<div class="container">
<div class="row">
<h1 class="h5">{{ 'general.logintitle'|trans }}</h1>
</div>
<div class="mt-5 row">
<div class="gap-2 mx-auto d-grid col-md-8">
<a class="btn btn--md btn--primary btn-rrss text-sm desktop:text-lg" href="{{ path('app_register') }}">
<img alt="triwu_u sign-in" src="{{asset('build/images/triwuu_sign_in_logo.svg')}}" />
{{ 'general.register.email'|trans }}
</a>
<a class="btn btn-outline-dark btn-rrss text-sm desktop:text-lg" href="{{ path('connect_google') }}">
<img alt="Google sign-in" src="{{asset('build/images/google_sign_in_logo.svg')}}" />
{{ 'general.register.google'|trans }}
</a>
<a class="btn btn-outline-dark btn-rrss-fb text-sm desktop:text-lg" href="{{ path('connect_facebook') }}">
<img alt="Facebook sign-in"
src="{{asset('build/images/facebook_sign_in_logo.svg')}}" />
{{ 'general.register.facebook'|trans }}
</a>
<p class="mt-5 fw-bold text-uppercase"><a class="text-dark"
href="{{ path('app_login') }}">{{ 'general.loginhere'|trans }}</a></p>
</div>
</div>
</div>
{% endblock index_left_card_body %}
</div>
</div>
</section>
{% endblock login %}
{% block content %}
{% endblock content %}
</main>
{% endblock body %}
<!-- Modal -->
{#
<div class="pt-4 modal modal-app fade bg-modal-img" id="boardingModal" tabindex="-1" aria-labelledby="boardingModalLabel"
data-firsttime="{% if(app.user and app.user.isOnBoarding == true) %}true{% else %}false{%endif%}"
aria-hidden="true">
<div class="mx-auto modal-dialog modal-dialog-centered md:p-5" style="width: 45vh;">
<div class="p-2 border-0 shadow modal-content">
<div class="mb-4 border-0 row">
<div class="col">
<div
class="top-0 bg-white position-absolute start-50 translate-middle rounded-circle img-tw-ob">
<img src="{{asset('build/images/img-onboarding.png')}}" class="p-2 bg-transparent border-0"
alt="MINIATURA ONBOARDING">
</div>
</div>
</div>
<div class="row">
<div class="px-2 d-flex justify-content-center">
<video id="onboardingVideo" src="{{ asset('build/images/video-onboarding.mp4') }}" controls class="p-3 mw-100">
{{ 'general.video_format.unsupported'|trans }}
</video>
</div>
</div>
<div class="row">
<div class="py-2 col-lg-12 text-end sticky-bottom">
<button type="button" class="btn btn-secondary" id="dismissBoardingButton"
data-bs-dismiss="modal">{{ 'general.skiptutorial'|trans }}</button>
</div>
</div>
</div>
</div>
</div>
#}
{% block footer %}
{% include 'components/footer/footer.html.twig' %}
{% endblock footer %}
{% set currentPath = path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) %}
{% if not app.user and currentPath not in [
'/login-rrss',
'/register',
'/register-rrss',
'/check-register-rrss',
'/quienes-somos',
'/login',
'/reset-password',
'/reset-password/check-email',
'/reset-password/reset'
] %}
{% import 'components/modals/login.html.twig' as login %}
{{ login.create() }}
{% endif %}
{% import 'components/modals/modal-triwers-offer.html.twig' as triwersModal %}
{{ triwersModal.create() }}
{% import 'components/modals/modal-countdown.html.twig' as countDownModal %}
{{ countDownModal.create() }}
{% import 'components/modals/modal-buying-groups.html.twig' as buyingGroupsModal %}
{{ buyingGroupsModal.create() }}
{% if app.environment == 'prod' %}
<!-- Chatra {literal} -->
<script>
window.ChatraSetup = {
colors: {
buttonText: '#ECFDF4',
buttonBg: '#31D29E'
}
};
(function(d, w, c) {
w.ChatraID = 'S9LS9puhpWQPcjvDH';
var s = d.createElement('script');
w[c] = w[c] || function() {
(w[c].q = w[c].q || []).push(arguments);
};
s.async = true;
s.src = 'https://call.chatra.io/chatra.js';
if (d.head) d.head.appendChild(s);
})(document, window, 'Chatra');
</script>
<!-- /Chatra {/literal} -->
{% endif %}
</body>
</html>