<commit_before>{% if domains.length != 0  %}

    {% if domain == null %}
        <div class="garage-sites-added">
            <h1 class="garage-sites-added__title">Select project to view events list</h1>

            {% for domain in domains %}
                {% set url = "/garage/" ~ domain.name %}
                <a href="{{ url }}">
                    <div class="garage-sites-added__item">
                        <img class="garage-sites-added__img" src="">
                        <span class="garage-sites-added__name">{{ domain.name }}</span>
                        {% if domain.events.unread %}
                            <span class="garage-sites-added__new-events">+{{ domain.events.unread }} new</span>
                        {% endif %}
                        <span class="garage-sites-added__events">{{ domain.events.count }} events</span>
                    </div>
                </a>
            {% endfor %}

            <a class="garage-sites-added__add-project" href="/websites/create">+ Add another project</a>
        </div>
    {% endif %}

{% else %}

    <div class="no-domains">
        {{ svg('/public/svg/stack-gray.svg') }}
        <div class="no-domains__text">To start improving your projects, <br> add the first one and set up an integration</div>
        <a class="no-domains__add-project" href="/websites/create">+ Add project</a><commit_msg>remove +<commit_after>{% if domains.length != 0  %}

    {% if domain == null %}
        <div class="garage-sites-added">
            <h1 class="garage-sites-added__title">Select project to view events list</h1>

            {% for domain in domains %}
                {% set url = "/garage/" ~ domain.name %}
                <a href="{{ url }}">
                    <div class="garage-sites-added__item">
                        <img class="garage-sites-added__img" src="">
                        <span class="garage-sites-added__name">{{ domain.name }}</span>
                        {% if domain.events.unread %}
                            <span class="garage-sites-added__new-events">{{ domain.events.unread }} new</span>
                        {% endif %}
                        <span class="garage-sites-added__events">{{ domain.events.count }} events</span>
                    </div>
                </a>
            {% endfor %}

            <a class="garage-sites-added__add-project" href="/websites/create">+ Add another project</a>
        </div>
    {% endif %}

{% else %}

    <div class="no-domains">
        {{ svg('/public/svg/stack-gray.svg') }}
        <div class="no-domains__text">To start improving your projects, <br> add the first one and set up an integration</div>
        <a class="no-domains__add-project" href="/websites/create">+ Add project</a>
{'fraction_non_alphanumeric': 0.1576283441793203, 'fraction_numerical': 0.0021691973969631237, 'mean_word_length': 1.7504970178926442, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2880103', 'n_tokens_mistral': 842, 'n_tokens_neox': 747, 'n_words': 166}