]> git.ipfire.org Git - ipfire.org.git/commitdiff
partners: Add a new page to link to our partners
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Feb 2024 11:46:22 +0000 (11:46 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Feb 2024 11:46:22 +0000 (11:46 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/static/img/kyberio-logo.svg [new file with mode: 0644]
src/templates/static/partners.html [new file with mode: 0644]
src/templates/static/sitemap.html
src/web/__init__.py

index a292276e5f166ea3148dc8deaca7533d7c71e343..30cee3b2fd38dbbf1f31dd31021e61a1f1ee652b 100644 (file)
@@ -319,6 +319,7 @@ templates_static_DATA = \
        src/templates/static/about.html \
        src/templates/static/legal.html \
        src/templates/static/help.html \
+       src/templates/static/partners.html \
        src/templates/static/sitemap.html
 
 templates_staticdir = $(templatesdir)/static
@@ -1008,6 +1009,7 @@ static_img_DATA = \
        src/static/img/default-avatar.jpg \
        src/static/img/ipfire-tux.png \
        src/static/img/iuse-not-found.png \
+       src/static/img/kyberio-logo.svg \
        src/static/img/lightningwirelabs-logo.svg \
        src/static/img/python-logo.svg \
        src/static/img/tor.svg
diff --git a/src/static/img/kyberio-logo.svg b/src/static/img/kyberio-logo.svg
new file mode 100644 (file)
index 0000000..e858548
--- /dev/null
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg id="Ebene_2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 181.24 43.45"><defs><style>.cls-1{fill:#323246;}.cls-1,.cls-2{stroke-width:0px;}.cls-2{fill:#00ff81;}</style></defs><g id="Ebene_1-2"><polygon class="cls-1" points="22.68 9.29 14.21 9.29 7.38 19.4 7.38 0 0 0 0 34.43 7.38 34.43 7.38 23.23 15.03 34.43 23.5 34.43 14.21 21.31 22.68 9.29"/><path class="cls-1" d="m36.34,24.86l-5.46-15.58h-7.92l9.56,24.05c-.4,1.09-.98,1.96-1.75,2.6-.77.64-1.91.96-3.44.96v6.28c.25.07.53.13.82.16.26.04.52.06.79.08.27.02.55.03.85.03,2.33,0,4.23-.72,5.71-2.16,1.47-1.44,2.85-3.73,4.13-6.86l10.11-25.14h-7.92l-5.47,15.58Z"/><rect class="cls-1" x="128.97" y="9.29" width="7.38" height="25.14"/><path class="cls-1" d="m123.86,9.07c-.27-.04-.57-.05-.9-.05-.95,0-1.8.16-2.54.47-.75.31-1.38.66-1.89,1.07-.62.44-1.15.93-1.59,1.48l-1.09-2.73h-5.46v25.14h7.38v-12.84c0-1.64.43-2.91,1.28-3.83.86-.91,1.98-1.37,3.36-1.37.4,0,.76.03,1.09.08.33.05.62.12.88.19.29.11.55.2.77.27v-7.65c-.18-.03-.38-.07-.6-.11-.18-.04-.41-.07-.68-.11Z"/><path class="cls-1" d="m102.71,12.32c-1.11-1.15-2.41-2.03-3.91-2.65-1.49-.62-3.1-.93-4.81-.93s-3.45.34-5,1.01c-1.55.67-2.91,1.6-4.07,2.79-1.17,1.18-2.09,2.57-2.76,4.15-.67,1.58-1.01,3.31-1.01,5.16s.34,3.58,1.01,5.16c.67,1.58,1.59,2.97,2.73,4.15,1.15,1.18,2.48,2.11,3.99,2.79,1.51.67,3.12,1.01,4.84,1.01s3.1-.22,4.4-.66c1.29-.44,2.43-1.03,3.41-1.78.98-.75,1.8-1.59,2.46-2.54.65-.95,1.15-1.93,1.47-2.95l-7.65-.55c-.22.33-.51.6-.87.82-.29.22-.68.41-1.18.57s-1.08.25-1.78.25c-1.38,0-2.52-.4-3.42-1.2-.89-.8-1.49-1.67-1.78-2.62h17.21c.04-.26.07-.53.11-.82.04-.25.07-.52.11-.79s.05-.55.05-.85c0-1.97-.32-3.76-.96-5.38-.64-1.62-1.51-3.01-2.62-4.15Zm-13.91,7.35c.29-1.09.88-2.05,1.78-2.87.89-.82,2.03-1.23,3.42-1.23s2.52.41,3.42,1.23c.89.82,1.48,1.78,1.78,2.87h-10.38Z"/><circle class="cls-2" cx="176.1" cy="28.86" r="5.14" transform="translate(31.17 132.97) rotate(-45)"/><path class="cls-1" d="m152.58,9.21c-7.17,0-13,5.83-13,13s5.83,13,13,13,13-5.83,13-13-5.83-13-13-13Zm0,19c-3.31,0-6-2.69-6-6s2.69-6,6-6,6,2.69,6,6-2.69,6-6,6Z"/><path class="cls-1" d="m65,9.21c-2.16,0-4.2.54-6,1.48V0h-7v22.2s0,0,0,0,0,0,0,0v12.79h7v-1.27c1.8.94,3.84,1.48,6,1.48,7.17,0,13-5.83,13-13s-5.83-13-13-13Zm0,19c-3.31,0-6-2.69-6-6h0c0-3.31,2.69-6,6-6s6,2.69,6,6-2.69,6-6,6Z"/></g></svg>
\ No newline at end of file
diff --git a/src/templates/static/partners.html b/src/templates/static/partners.html
new file mode 100644 (file)
index 0000000..6571cec
--- /dev/null
@@ -0,0 +1,71 @@
+{% extends "../base.html" %}
+
+{% block title %}{{ _("Our Partners") }}{% end block %}
+
+{% block container %}
+       <section class="hero">
+               <div class="hero-body">
+                       <div class="container">
+                               <nav class="breadcrumb" aria-label="breadcrumbs">
+                                       <ul>
+                                               <li>
+                                                       <a href="/">Home</a>
+                                               </li>
+
+                                               <li class="is-active">
+                                                       <a href="#" aria-current="page">{{ _("Our Partners") }}</a>
+                                               </li>
+                                       </ul>
+                               </nav>
+                               <h1 class="title">
+                                       Our Partners
+                               </h1>
+                       </div>
+               </div>
+       </section>
+
+       {# Lightning Wire Labs #}
+       <section class="hero is-lwl is-medium">
+               <div class="hero-body">
+                       <div class="container">
+                               <div class="columns is-vcentered">
+                                       <div class="column">
+                                               <h1 class="title is-1">
+                                                       Lightning Wire Labs
+                                               </h1>
+
+                                               <a class="button is-lwl-inverted" href="https://www.lightningwirelabs.com/">
+                                                       {{ _("Go To Website") }}
+                                               </a>
+                                       </div>
+
+                                       <div class="column is-2">
+                                               <figure class="image">
+                                                       <img src="{{ static_url("img/lightningwirelabs-logo.svg") }}"
+                                                               alt="{{ _("Lightning Wire Labs Logo") }}">
+                                               </figure>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </section>
+
+       <section class="hero">
+               <div class="hero-body">
+                       <div class="container">
+                               <h3 class="title is-3">{{ _("Our Hosting Partners") }}</h3>
+
+                               <div class="columns is-centered">
+                                       <div class="column is-one-quarter">
+                                               <a href="https://www.kyberio.com/">
+                                                       <figure class="image">
+                                                               <img src="{{ static_url("img/kyberio-logo.svg") }}"
+                                                                       alt="{{ _("kyberio Logo") }}">
+                                                       </figure>
+                                               </a>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </section>
+{% end block %}
index e836629b93ff0bab0dab0453771d007a8c5c1844..a34e1da030c028bbeafda09322f8901df3b195e7 100644 (file)
@@ -40,7 +40,7 @@
                        <div class="container">
                                <p class="title is-2 has-text-centered">{{ _("Support") }}</p>
 
-                               <div class="columns is-multiline">
+                               <div class="columns is-centered is-multiline">
                                        <div class="column is-one-third has-text-centered">
                                                <div>
                                                        <p class="heading">Read The Fascinating Manual</p>
                                                        </p>
                                                </div>
                                        </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">Together Is Stronger</p>
+                                                       <p class="title">
+                                                               <a href="/partners">
+                                                                       {{ _("Our Partners") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
                                </div>
                        </div>
                </div>
index a8ff3683cbed16af37e2b9e11ad19304a22ee945..3ca6d73de9d9ce1aef6d07e5a20a955c5d56c285 100644 (file)
@@ -212,6 +212,7 @@ class Application(tornado.web.Application):
                        (r"/about",  StaticHandler, { "template" : "static/about.html" }),
                        (r"/legal", StaticHandler, { "template" : "static/legal.html" }),
                        (r"/help", StaticHandler, { "template" : "static/help.html" }),
+                       (r"/partners", StaticHandler, { "template" : "static/partners.html" }),
                        (r"/sitemap",  StaticHandler, { "template" : "static/sitemap.html" }),
 
                        # API