]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/index.html
Merge remote-tracking branch 'rico/new-design' into new-design
[ipfire.org.git] / src / templates / index.html
index 27a2d32f615e2ca18ecb7cd63878a15a53557a72..f2070aaa8e78cf6243da91b2a55ad736dc3c1186 100644 (file)
 {% extends "base.html" %}
 
 {% block head %}
-       <link rel="alternate" type="application/rss+xml" title="RSS" href="https://blog.ipfire.org/feed.xml" />
+       <meta name="description" content="{{ _("IPFire is a hardened, versatile, state-of-the-art Open Source firewall based on Linux.") }}" />
+       <link rel="alternate" type="application/atom+xml" title="RSS" href="/blog/feed.xml" />
 {% end block %}
 
 {% block title %}{{ _("Welcome to IPFire") }}{% end block %}
 
 {% block container %}
-       <header class="cover">
-               <div class="container d-flex h-100 align-items-center">
-                       <div class="row flex-fill flex-md-row-reverse">
-                               <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="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>
-                                       </div>
-                               </div>
+       {% if latest_release %}
+               <section class="has-background-primary-light">
+                       <div class="container">
+                               <p class="has-text-centered px-2">
+                                       {{ _("Latest Release: %(release)s from %(when)s") \
+                                               % { "release" : latest_release.name, "when" : locale.format_day(latest_release.date, dow=False) } }}
+
+                                       {% if latest_release.blog %}
+                                               &nbsp;
+
+                                               <a class="has-text-weight-bold" href="/download/{{ latest_release.slug }}">
+                                                       {{ _("Read More") }}
+                                               </a>
+                                       {% end %}
+                               </p>
+                       </div>
+               </section>
+       {% end %}
+
+       <section class="hero is-large is-primary" id="hero-index">
+               <div class="hero-body">
+                       <div class="container">
+                               <h1 class="title is-1">{{ _("More Than A Firewall") }}</h1>
+                               <h5 class="title is-5">The market leader in Linux based, Open Source security with a comprehensible feature set</h5>
                        </div>
                </div>
-       </header>
+       </section>
 
-       <section class="inverse">
+       <section class="section">
                <div class="container">
-                       <div class="row mb-5">
-                               <div class="col-12 col-md-9 col-lg-7">
-                                       <h1 class="mb-0">{{ _("Secure your network with IPFire") }}</h1>
-
-                                       <p>
-                                               {{ _("IPFire is a 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>
+                       <h3 class="title is-3 has-text-centered">
+                               {{ _("The Open Source Firewall") }}<span class="has-text-primary">_</span>
+                       </h3>
+               </div>
+       </section>
 
-                       <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>
+       <section class="section">
+               <div class="container">
+                       <div class="columns">
+                               <div class="column is-one-third has-text-centered">
+                                       <span class="fas fa-fire fa-4x bg-light is-primary p-3 mb-2"></span>
 
-                                       <div class="flex-column">
-                                               <h5 class="mb-3">{{ _("Security") }}</h5>
+                                       <h4 class="title is-4">{{ _("The Right Choice") }}</h4>
 
-                                               <p>
-                                                       {{ _("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>
+                                       <p class="mb-0">
+                                               The only open source firewall with an active community, leading the market
+                                       </p>
                                </div>
 
-                               <div class="col-md-6 col-lg-4 mb-5 d-flex">
-                                       <div class="align-self-stretch">
-                                               <span class="fas fa-fire fa-2x text-primary px-3"></span>
-                                       </div>
+                               <div class="column is-one-third has-text-centered">
+                                       <span class="fas fa-terminal fa-4x bg-light text-primary p-3 mb-2"></span>
 
-                                       <div class="flex-column">
-                                               <h5 class="mb-3">{{ _("Firewall") }}</h5>
+                                       <h4 class="title is-4">{{ _("Free & Open") }}</h4>
 
-                                               <p>
-                                                       {{ _("Its powerful firewall engine and Intrusion Prevention System protects your network against attacks from the Internet and Denial-of-Service attacks.") }}
-                                               </p>
-                                       </div>
+                                       <p class="mb-0">
+                                               Fully open source, complete freedom and for the greater good
+                                       </p>
                                </div>
 
-                               <div class="col-md-6 col-lg-4 mb-5 d-flex">
-                                       <div class="align-self-stretch">
-                                               <span class="fab fa-osi fa-2x text-primary px-3"></span>
-                                       </div>
+                               <div class="column is-one-third has-text-centered">
+                                       <span class="fas fa-shield-alt fa-4x bg-light text-primary p-3 mb-2"></span>
 
-                                       <div class="flex-column">
-                                               <h5 class="mb-3">{{ _("Open Source") }}</h5>
+                                       <h4 class="title is-4">{{ _("Security") }}</h4>
 
-                                               <p>
-                                                       {{ _("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>
+                                       <p class="mb-0">
+                                               Powerful system, separate applicance, a bit more text here
+                                       </p>
                                </div>
                        </div>
                </div>
        </section>
 
-       <section>
+       <section class="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="row">
-                                               <div class="col-12 col-sm-6 col-md-12 col-xl-5 mb-3">
-                                                       <a class="btn btn-primary btn-block" href="/download">
-                                                               <span class="fas fa-download"></span> {{ _("Download") }}
-                                                       </a>
+                       <div class="box p-6 has-background-lwl has-text-white">
+                               <div class="columns is-mobile is-vcentered">
+                                       <div class="column">
+                                               <h3 class="title is-3 has-text-white">{{ _("Appliances and Support") }}</h3>
+
+                                               <div class="block">
+                                                       <p>
+                                                               You need someone you can call when things go wrong.
+                                                               Partnered with Lightning Wire Labs we offer applicances for enterprise
+                                                               and XX businesses.
+                                                       </p>
                                                </div>
 
-                                               <div class="col-12 col-sm-6 col-md-12 col-xl-5 mb-3">
-                                                       <a class="btn btn-secondary btn-block" href="/donate">
-                                                               <span class="fas fa-heart"></span> {{ _("Donate") }}
+                                               <div class="block">
+                                                       <a class="button is-white has-text-lwl has-text-weight-bold" href="https://store.lightningwirelabs.com/">
+                                                               {{ _("Go to Store") }}
                                                        </a>
                                                </div>
                                        </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 class="column is-narrow is-hidden-mobile has-text-centered">
+                                               <figure class="image m-5 is-128x128">
+                                                       <img src="{{ static_url("img/lightningwirelabs-logo.svg") }}" alt="{{ _("Lightning Wire Labs") }}">
+                                               </figure>
+                                       </div>
                                </div>
                        </div>
                </div>