HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/linde-ai/html/assets/icons/README.md
# Icons

We usually use services such as Fontastic, IcoMoon or Fontello to generate SVG sprite file from which we reference images in UI. This gives us the ability to cache this "main" SVG file and also use SVG icons without having to manually inline SVG content into HTML.

## Including icons

If you need icons on this website, make sure to create a Twig component that can be reused in order to avoid having to define path to SVG sprite every time icon is needed in UI:

> Put below code in /wp-content/themes/linde/templates/partials/icon.twig

```twig
{# Example:
    {% include "templates/partials/icon.twig" with { 'name': 'name-of-icon', 'icon_class': 'my-class' } %}
#}

{# Variables:
  name: ""
  class: ""
#}

{% if include_code %}
{{ source( "{{ function('get_frontend_static_asset', 'assets/icons/icons.svg') }}#icon-{{ name }}" ) }}
{% else %}
  <svg class="icon icon-{{ name }} {{ icon_class }}">
    <use xlink:href="{{ function('get_frontend_static_asset', 'assets/icons/icons.svg') }}#icon-{{ name }}"></use>
  </svg>
{% endif %}
```

This example is a good starting point that can be adapted to fit the needs of this website.