[gtk-web/new-website] Remove use cases section



commit 26ebed26a1b95056b4e4bed8cd36b348292baa93
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jan 7 18:49:52 2020 +0000

    Remove use cases section
    
    We don't really have them, at the moment, so it's kind of pointless.

 README.md                     |  1 -
 _data/navigation.yml          |  5 -----
 _data/usecases.yml            |  7 -------
 collections/_pages/index.html | 32 +-------------------------------
 4 files changed, 1 insertion(+), 44 deletions(-)
---
diff --git a/README.md b/README.md
index abdb74b..ddd2385 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,6 @@ The data used by the site is stored in the form of following files:
     │   ├── labels.json                     
     │   ├── members_all.json                
     │   ├── members.json                    
-    │   └── usecases.yml                    #---update this
     ├── _includes                           #contains site's include files
     │   ├── footer.html                     #the footer of the site
     │   ├── header.html                     #the meta data of the site
diff --git a/_data/navigation.yml b/_data/navigation.yml
index da73108..2135228 100644
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -31,11 +31,6 @@ menu_links:
     footer: true
     external: true
     section: Company
-  - name: Usecases
-    href: /usecases/
-    header: true
-    footer: true
-    section: Project
   - name: Docs
     href: /docs/
     header: true
diff --git a/collections/_pages/index.html b/collections/_pages/index.html
index 3df94a5..b4eaa92 100644
--- a/collections/_pages/index.html
+++ b/collections/_pages/index.html
@@ -112,36 +112,6 @@ news_and_events_list:
 </section>
 </div>
 
-<section class="py-4" id="usecases">
-  <div class="container d-flex flex-column align-items-center">
-    <div class="row text-center d-flex justify-content-center">
-      <div class="col-md-10 col-lg-7">
-        <h2 class="text-center font-weight-light mb-3">{{ page.usecase_main_heading }}</h2>
-        <span class="text-muted">{{ page.usecase_main_heading_description | markdownify }}</span>
-      </div>
-    </div>
-    <div class="row mt-4">
-      <div class="col-8 mx-auto">
-        <img src="{{ '/assets/img/wall-usecases.svg' | prepend: site.url }}" class="w-100 img-fluid" 
style="height:100%;" alt="GTK Usecases Wallpaper" />
-      </div>
-    </div>
-    <br>
-    <div class="row d-flex justify-content-center pt-3">
-      {% assign cases = site.data.usecases.use_cases %}
-      {% for case in cases %}
-      <div class="col-md-4 pb-4 pb-md-0">
-        <h6>{{ case.title }}</h6>
-        <span class="text-muted small">{{ case.description | markdownify }}</span>
-        <a href="{{'/usecases/' | prepend: site.url | append: case.title }}/" class="small border-bottom 
text-decoration-none border-primary">Read More</a>
-      </div>
-      {% endfor %}
-      <div class="col-12 text-center pt-3 pt-md-4">
-        <a href="{{'/usecases/' | prepend: site.url }}" class="btn btn-md btn-primary" 
role="button">Discover Usecases</a>
-      </div>
-    </div>
-  </div>
-</section>
-  
 <section class="py-4" id="bindings">
   <div class="container">
     <div class="row text-center d-flex justify-content-center">
@@ -340,4 +310,4 @@ news_and_events_list:
   $(".dropdown-toggle").dropdown();
 </script>
 
-{% include footer.html %}
\ No newline at end of file
+{% include footer.html %}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]