<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pimcore Company</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css"/>
{#font awesome cdn link#}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
{#custom css file link#}
<style>
.heading {
margin-top:5px;
}
.l-content, .a-content{
font-size: 12px;
color: #A0A5A5;
}
</style>
</head>
<body>
{#header section starts#}
{% include 'includes/company-home-header.html.twig' %}
{#header section ends#}
{#article section starts#}
<section class="articles" id="articles">
<h1 class="heading">Technology <span>Trends</span></h1>
<div class="box-container">
{% for repos in Articles %}
<div class="box">
<img src="/var/assets{{repos.articleImage}}" alt=""><br>
<div class="content">
<div class="icons">
<a href="#"><i class="fas fa-user"></i>{{repos.author}}</a>
<a href="#"><i class="fas fa-calendar"></i>{{repos.articleDate}}</a>
</div>
<h3>{{repos.articleTitle}}</h3>
<div class="a-content">
{{repos.articleDescription | raw}}
</div>
{# <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Veniam, expedita.</p> #}
<a href="/articleDetails?id={{repos.id}}" target="_blank" class="btn">read more</a>
</div>
</div>
{% endfor %}
</div>
</section>
{#article section ends#}
{#footer section starts#}
{% include 'includes/company-footer.html.twig' %}
{#footer section ends#}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script>
jQuery(document).ready(function(){
jQuery('.l-content').each(function(){
var myDiv = $(this);
myDiv.text(myDiv.text().substring(0,130)+'....');
});
jQuery('.a-content').each(function(){
var myDiv = $(this);
myDiv.text(myDiv.text().substring(0,130)+'....');
});
});
</script>
</body>
</html>