Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110

Deprecated: Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89

Deprecated: Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

templates/components/NewsThumbnail.html.twig line 1

Open in your IDE?
  1. <a
  2.   class="news-thumbnail"
  3.   href="{{generatePath( app.request, article.linkedPageId, {'news_slug' : article.slug } ) }}"
  4. >
  5.   <img
  6.     class="news-thumbnail__image"
  7.     src="{{ imageCache('/' ~ article.getFullImagePath, 'zoomCrop', 1200, 900) }}"
  8.     alt="{{ article.title }}"
  9.     loading="lazy"
  10.   >
  11.   <h2 class="news-thumbnail__title">{{ article.isActive and article.publishDate <= date() ? '' : 'PREVIEW - ' }}{{ article.title }}</h2>
  12.   <span class="news-thumbnail__date">
  13.     {{- article.createdAt | date('d F Y') -}}
  14.   </span>
  15.   <p class="news-thumbnail__excerpt">
  16.     {{- article.excerpt | striptags -}}
  17.   </p>
  18.   <div class="news-thumbnail__footer">
  19.     <span class="news-thumbnail__read-more"
  20.       >Read More <span class="sr-only">about {{ article.title }}</span> <i class="fa-regular fa-angle-right"></i
  21.     ></span>
  22.   </div>
  23. </a>