{% set body_classes = ['business-card'] %}
{% set title = 'company_show.title'|trans({'%name%': profile.name, '%city%': profile.city.name}) %}
{% set description = 'company_show.description'|trans({'%name%': profile.name, '%city%': profile.city.name}) %}
{% set keywords = 'company_show.keywords'|trans({'%name%': profile.name, '%city%': profile.city.name}) %}
{% extends 'base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('company_show') }}
{% endblock stylesheets %}
{% block content %}
<main class="maincontent">
<div class="container">
<div class="breadcrumbs">
<a href="{{ path('homepage') }}">{{ 'company_show.breadcrumbs.home'|trans|raw }}</a>
<a href="{{ path('city_companies_list', {'id': profile.city.id, 'slug': profile.city.slug}) }}">
{{ profile.city.name }}
</a>
<span>{{ profile.name }}</span>
</div>
</div>
<div class="container">
<div class="certificate-container {{ profile|get_profile_styles }}">
<div class="description-wrapper animate-on-scroll-left">
<div class="opacity-wrapper">
<div class="title">
<div class="image-wrapper">
<img src="{{ asset('build/images/logo-award.svg') }}" alt="">
<img class="gold" src="{{ asset('build/images/logo-award-gold.svg') }}" alt="">
</div>
<div class="text-wrapper">
<h1>{{ 'company.title'|trans|raw }}</h1>
<div class="gold-label">{{ 'company.gold_label'|trans|raw }}</div>
</div>
</div>
<h3 class="company">{{ profile.name }}</h3>
<div class="status">
<span class="label">{{ 'company.status_label'|trans|raw }}</span>
<span class="value active">{{ 'company.status_active'|trans|raw }}</span>
<span class="value not-active">{{ 'company.status_not_active'|trans|raw }}</span>
</div>
<div class="expiration-date">
{{ 'company.expiration_date'|trans({
'%date%' : profile.validityDate|date('d.m.Y')
})|raw }}
</div>
<div class="first-audit">
{{ 'company.first_audit'|trans({'%date%': profile.createdAt|audit_date})|raw }}
</div>
</div>
{% if profile|is_expired_profile %}
<div class="renew-certificate-wrapper">
<p>{{ 'company_show.renew_expired_message'|trans }}</p>
<a class="btn-two"
href="{{ path('renew_certificate', {'id': profile.id, 'slug': profile.slug}) }}"
rel="nofollow"
>
{{ 'company_show.renew_button'|trans }}
</a>
</div>
{% endif %}
</div>
<div class="image-wrapper animate-on-scroll-right">
{% if profile.certificateImage %}
<img src="{{ profile.certificateImage }}" alt="certificate">
{% else %}
<img src="/static-media/IMAGES_CERTIFICATE_CERTIFICATE_PNG--STANDARD" alt="">
{% endif %}
</div>
</div>
</div>
<div class="container">
<div class="company-info-container">
<div class="description-left-wrapper">
{% if profile.logo %}
<div class="image-wrapper">
<img src="{{ profile.logo }}" alt="Logo">
</div>
{% endif %}
<div class="company-data-wrapper">
<h6>{{ 'company.data'|trans|raw }}</h6>
<div class="item">{{ 'company.data.name'|trans({'%name%': profile.name})|raw }}</div>
{% if profile.nip %}
<div class="item no-phone">
{{ 'company.data.nip'|trans({'%nip%': profile.nip})|raw }}
</div>
{% endif %}
<div class="item">
{{ 'company.company.address'|trans({
'%address%': profile.street,
'%city%': profile.cityAndPostalCode
})|raw }}
</div>
<div class="item">
{{ 'company.company.category'|trans({'%category%': profile.category})|raw }}
</div>
{% if profile.displayWebsite and profile.website %}
{% set displayUrl = profile.website|domain %}
{% if displayUrl %}
<a class="website-link"
href="{{ profile.website }}"
rel="nofollow noopener noreferrer"
>
{{ displayUrl }}
</a>
{% endif %}
{% endif %}
</div>
<div class="social-wrapper">
{% if profile.tiktok %}
<a href="{{ profile.tiktok }}" title="Tiktok" rel="nofollow noopener noreferrer">
<img src="{{ asset('build/images/icons/tiktok.png') }}" alt="">
</a>
{% endif %}
{% if profile.instagram %}
<a href="{{ profile.instagram }}" title="Instagram" rel="nofollow noopener noreferrer">
<img src="{{ asset('build/images/icons/instagram.png') }}" alt="">
</a>
{% endif %}
{% if profile.facebook %}
<a href="{{ profile.facebook }}" title="Facebook" rel="nofollow noopener noreferrer">
<img src="{{ asset('build/images/icons/facebook.png') }}" alt="">
</a>
{% endif %}
</div>
{% if profile.phone %}
<div class="buttons-container" {{ stimulus_controller('show_company_phone') }}>
<button class="btn-two" {{ stimulus_action('show_company_phone', 'reveal', 'click') }}>
{{ 'company.show_phone_button'|trans|raw }}
</button>
<a href="tel:{{ profile.phone }}"
{{ stimulus_target('show_company_phone', 'phone') }}
class="telephone"
style="display: none;"
>
{{ profile.phone }}
</a>
</div>
{% endif %}
</div>
<div class="description-right-wrapper no-phone">
<div class="date">
{{ 'company.ai_description.verification_date'|trans({
'%date%': profile.reportCreatedAt|date('d.m.Y')
})|raw }}
</div>
<h3>{{ 'company.ai_description'|trans }}</h3>
<ol>
<li>
{{ 'company.ai_description.business_identification'|trans({
'%text%': profile.businessIdentification
})|raw }}
</li>
<li>
{{ 'company.ai_description.scope_of_activity'|trans({
'%text%': profile.scopeOfActivity
})|raw }}
</li>
<li>
{{ 'company.ai_description.review_analysis'|trans({
'%text%': profile.reviewAnalysis
})|raw }}
</li>
<li>
{{ 'company.ai_description.media_mentions'|trans({
'%text%': profile.mediaMentions
})|raw }}
</li>
<li>
{{ 'company.ai_description.social_media'|trans({
'%text%': profile.socialMedia
})|raw }}
</li>
</ol>
<p>{{ 'company.ai_description.final_conclusion'|trans({
'%text%': profile.finalConclusion
})|raw }}
</p>
<p>{{ 'company.ai_description.final_rating'|trans|raw }}</p>
</div>
</div>
</div>
<div class="container mobile-no-paddings">
<div class="is-company-pass-container">
<div class="image-wrapper animate-on-scroll-left">
<img src="/static-media/IMAGES_HOMEPAGE_CERTIFICATE_CUP_PNG--STANDARD" alt="">
</div>
<div class="description-wrapper animate-on-scroll-right">
<h3>{{ 'company.ai_check_title'|trans|raw }}</h3>
<p>{{ 'company.ai_check_text'|trans|raw }}</p>
<div class="buttons-container">
<a href="{{ path('signup') }}" class="btn-three btn-right-blue-arrow">
{{ 'company.ai_check_button'|trans|raw }}
</a>
</div>
</div>
</div>
</div>
{% if profile.description %}
<div class="container">
<div class="company-info-container">
<div class="description-left-wrapper"></div>
<div class="description-right-wrapper">
<div class="description-title">{{ 'company_show.company_description'|trans }}</div>
<div class="company-description">{{ profile.description }}</div>
</div>
</div>
</div>
{% endif %}
{% if profile.randomProfiles|length > 0 %}
<div class="container no-paddings">
<div class="winning-companies-container">
<div class="title">
<h3>{{ 'company.other_companies'|trans|raw }}</h3>
</div>
<div class="items-container animate-on-scroll-bottom">
{% for rProfile in profile.randomProfiles|slice(0, 2) %}
<div class="item-wrapper {{ rProfile|get_profile_styles }}">
<div class="image-wrapper">
<img src="{{ asset('build/images/logo-award.svg') }}" alt="">
<div class="status">{{ rProfile|profile_status_label|raw }}</div>
<div class="expiration-date">
{{ 'company.expiration_date'|trans({
'%date%' : rProfile.validityDate|date('d.m.Y')
})|raw }}
</div>
</div>
<div class="description-wrapper">
<h6>
<a href="{{ path('company_show', {'id': rProfile.id, 'slug': rProfile.slug}) }}">
{{ rProfile.name }}
</a>
</h6>
<p>{{ rProfile.city.name|capitalize }}</p>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if is_guest() %}
{% include '_partials/signup-fixed-bottom-cta.html.twig' %}
{% endif %}
</main>
{% endblock content %}