]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/index.html
wiki: Add meta tags for OpenGraph & Twitter
[ipfire.org.git] / src / templates / index.html
index 2399a8f24a43f019dc1d72d9168b34b00ffb1f0b..f668b01b86519719e63c225a35bc1ed1f71c4bf3 100644 (file)
 {% extends "base.html" %}
 
 {% block head %}
+       <meta name="description" content="{{ _("IPFire is a hardened, versatile, state-of-the-art Open Source firewall based on Linux.") }}" />
        <link rel="alternate" type="application/rss+xml" title="RSS" href="https://blog.ipfire.org/feed.xml" />
 {% end block %}
 
 {% block title %}{{ _("Welcome to IPFire") }}{% end block %}
 
 {% block container %}
-       <section class="intro d-flex align-items-center">
-               <div class="container">
-                       <div class="row flex-md-row-reverse">
+       <header class="cover">
+               <div class="container h-100">
+                       {% module ChristmasBanner() %}
+
+                       <div class="row d-flex h-100 flex-fill flex-md-row-reverse align-items-center">
                                <div class="col-12 col-md-5 my-5 text-center">
                                        <img class="img-fluid" src="{{ static_url("img/ipfire-tux.png") }}" alt="IPFire Logo" />
                                </div>
 
-                               <div class="col-12 col-md-7 align-self-center px-3">
-                                       <h1>{{ _("The Open Source Firewall") }}</h1>
+                               <div class="col-12 col-md-7 px-3">
+                                       <h1 class="mb-3">{{ _("The Open Source Firewall") }}</h1>
+
+                                       {% if latest_release %}
+                                               <span>
+                                                       {{ _("Latest Release:") }}
+                                                       <a href="/download">{{ latest_release.name }}</a>
+                                                       {{ _("from %s") % locale.format_date(latest_release.date, shorter=True) }}
+                                               </span>
+                                       {% end %}
 
                                        <div class="btn-toolbar my-5">
-                                               <a class="btn btn-outline-primary btn-glow-primary btn-lg mr-2" href="/download">{{ _("Download") }}</a>
-                                               <a class="btn btn-outline-secondary btn-glow-secondary btn-lg ml-2" href="/features">{{ _("Features") }}</a>
+                                               <a class="btn btn-outline-primary glow-primary btn-lg mr-2" href="/download">{{ _("Download") }}</a>
+                                               <a class="btn btn-outline-secondary glow-secondary btn-lg ml-2" href="/features">{{ _("Features") }}</a>
                                        </div>
                                </div>
                        </div>
                </div>
-       </section>
+       </header>
 
        <section class="inverse">
                <div class="container">
                        <div class="row mb-5">
-                               <div class="col col-md-6">
-                                       <h1 class="mb-0">{{ _("Secure up your network with IPFire") }}</h1>
+                               <div class="col-12 col-md-9 col-lg-7">
+                                       <h1 class="mb-0">{{ _("Secure your network with IPFire") }}</h1>
 
                                        <p>
-                                               IPFire comes with a versatile and state of the art firewall engine
-                                               that makes even the most complex setups easy to administer.
+                                               {{ _("IPFire is a hardened, versatile, state-of-the-art Open Source firewall based on Linux.") }}
+                                               {{ _("Its ease of use, high performance in any scenario and extensibility make it usable for everyone.") }}
                                        </p>
+
+                                       <a class="btn btn-secondary mb-5" href="/features">{{ _("Learn More") }}</a>
                                </div>
                        </div>
 
-                       <div class="row mt-5 mb-lg-6 mb-md-5">
-                               <div class="col-md-6 col-lg-4 mb-5 pb-lg-5 d-flex">
+                       <div class="row mt-5">
+                               <div class="col-md-6 col-lg-4 mb-5 d-flex">
                                        <div class="align-self-stretch">
                                                <span class="fas fa-shield-alt fa-2x text-primary px-3"></span>
                                        </div>
 
                                        <div class="flex-column">
-                                               <h5 class="pb-3">{{ _("Firewall") }}</h5>
-                                               <p>
-                                                       IPFire comes with a versatile and state of the art
-                                                       firewall engine that makes even the most complex
-                                                       setups easy to administer.
-                                               </p>
-                                       </div>
-                               </div>
-
-                               <div class="col-md-6 col-lg-4 mb-5 d-flex">
-                                       <div class="align-self-stretch">
-                                               <span class="fas fa-fast-forward fa-2x text-primary px-3"></span>
-                                       </div>
+                                               <h5 class="mb-3">{{ _("Security") }}</h5>
 
-                                       <div class="flex-column">
-                                               <h5 class="pb-3">{{ _("Performance") }}</h5>
                                                <p>
-                                                       IPFire is ready for high performance networks
-                                                       and running evenly well on embedded hardware.
+                                                       {{ _("Security is the highest priority in IPFire.") }}
+                                                       {{ _("It is hardened to protect itself from attacks from the Internet and prevents attacks on your network.") }}
                                                </p>
                                        </div>
                                </div>
 
                                <div class="col-md-6 col-lg-4 mb-5 d-flex">
                                        <div class="align-self-stretch">
-                                               <span class="fas fa-couch fa-2x text-primary px-3"></span>
+                                               <span class="fas fa-fire fa-2x text-primary px-3"></span>
                                        </div>
 
                                        <div class="flex-column">
-                                               <h5 class="pb-3">{{ _("Easy to use") }}</h5>
-                                               <p class="mb-1">
-                                                       IPFire is set up easily in 15 to 20 minutes
-                                                       but also comes with expert features that
-                                                       are needed in professional networks.
-                                               </p>
-                                       </div>
-                               </div>
+                                               <h5 class="mb-3">{{ _("Firewall") }}</h5>
 
-                               <div class="col-md-6 col-lg-4 mb-5 d-flex">
-                                       <div class="align-self-stretch">
-                                               <span class="fas fa-lock fa-2x text-primary px-3"></span>
-                                       </div>
-
-                                       <div class="flex-column">
-                                               <h5 class="pb-3">{{ _("Network Security") }}</h5>
                                                <p>
-                                                       IPFire is designed for high security.
-                                                       It is hardened to protect itself from attacks
-                                                       from the network.
+                                                       {{ _("Its powerful firewall engine and Intrusion Prevention System protects your network against attacks from the Internet and Denial-of-Service attacks.") }}
                                                </p>
                                        </div>
                                </div>
                                        </div>
 
                                        <div class="flex-column">
-                                               <h5 class="pb-3">{{ _("Open Source") }}</h5>
-                                               <p>
-                                                       IPFire is free software and developed by an open community,
-                                                       that improves it every single day.
-                                               </p>
-                                       </div>
-                               </div>
-
-                               <div class="col-md-6 col-lg-4 mb-5 d-flex">
-                                       <div class="align-self-stretch">
-                                               <span class="fas fa-heart fa-2x text-primary px-3"></span>
-                                       </div>
+                                               <h5 class="mb-3">{{ _("Open Source") }}</h5>
 
-                                       <div class="flex-column">
-                                               <h5 class="pb-3">{{ _("Trusted by thousands") }}</h5>
                                                <p>
-                                                       IPFire is developed in Europe and used all over the world
-                                                       <a href="https://fireinfo.ipfire.org/statistics/geo-locations">in hundreds of countries</a>
-                                                       by hundreds of thousands of users every day.
+                                                       {{ _("IPFire is free software and developed by an open community and trusted by hundreds of thousands of users from all around the world.") }}
                                                </p>
                                        </div>
                                </div>
                        </div>
                </div>
        </section>
-
-       <section>
-               <div class="container">
-                       <div class="row">
-                               <div class="col-12 col-md-6 col-lg-5 mb-5">
-                                       <h1>Latest Release</h1>
-
-                                       <p class="mb-0">
-                                               <small>{{ locale.format_date(latest_release.date, shorter=True) }}</small>
-                                       </p>
-
-                                       <h3 class="mb-5">
-                                               {% if latest_release.post %}
-                                                       <a href="https://blog.ipfire.org/post/{{ latest_release.post.slug }}">
-                                                               {{ _("%s has been released!") % latest_release.name }}
-                                                       </a>
-                                               {% else %}
-                                                       {{ _("%s has been released!") % latest_release.name }}
-                                               {% end %}
-                                       </h3>
-
-                                       <div class="btn-toolbar mb-5">
-                                               <a class="btn btn-primary mr-3" href="/download">
-                                                       <span class="fas fa-download"></span> {{ _("Download") }}
-                                               </a>
-
-                                               <a class="btn btn-secondary ml-3" href="/donate">
-                                                       <span class="fas fa-heart"></span> {{ _("Donate") }}
-                                               </a>
-                                       </div>
-                               </div>
-
-                               <div class="col-12 col-md-6 col-lg-5 offset-lg-2">
-                                       <h1>{{ _("What's going on?") }}</h1>
-
-                                       <dl class="dl-horizontal">
-                                               {% for post in posts %}
-                                                       <dt>
-                                                               <small>{{ locale.format_date(post.published_at, relative=True, shorter=True) }} &nbsp;</small>
-                                                       </dt>
-
-                                                       <dd class="text-overflow mb-4">
-                                                               <a href="https://blog.ipfire.org/post/{{ post.slug }}">{{ post.title }}</a>
-                                                       </dd>
-                                               {% end %}
-                                       </dl>
-
-                                       <a class="btn btn-secondary" href="https://blog.ipfire.org/">{{ _("Read More") }}</a>
-                               </div>
-                       </div>
-               </div>
-       </section>
 {% end block %}