]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/index.html
add spacing and menu on mobile
[people/shoehn/ipfire.org.git] / templates / index.html
index 93c95becc9ba1bad8e62b03a24f8148dad5b5d99..50a0589f9e31abd7db519507a640fcc3dc55e6a4 100644 (file)
                <div class="container">
                        <h3 class="display-2 text-center">{{ _("Secure up your network with IPFire") }}</h2>
        
-                       <div class="row mb-6">
-                               <div class="col-4">
+                       <div class="row mb-lg-6 mb-md-5">
+                               <div class="col-md-6 col-lg-4 mb-6 pb-lg-5">
                                        <div class="feature_icons">
                                                <svg width="18" height="22" viewBox="0 0 18 22" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M-3-1h24v24H-3z"/><path d="M9 0L0 4v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V4L9 0zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V11H2V5.3l7-3.11v8.8z" fill="#b71c1c"/></g></svg>
                                        </div>
-                                       <h4>{{ _("Firewall") }}</h4>
+                                       <h4 class="pb-3">{{ _("Firewall") }}</h4>
                                        <p>
                                                {% if lang == "de" %}
                                                        Die vielseitige und State-of-the-Art Firewall-Engine
                                        </p>
                                </div>
                                
-                               <div class="col-4">
+                               <div class="col-md-6 col-lg-4 mb-6">
                                        <div class="feature_icons">
                                                <svg width="20" height="18" viewBox="0 0 20 18" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M-2-3h24v24H-2z"/><path d="M10 13a3 3 0 0 1-3-3c0-1.12.61-2.1 1.5-2.61l9.71-5.62-5.53 9.58c-.5.98-1.51 1.65-2.68 1.65zm0-13c1.81 0 3.5.5 4.97 1.32l-2.1 1.21C12 2.19 11 2 10 2a8 8 0 0 0-8 8c0 2.21.89 4.21 2.34 5.65h.01c.39.39.39 1.02 0 1.41-.39.39-1.03.39-1.42.01A9.969 9.969 0 0 1 0 10C0 4.477 4.477 0 10 0zm10 10c0 2.76-1.12 5.26-2.93 7.07-.39.38-1.02.38-1.41-.01a.996.996 0 0 1 0-1.41A7.95 7.95 0 0 0 18 10c0-1-.19-2-.54-2.9L18.67 5C19.5 6.5 20 8.18 20 10z" fill="#b71c1c" fill-rule="nonzero"/></g></svg>
                                        </div>
-                                       <h4>{{ _("Performance") }}</h4>
+                                       <h4 class="pb-3">{{ _("Performance") }}</h4>
                                        <p>
                                                {% if lang == "de" %}
                                                        Auch schnelle Netze und der Einsatz
                                        </p>    
                                </div>
                                
-                               <div class="col-4">
+                               <div class="col-md-6 col-lg-4 mb-6">
                                        <div class="feature_icons">
                                                <svg width="22" height="14" viewBox="0 0 22 14" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path id="a" d="M0 0h24v24H0z"/></defs><g transform="translate(-1 -5)" fill="none" fill-rule="evenodd"><mask id="b" fill="#fff"><use xlink:href="#a"/></mask><path d="M21 10c-1.1 0-2 .9-2 2v3H5v-3c0-1.1-.9-2-2-2s-2 .9-2 2v5c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2zm-3-5H6c-1.1 0-2 .9-2 2v2.15c1.16.41 2 1.51 2 2.82V14h12v-2.03c0-1.3.84-2.4 2-2.82V7c0-1.1-.9-2-2-2z" fill="#b71c1c" mask="url(#b)"/></g></svg>
                                        </div>
-                                       <h4>{{ _("Easy to use") }}</h4>
-                                       <p>
+                                       <h4 class="pb-3">{{ _("Easy to use") }}</h4>
+                                       <p class="mb-1">
                                                {% if lang == "de" %}
                                                        IPFire ist in 15 bis 20 Minuten installiert
                                                        und kommt mit vielen wichtigen Funktionen für
                                                {% end %}
                                        </p>
                                </div>
-                       </div>
-                                               
-                       <div class="row mb-6 pb-4">
-                               <div class="col-4">
+
+                               <div class="col-md-6 col-lg-4 mb-6">
                                        <div class="feature_icons">
                                                <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M-2-2h24v24H-2z"/><path d="M11 16h1a1 1 0 0 1 1 1h7v2h-7a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1H0v-2h7a1 1 0 0 1 1-1h1v-1.66C6.07 13.13 4 10 4 6.67v-4L10 0l6 2.67v4c0 3.33-2.07 6.46-5 7.67V16zM10 2L6 3.69V7h4V2zm0 5v6c1.91-.47 4-2.94 4-5V7h-4z" fill="#b71c1c" fill-rule="nonzero"/></g></svg>
                                        </div>
-                                       <h4>{{ _("Network Security") }}</h4>
+                                       <h4 class="pb-3">{{ _("Network Security") }}</h4>
                                        <p>
                                                {% if lang == "de" %}
                                                        Sicherheit hat höchste Priorität.
                                        </p>
                                </div>
                                
-                               <div class="col-4">
+                               <div class="col-md-6 col-lg-4 mb-6">
                                        <div class="feature_icons">
                                                <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M-2-2h24v24H-2z"/><path d="M10 0C4.477 0 0 4.477 0 10c0 4.42 2.87 8.17 6.84 9.5.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34-.46-1.16-1.11-1.47-1.11-1.47-.91-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.87 1.52 2.34 1.07 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.92 0-1.11.38-2 1.03-2.71-.1-.25-.45-1.29.1-2.64 0 0 .84-.27 2.75 1.02.79-.22 1.65-.33 2.5-.33.85 0 1.71.11 2.5.33 1.91-1.29 2.75-1.02 2.75-1.02.55 1.35.2 2.39.1 2.64.65.71 1.03 1.6 1.03 2.71 0 3.82-2.34 4.66-4.57 4.91.36.31.69.92.69 1.85V19c0 .27.16.59.67.5C17.14 18.16 20 14.42 20 10A10 10 0 0 0 10 0z" fill="#b71c1c" fill-rule="nonzero"/></g></svg>
                                        </div>
-                                       <h4>{{ _("Open Source") }}</h4>
+                                       <h4 class="pb-3">{{ _("Open Source") }}</h4>
                                        <p>
                                                {% if lang == "de" %}
                                                        IPFire ist freie Software, welche von einer offenen
                                        </p>
                                </div>
                                
-                               <div class="col-4">
+                               <div class="col-md-6 col-lg-4 mb-6">
                                        <div class="feature_icons">
                                                <svg width="20" height="19" viewBox="0 0 20 19" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M-2-3h24v24H-2z"/><path d="M10 18.35l-1.45-1.32C3.4 12.36 0 9.28 0 5.5 0 2.42 2.42 0 5.5 0 7.24 0 8.91.81 10 2.09 11.09.81 12.76 0 14.5 0 17.58 0 20 2.42 20 5.5c0 3.78-3.4 6.86-8.55 11.54L10 18.35z" fill="#b71c1c"/></g></svg>
                                        </div>
-                                       <h4>{{ _("Trusted by thousands") }}</h4>
+                                       <h4 class="pb-3">{{ _("Trusted by thousands") }}</h4>
                                        <p>
                                                {% if lang == "de" %}
                                                        IPFire wird in Europa entwickelt,
                        </div>
                        
                        <div class="row justify-content-center pt-4">
-                               <a class="btn btn-primary btn-lg" href="/get-started">{{ _("Get Started") }}</a>
-                               <a class="btn btn-white btn-lg" href="/learn-more">{{ _("Learn more") }}</a>
+                               <a class="btn btn-primary btn-lg px-4" href="/get-started">{{ _("Get Started") }}</a>
+                               <a class="btn btn-white btn-lg px-4" href="/learn-more">{{ _("Learn more") }}</a>
                        </div>
                </div>
        </section>
        <section id="news" class="content-section">
                <div class="container">
                        <div class="row">
-                               <div class="col-5">
+                               <div class="col col-md-5 mb-6">
                                        <h2 class="display-2 mb-6">Latest Release</h2>
-                                       <p class="mb-2"><small>{{ locale.format_date(latest_release.date, shorter=True) }}</small></p>
+                                       <p class="mb-3"><small>{{ locale.format_date(latest_release.date, shorter=True) }}</small></p>
                                        <h3 class="display-3 mb-5 pb-5"><a href="/news/{{ latest_release.news.slug }}">
                                                        {{ _("%s has been released!") % latest_release.name }}
                                                </a>
                                        <p>A complete history of IPFire releases is available at our <a href="/news">News</a> page.</p>
                                </div>
                                
-                               <div class="col-5 offset-2">
+                               <div class="col col-md-5 offset-md-2">
                                        <h2 class="display-2 mb-6">What&rsquo;s going on?</h2>
                                        <dl class="dl-horizontal">
                                                {% for type, item in latest_news %}
                        <h2 class="display-2 text-center">Fire<strong>Info</strong> Statistics</h2>
                        
                        <div class="row pb-5 mb-6">
-                               <div class="col-3 text-center">
+                               <div class="col-6 col-md-3 text-center">
                                        <p class="mb-3"><small>Latest Release</small></p>
                                        <h4>2.19 Core 109</h4>  
                                </div>
                                
-                               <div class="col-3 text-center">
+                               <div class="col-6 col-md-3 text-center">
                                        <p class="mb-3"><small>Favorite Kernel</small></p>
                                        <h4>3.14.79-ipfire-pae</h4>     
                                </div>
                                
-                               <div class="col-3 text-center">
+                               <div class="col-6 col-md-3 text-center">
                                        <p class="mb-3"><small>Favorite CPU</small></p>
                                        <h4>Intel</h4>  
                                </div>
                                
-                               <div class="col-3 text-center">
+                               <div class="col-6 col-md-3 text-center">
                                        <p class="mb-3"><small>Favorite Virtualisation</small></p>
                                        <h4>VMWare</h4> 
                                </div>
                <div class="container">
                        <h2 class="display-2 text-center">{{ _("Professional Appliances & Services") }}</h2>
                        
-                       <div class="row mb-6 pb-6">
-                               <div class="col-7">
+                       <div class="row mb-lg-6 mb-md-4 pb-6">
+                               <div class="col-md-12 col-lg-7 mb-5 mb-md-6">
                                        <p class="lead">
                                                {% if lang == "de" %}
                                                        <a href="http://www.lightningwirelabs.com" target="_blank">Lightning Wire Labs</a> bietet
                                                {% end %}
                                        </p>
                                </div>
-                               <div class="col-4 offset-1">
+                               <div class="col-md-6 offset-md-3 col-lg-4 offset-lg-1">
                                        <a class="btn btn-bluegrey900 btn-lg btn-block" href="/get-support#professional">{{ _("Get Professional Support") }}</a>
                                        <a class="btn btn-bluegrey900 btn-lg btn-block" href="/hardware">{{ _("Hardware Appliances") }}</a>
                                </div>
                        </div>
-               </div>
-               <div class="row justify-content-center">
-                       <img class="img-fluid" src="{{ static_url("img/appliance-pro.png") }}">
+                       <div class="row justify-content-center">
+                               <img class="img-fluid" src="{{ static_url("img/appliance-pro.png") }}">
+                       </div>
                </div>
        </section>
 {% end block %}