templates/Home/listing.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.         <title>Pimcore Company</title>
  8.         
  9.        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css"/>
  10.         
  11.         
  12.         {#font awesome cdn link#}
  13.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
  14.         
  15.         {#custom css file link#}
  16.         
  17.         <style>
  18.             #ban:hover{
  19.                 background-color:orange;
  20.             }
  21.             .l-content, .a-content{
  22.                 font-size: 12px;
  23.                 color: #A0A5A5;
  24.             }
  25.             #review-fa{
  26.                 color:#759698;
  27.             }
  28.             .swiper-slide{
  29.                 box-shadow: var(--box-shadow);
  30.             }
  31.             .repo-left{
  32.                 width : 65%;
  33.                 display:inline;
  34.                 float:left;
  35.                 background-color: #F9FBFF!important;
  36.                 margin-left: 20px;
  37.                 box-shadow: var(--box-shadow);
  38.                 border-radius: 15px;
  39.             }
  40.             .repo-right{
  41.                 width : 35%;
  42.                 display:inline;
  43.             }
  44.             .about-repo{
  45.                 padding:10px;
  46.                 height:455px;
  47.             }
  48.             .right-img{
  49.                 padding-left: 10px;
  50.                 width: 400px;
  51.                 padding-top: 3px;
  52.                 height: 289px;
  53.             }
  54.             .repo-left p{
  55.                 padding:15px;
  56.                 font-size:14px;
  57.                 font-style:oblique;
  58.                 color:#606F8A;
  59.                 word-spacing: 1px;
  60.             }
  61.             .h-repo{
  62.                 font-size:26px;
  63.                 text-align:center;
  64.                 color:#0C2425;
  65.                 padding:20px;
  66.             }
  67.             .features{
  68.                 width: 80%;
  69.                 text-align: left;
  70.                 margin: auto;
  71.                 padding: 30px;
  72.                 word-spacing: 1px;
  73.                 font-size:14px;
  74.                 border-radius: 30px;
  75.                 background-color: #F9FBFF;
  76.                 box-shadow: var(--box-shadow);
  77.             }
  78.             .features-main{
  79.                 height:800px;
  80.             }
  81.         </style>
  82.     </head>
  83.     <body>
  84.         {#header section starts#}
  85.         
  86.     {% include 'includes/company-home-header.html.twig' %}
  87.     
  88.         {#header section ends#}
  89.         
  90.         {#home section starts#}
  91.         
  92.         <section class="home" id="home">
  93.             <div class="content">
  94.                 <h3>Welcome to the digital realm of <span>Companies Repository!</span> </h3>
  95.                 <p>This repository is the culmination of our commitment to cultivating a culture of shared learning, continuous improvement, and effective knowledge management.</p>
  96.                 <a href="#" class="ban" id="ban">Learn more</a>
  97.             </div>
  98.         </section>
  99.         
  100.         {#home section ends#}
  101.         <div class="about-repo">
  102.             {# <h2 class="h-repo">About Repos</h2> #}
  103.             <h1 class="heading"> About <span>Repos</span></h1>
  104.             <div class="repo-left">
  105.                 
  106.                 <p>The Company Repository stands as a digital sanctuary of knowledge, innovation, and collaboration, meticulously designed to empower our organization's endeavors. It serves as an intellectual vault, meticulously housing a wealth of information, resources, and insights that underpin the core functions of our company. This repository is the embodiment of our commitment to fostering a culture of shared learning, continuous advancement, and efficient knowledge management.</p>
  107.                 <p>The Company Repository functions as a dynamic nexus where invaluable intellectual assets converge, align, and are readily accessible to all stakeholders. Within its virtual corridors, one can navigate through an eclectic assortment of documents, presentations, research findings, project histories, best practices, and other pivotal company intelligence. Through an intricate system of organization and indexing, this repository becomes a pivotal tool in heightening productivity, streamlining decision-making, and nurturing interdepartmental cooperation.</p>
  108.                 
  109.             </div>
  110.             <div class="repo-right">
  111.                 <img src = "https://img.freepik.com/free-vector/wireless-technology-glow-isometric-composition-with-cloud-big-data-storage-communication-teleconference-presentation-drone-delivery_1284-27115.jpg?w=360" class="right-img">
  112.             </div>
  113.         </div>
  114.         {#companies section starts#}
  115.         <section class="companies" id="#">
  116.             
  117.             <h1 class="heading">Listing <span>Companies</span></h1>
  118.             <div class="box-container">
  119.                 {% for repos in Companies | slice(0,3) %}
  120.                 <div class="box">
  121.                     <img src="/var/assets{{repos.companyLogo}}" alt="">
  122.                     <h3>{{repos.businessName}}</h3>
  123.                     <div class="l-content">
  124.                         {{repos.Description | raw}}
  125.                         {#<a href="/companyDetails?id={{repos.id}}" target="_blank" class="btn">read more</a>#}
  126.                     </div>
  127.                     <a href="/companyDetails?id={{repos.id}}" target="_blank" class="btn">read more</a>
  128.                 </div>
  129.                {% endfor %}  
  130.             </div>
  131.            
  132.         </section>
  133.         
  134.         {#companies section ends#}
  135.         
  136.         
  137.         {#article section starts#}
  138.         
  139.         <section class="articles" id="articles">
  140.             <h1 class="heading">Technology <span>Trends</span></h1>
  141.             <div class="box-container">
  142.                 {% for repos in Articles | slice(0,3) %}
  143.                 <div class="box">
  144.                     <img src="/var/assets{{repos.articleImage}}" alt=""><br>
  145.                     <div class="content">
  146.                         <div class="icons">
  147.                             <a href="#"><i class="fas fa-user"></i>{{repos.author}}</a>
  148.                             <a href="#"><i class="fas fa-calendar"></i>{{repos.articleDate}}</a>
  149.                         </div>
  150.                         <h3>{{repos.articleTitle}}</h3>
  151.                         <div class="a-content">
  152.                             {{repos.articleDescription | raw}}
  153.                         </div>
  154.                         {# <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Veniam, expedita.</p> #}
  155.                         <a href="/articleDetails?id={{repos.id}}" target="_self" class="btn">read more</a>
  156.                     </div>
  157.                 </div>
  158.                {% endfor %} 
  159.             </div>
  160.         </section>
  161.         <div class="features-main">
  162.             <h1 class="heading"> Repository <span>Features</span></h1>
  163.             <div class="features">
  164.                 <h3 style="font-size:20px; color:#051023;">Key Features:</h3>
  165.                     <b style="color:#061530; font-size:15px;">Knowledge Enrichment:</b> <p>The repository employs an intuitive taxonomy, enabling seamless classification and organization of knowledge. Documents are meticulously tagged, ensuring that searches yield precise results and users can locate insights effortlessly.</p><br>
  166.                     <b style="color:#061530; font-size:15px;">Version Control Mastery:</b> <p>Vigilant version control safeguards against the proliferation of outdated or contradictory information. Users gain access to the most current resources, enriching their efforts with the latest developments.</p><br>
  167.                     <b style="color:#061530; font-size:15px;">Collaboration Catalyst:</b> <p>Beyond a static storage space, the repository acts as a crucible for collaboration. Team members engage in real-time co-creation and collaborative editing, facilitating synergistic ideation.</p><br>
  168.                     <b style="color:#061530; font-size:15px;">Innovation Enclave:</b> <p>The repository serves as a launchpad for innovative ideas, a realm where employees can share radical concepts, research discoveries, and experimental undertakings. This environment stimulates creative thinking and accelerates new initiatives.</p><br>
  169.                     <b style="color:#061530; font-size:15px;">Onboarding Excellence:</b> <p>An indispensable resource for new members, the repository accelerates the onboarding process through comprehensive training materials and resources. This equips newcomers to swiftly become contributing assets to the organization.</p><br>
  170.                     <b style="color:#061530; font-size:15px;">Secure Sanctuary:</b> <p>A robust security framework ensures confidential information remains safeguarded. Access privileges are diligently managed, allowing only authorized personnel to engage with sensitive materials.</p><br>
  171.                     <b style="color:#061530; font-size:15px;">Analytics Insights:</b> <p>The repository provides data-driven insights into usage patterns and engagement metrics. These insights inform resource allocation, content augmentation, and training strategies.</p>
  172.             </div>
  173.         </div>
  174.         {#article section ends#}
  175.         
  176.         
  177.         {#reviews section starts#}
  178.         <section class="review" id="review">
  179.             <h1 class="heading"><span>Reviews</span></h1>
  180.             <div class="swiper review-slider">
  181.                 <div class="swiper-wrapper">
  182.                     {% for repos in ReviewsAndRatings %}
  183.                     <div class="swiper-slide box">
  184.                       {#<img src="../_default_upload_bucket/company.jpg" alt="">#}
  185.                       <i class="fas fa-user" style="font-size:10rem;" id="review-fa"></i>
  186.                       <h3>{{repos.companies}}</h3>
  187.                     <p>{{repos.writeReview}}</p>
  188.                     {% if repos.name|length %}
  189.                     <h2>Reviewer's Name: {{repos.name}}</h2>
  190.                     {% endif %}
  191.                     {% if repos.designation|length %}
  192.                     <p id="designation">{{repos.designation}}</p>
  193.                     {% endif %}
  194.                       <h3> {{repos.rating}}</h3>
  195.                       
  196.                       {#rating looping section starts#}
  197.                       {#<div class="d-flex" style="color: orange;">#}
  198.                       {#      {% for i in range(0, 4) %}#}
  199.                       {#          {% if repos.rating - i + 0.0000000001 >= 0.8 %}#}
  200.                       {#              <i class="bi bi-star-fill"></i>#}
  201.                       {#          {% elseif repos.rating - i - 0.0000000001 <= 0.2 %}#}
  202.                       {#              <i class="bi bi-star"></i>#}
  203.                       {#          {% else %}#}
  204.                       {#              <i class="bi bi-star-half"></i>#}
  205.                       {#          {% endif %}#}
  206.                       {#      {% endfor %}#}
  207.                       {#          <span class="ps-1">{{repos.rating}}</span>#}
  208.                       {#      </div>#}
  209.                       
  210.                       <div class="d-flex" style="color: orange;">
  211.                             {% for i in range(0, 4) %}
  212.                                 {% if repos.rating - i >= 0.8 %}
  213.                                     <i class="fas fa-star"></i>
  214.                                 {% elseif repos.rating - i <= 0.2 %}
  215.                                     <i class="far fa-star"></i>
  216.                                 {% else %}
  217.                                     <i class="fas fa-star-half-alt"></i>
  218.                                 {% endif %}
  219.                             {% endfor %}
  220.                                 {#<span class="ps-1">{{repos.rating}}</span>#}
  221.                             </div>
  222.                       
  223.                       {#rating looping section ends#}
  224.                     </div>
  225.                     {% endfor %}
  226.                 </div>
  227.             </div>
  228.         </section>
  229.         
  230.         {#reviews section ends#}
  231.         
  232.         
  233.         
  234.         {#footer section starts#}
  235.         
  236.         {% include 'includes/company-footer.html.twig' %}
  237.         
  238.         {#footer section ends#}
  239.         
  240.         
  241.         
  242.         {#custom js file link#}
  243.         <script src="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"></script>
  244.             <script>
  245.             
  246.             let navbar = document.querySelector('.navbar');
  247.             document.querySelector('#menu-btn').onclick = () => {
  248.                 navbar.classList.toggle('active');
  249.                 searchForm.classList.remove('active');
  250.                 shoppingCart.classList.remove('active');
  251.                 loginForm.classList.remove('active');
  252.             }
  253.             
  254.             window.onscroll = () =>{
  255.                 searchForm.classList.remove('active');
  256.                 shoppingCart.classList.remove('active');
  257.                 loginForm.classList.remove('active');
  258.                 navbar.classList.remove('active');
  259.             }
  260.             
  261.             var swiper = new Swiper(".review-slider",{
  262.                 loop:true,
  263.                 spaceBetween: 20,
  264.                 autoplay: {
  265.                     delay: 7500,
  266.                     disableOnInteraction: false,
  267.                 },
  268.                 centeredSlides: true,
  269.                 breakpoints: {
  270.                     0: {
  271.                         slidePreview: 1,
  272.                     },
  273.                     768: {
  274.                         slidesPerView: 2,
  275.                     },
  276.                     1024: {
  277.                         slidesPerView: 3,
  278.                     },
  279.                 },
  280.             });
  281.             
  282.         </script>
  283.     </body>
  284. </html>
  285. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
  286. <script>
  287. jQuery(document).ready(function(){
  288.     jQuery('.l-content').each(function(){
  289.         var myDiv = $(this);
  290.         myDiv.text(myDiv.text().substring(0,130)+'....');
  291.     });
  292.     jQuery('.a-content').each(function(){
  293.         var myDiv = $(this);
  294.         myDiv.text(myDiv.text().substring(0,130)+'....');
  295.     });
  296. });
  297. </script>