You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by be...@apache.org on 2021/02/22 21:51:31 UTC

[incubator-wayang-website] branch develop updated (6bd8528 -> eb6d999)

This is an automated email from the ASF dual-hosted git repository.

bertty pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git.


    from 6bd8528  Minnor corrections
     new 30f3041  Correction on the footer when the screen is small
     new 46ce404  optional background
     new f8614e7  home responsive issues
     new eb6d999  correction link of publications

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 _config.yml                             |  7 +++++
 _data/navigation.yml                    |  4 +--
 _includes/footer.html                   | 11 ++++----
 _layouts/home.html                      | 50 +++++++++++++++------------------
 assets/css/home.css                     |  7 ++---
 publications.md => publications-home.md |  0
 6 files changed, 40 insertions(+), 39 deletions(-)
 rename publications.md => publications-home.md (100%)


[incubator-wayang-website] 01/04: Correction on the footer when the screen is small

Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git

commit 30f30412b92393a12c46cece9e660ae0fc0e7100
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Mon Feb 22 18:22:58 2021 -0300

    Correction on the footer when the screen is small
---
 _includes/footer.html | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/_includes/footer.html b/_includes/footer.html
index 63676cc..0383e52 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,10 +1,10 @@
 <footer class="footer position-sticky sticky-bottom">
-    <nav class="navbar navbar-light bg-light "  style="background: #A6A6A6;">
+    <nav class="navbar navbar-light bg-light"  style="background: #A6A6A6;">
         <div class="container">
-            <div class="row justify-content-center">
-                <div class="col-12 text-center">
-                    <a href="http://incubator.apache.org/">
-                        <img src="{{ "assets/img/egg-logo.png" | absolute_url }}">
+            <div class="row">
+                <div class="col text-center">
+                    <a href="http://incubator.apache.org/" >
+                        <img class="w-50" src="{{ "assets/img/egg-logo.png" | absolute_url }}">
                     </a>
                     <br />
                     <p style="text-align: justify">
@@ -18,6 +18,5 @@
                 </div>
             </div>
         </div>
-
     </nav>
 </footer>


[incubator-wayang-website] 02/04: optional background

Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git

commit 46ce404e3eb05fa4b44d81def0062ad1d4db572a
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Mon Feb 22 18:27:02 2021 -0300

    optional background
---
 _layouts/home.html | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/_layouts/home.html b/_layouts/home.html
index 030bdf0..1a57f49 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -28,7 +28,7 @@ layout: default
     </div>
 </section>
 
-<section class="container-fluid p-0">
+<section class="container-fluid p-0" style="background-color:#ffffff !important ">
     <div class="d-flex justify-content-center">
         <p class="display-4 p-2">
             {{ page.section-2.title }}
@@ -90,8 +90,10 @@ layout: default
 
 <script src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js"></script>
 <script>
-   with_image = true;
-   if(with_image) {
+    const queryString = window.location.search;
+    const urlParams = new URLSearchParams(queryString);
+    with_image = ! urlParams.has('poli');
+    if(with_image) {
        image_url = '{{ "assets/img/puzzle-piece.png" | absolute_url }}';
        particlesJS(
            'particules',
@@ -206,8 +208,8 @@ layout: default
                "retina_detect": true
            }
        );
-   }else{
+    }else{
        particlesJS.load('particules', '{{ "assets/json/particules.conf.poligon.json" | absolute_url }}', function() {});
-   }
+    }
 </script>
 


[incubator-wayang-website] 04/04: correction link of publications

Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git

commit eb6d999e7d51a8deac02a67d236c797e0c31e6e1
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Mon Feb 22 18:51:18 2021 -0300

    correction link of publications
---
 _config.yml                             | 7 +++++++
 _data/navigation.yml                    | 4 ++--
 publications.md => publications-home.md | 0
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/_config.yml b/_config.yml
index e1ca9f7..c61205b 100644
--- a/_config.yml
+++ b/_config.yml
@@ -13,4 +13,11 @@ asciidoctor:
     - source-highlighter=coderay
     - icons=font
 compress_html:
+  clippings: all
+  comments: ["<!-- ", " -->"]
+  endings: all
+  ignore:
+    envs: [local]
+  blanklines: false
   profile: true
+  startings: [html, head, body]
diff --git a/_data/navigation.yml b/_data/navigation.yml
index f3723b5..b92839d 100644
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -11,7 +11,7 @@
   external: false
 
 - title: Publications
-  url: /publications
+  url: /publications-home
   external: false
 
 - title: Apache
@@ -27,4 +27,4 @@
       external: true
     - title: Thanks
       url: http://www.apache.org/foundation/thanks.html
-      external: true
\ No newline at end of file
+      external: true
diff --git a/publications.md b/publications-home.md
similarity index 100%
rename from publications.md
rename to publications-home.md


[incubator-wayang-website] 03/04: home responsive issues

Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git

commit f8614e708ee264b5fdbdb7f6f0e8422ba772683c
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Mon Feb 22 18:48:14 2021 -0300

    home responsive issues
---
 _layouts/home.html  | 38 ++++++++++++++++----------------------
 assets/css/home.css |  7 +++----
 2 files changed, 19 insertions(+), 26 deletions(-)

diff --git a/_layouts/home.html b/_layouts/home.html
index 1a57f49..5d005fc 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -57,33 +57,27 @@ layout: default
             </p>
         </div>
     </div>
-{% assign col = 1 %}
     <div class="container">
-        <div class="container-circle mb-3">
-            <div class="row">
-{% for item in site.data.features %}
-                <div class="col-md-4" style="text-align: center">
-                    <div class="circle">
-                        <i class="{{item.icon}} fa-8x"></i>
-                        <h4>{{item.title}}</h4>
-                        <div class="hide">
-                            {{item.description-short}}
+        {% assign col = 1 %}
+        <div class="row mb-3">
+        {% for item in site.data.features %}
+                <div class="col d-flex align-items-stretch mb-2">
+                    <div class="card text-center">
+                        <div class="card-body">
+                            <i class="{{item.icon}} fa-8x"></i>
+                            <h5 class="card-title">{{item.title}}</h5>
+                            <p class="card-text">{{item.description-short}}</p>
                         </div>
                     </div>
                 </div>
-    {% if col == 3 %}
-            </div>
-        </div>
-    </div>
-    <div class="container-circle mb-3">
-        <div class="container">
-            <div class="row">
-        {% assign col = 0 %}
-    {% else %}
-        {% assign col = col | plus: 1 %}
-    {% endif %}
-{% endfor %}
+            {% if col == 3 %}
             </div>
+            <div class="row mb-3">
+                {% assign col = 0 %}
+            {% else %}
+                {% assign col = col | plus: 1 %}
+            {% endif %}
+        {% endfor %}
         </div>
     </div>
 </section>
diff --git a/assets/css/home.css b/assets/css/home.css
index 5a884a4..2a9f1ff 100644
--- a/assets/css/home.css
+++ b/assets/css/home.css
@@ -3,7 +3,7 @@
 
 #full-screen
 {
-    height: 100vh;
+    min-height: 100vh;
     width: 100vw;
     background-image: url('{{ "assets/img/wayang-banner.png" | absolute_url }}');
     background-repeat: no-repeat;
@@ -12,11 +12,10 @@
 }
 #full-screen-2
 {
-    height: 100vh;
+    min-height: 100vh;
     width: 100vw;
     background-repeat: no-repeat;
     background-size: cover;
-
 }
 
 canvas{
@@ -113,7 +112,7 @@ p {
 }
 
 .container-circle {
-    min-height: 25em;
+    min-height: 25em !important;
 }
 
 .circle {