<commit_before>{% extends "::base.html.twig" %}

{% block title %} RateMe App {% endblock %}
{% block subtitle %} <strong>let</strong> visitors rate() your site <br> with no fuss, just include snippet in site code and see what is trending there,<strong> great! :)</strong> {% endblock %}

{% block body %}
<div class="hero is-light is-medium is-bold">
<div class="box">
<div id="rating-app">
    <rating title="Try it, rate me ;)"></rating>
      {# <rating visitor-id=''></rating> #}
</div>
</div>


<section class="hero is-light is-medium is-bold">
<div class="hero-body">
    <div class="container has-text-centered">
        <h2 class="title">You like it, wanna try?</h2>
         <p class="subtitle" >copy snippet on your page and get strarted ...  easy </p>
    <pre> 
        <code class="html has-text-left">
           &#60script href="http://rateme.com/js/app.js"&#62&#60/script&#62
           &#60div id="rating-app"&#62
                &#60rating title="Try it, rate me ;)"&#62&#60/rating&#62
            &#60/div&#62
        </code>
    </pre>
    </div>

    <div class="container has-text-centered">
        <br>
        <p class="subtitle" >You want to add your visitor id based on your login or some other system ... no problem, just add param <strong>visitor-id</strong> </p>
        <pre> 
            <code class="html has-text-left">
             &#60script href="http://rateme.com/js/app.js"&#62&#60/script&#62
             &#60div id="rating-app"&#62
                &#60rating title="Try it, rate me ;)" visitor-id="your-visitor-id"&#62&#60/rating&#62
             &#60/div&#62
         </code>
     </pre>
 </div>
 </div>
</section>

<div class="box is-dark">
    <div class="container has-text-centered">
        <h2 class="title">you just dont like how it looks and you want make your own widget<h2>
        <p class="subtitle">sure no problem, visit api documentetion and have fun</p>
        <a class="button is-info is-outlined" href="/api/doc">Api Documentation</a>
        <hr>
        <h2 class="title">you think this is cool ... but you want to make it better<h2>
        <p class="subtitle">nice ... i approve ... go fork it on github </p>
        <a class="button" href="https://github.com/lkovace/rateme-app">
          <span class="icon is-small">
            <i class="fa fa-github"></i><commit_msg> -- add dynamic url to frontpage scripts<commit_after>{% extends "::base.html.twig" %}

{% block title %} RateMe App {% endblock %}
{% block subtitle %} <strong>let</strong> visitors rate() your site <br> with no fuss, just include snippet in site code and see what is trending there,<strong> great! :)</strong> {% endblock %}

{% block body %}
<div class="hero is-light is-medium is-bold">
<div class="box">
<div id="rating-app">
    <rating title="Try it, rate me ;)"></rating>
      {# <rating visitor-id=''></rating> #}
</div>
</div>


<section class="hero is-light is-medium is-bold">
<div class="hero-body">
    <div class="container has-text-centered">
        <h2 class="title">You like it, wanna try?</h2>
         <p class="subtitle" >copy snippet on your page and get strarted ...  easy </p>
    <pre> 
        <code class="html has-text-left">
           &#60script href="{{ app.request.getSchemeAndHttpHost() }}/js/app.js"&#62&#60/script&#62
           &#60div id="rating-app"&#62
                &#60rating title="Try it, rate me ;)"&#62&#60/rating&#62
            &#60/div&#62
        </code>
    </pre>
    </div>

    <div class="container has-text-centered">
        <br>
        <p class="subtitle" >You want to add your visitor id based on your login or some other system ... no problem, just add param <strong>visitor-id</strong> </p>
        <pre> 
            <code class="html has-text-left">
             &#60script href="{{ app.request.getSchemeAndHttpHost() }}/js/app.js"&#62&#60/script&#62
             &#60div id="rating-app"&#62
                &#60rating title="Try it, rate me ;)" visitor-id="your-visitor-id"&#62&#60/rating&#62
             &#60/div&#62
         </code>
     </pre>
 </div>
 </div>
</section>

<div class="box is-dark">
    <div class="container has-text-centered">
        <h2 class="title">you just don't like how it looks and you want make your own widget<h2>
        <p class="subtitle">sure no problem, visit api documentation and have fun</p>
        <a class="button is-info is-outlined" href="/api/doc">Api Documentation</a>
        <hr>
        <h2 class="title">you think this is cool ... but you want to make it better<h2>
        <p class="subtitle">nice ... i approve ... go fork it on github </p>
        <a class="button" href="https://github.com/lkovace/rateme-app">
          <span class="icon is-small">
            <i class="fa fa-github"></i>
{'fraction_non_alphanumeric': 0.17578947368421052, 'fraction_numerical': 0.02273684210526316, 'mean_word_length': 2.6602465331278893, 'pattern_counts': {'":': 2, '<': 115, '<?xml version=': 0, '>': 115, 'https://': 2, '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': '7389263', 'n_tokens_mistral': 1597, 'n_tokens_neox': 1495, 'n_words': 449}