From 4058b499ff8a0dca6c5eca7bb9bdc2584a5e19dc Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Mon, 20 Mar 2017 13:37:30 +0100 Subject: [PATCH] rename sections to meaningful names --- config.toml | 29 +-- .../1-PublicAdmin.yaml} | 0 .../2-Public.yaml} | 0 .../3-Action.yaml} | 0 .../4-News.yaml} | 0 .../5-FOI.yaml} | 0 .../6-Press.yaml} | 0 public/css/creative.css | 20 +- public/css/modals.css | 18 +- .../portfolio => public/img/resources}/1.jpg | Bin .../portfolio => public/img/resources}/2.jpg | Bin .../portfolio => public/img/resources}/3.jpg | Bin .../portfolio => public/img/resources}/4.jpg | Bin .../portfolio => public/img/resources}/5.jpg | Bin .../portfolio => public/img/resources}/6.jpg | Bin public/index.html | 234 +++++++++--------- themes/hugo-creative-theme/layouts/index.html | 22 +- .../layouts/partials/js.html | 5 - .../layouts/partials/location.html | 14 -- .../layouts/partials/modals.html | 16 +- .../layouts/partials/nav.html | 13 +- .../partials/{services.html => reasons.html} | 6 +- .../{portfolio.html => resources.html} | 16 +- .../partials/{hero.html => start.html} | 8 +- .../static/css/creative.css | 20 +- .../hugo-creative-theme/static/css/modals.css | 18 +- .../static/img/resources/1.jpg | Bin 0 -> 63788 bytes .../static/img/resources/2.jpg | Bin 0 -> 48101 bytes .../static/img/resources/3.jpg | Bin 0 -> 48228 bytes .../static/img/resources/4.jpg | Bin 0 -> 49055 bytes .../static/img/resources/5.jpg | Bin 0 -> 62334 bytes .../static/img/resources/6.jpg | Bin 0 -> 53428 bytes 32 files changed, 198 insertions(+), 241 deletions(-) rename data/{projects/2014-07-05-project-1.yaml => resources/1-PublicAdmin.yaml} (100%) rename data/{projects/2014-07-06-project-2.yaml => resources/2-Public.yaml} (100%) rename data/{projects/2014-07-07-project-3.yaml => resources/3-Action.yaml} (100%) rename data/{projects/2014-07-09-project-4.yaml => resources/4-News.yaml} (100%) rename data/{projects/2014-07-08-project-5.yaml => resources/5-FOI.yaml} (100%) rename data/{projects/2014-07-10-project-6.yaml => resources/6-Press.yaml} (100%) rename {themes/hugo-creative-theme/static/img/portfolio => public/img/resources}/1.jpg (100%) rename {themes/hugo-creative-theme/static/img/portfolio => public/img/resources}/2.jpg (100%) rename {themes/hugo-creative-theme/static/img/portfolio => public/img/resources}/3.jpg (100%) rename {themes/hugo-creative-theme/static/img/portfolio => public/img/resources}/4.jpg (100%) rename {themes/hugo-creative-theme/static/img/portfolio => public/img/resources}/5.jpg (100%) rename {themes/hugo-creative-theme/static/img/portfolio => public/img/resources}/6.jpg (100%) delete mode 100644 themes/hugo-creative-theme/layouts/partials/location.html rename themes/hugo-creative-theme/layouts/partials/{services.html => reasons.html} (87%) rename themes/hugo-creative-theme/layouts/partials/{portfolio.html => resources.html} (60%) rename themes/hugo-creative-theme/layouts/partials/{hero.html => start.html} (65%) create mode 100644 themes/hugo-creative-theme/static/img/resources/1.jpg create mode 100644 themes/hugo-creative-theme/static/img/resources/2.jpg create mode 100644 themes/hugo-creative-theme/static/img/resources/3.jpg create mode 100644 themes/hugo-creative-theme/static/img/resources/4.jpg create mode 100644 themes/hugo-creative-theme/static/img/resources/5.jpg create mode 100644 themes/hugo-creative-theme/static/img/resources/6.jpg diff --git a/config.toml b/config.toml index e9647b4..4b43212 100644 --- a/config.toml +++ b/config.toml @@ -2,7 +2,6 @@ baseurl = "http://pmpc.mehl.mx/" languageCode = "en-us" title = "Public Money, Public Code" theme = "hugo-creative-theme" -googleAnalytics = "" [params] @@ -33,14 +32,14 @@ googleAnalytics = "" [params.navigation.links] about = "About" - services = "Advantages" - portfolio = "Resources" + reasons = "Reasons" + resources = "Resources" spread = "Spread" contact = "Contact" - # Hero section - [params.hero] + # Start banner + [params.start] # To change the background of the hero section, replace the 'header.jpg' at './static/img' with your own. slogan = "Public Money – Public Code" subtitle = "Why is software that is programmed with taxpayers' money not released as Free Software? Code paid by all people should be available to all people." @@ -54,33 +53,33 @@ googleAnalytics = "" buttonText = "More advantages" - # Service section - [params.services] + # Reasons section + [params.reasons] headline = "More reasons to free public code" - [[params.services.list]] + [[params.reasons.list]] icon = "fa-diamond" title = "Tax savings" description = "Our templates are updated regularly so they don't break." - [[params.services.list]] + [[params.reasons.list]] icon = "fa-paper-plane" title = "Collaboration" description = "You can use this theme as is, or you can make changes!" - [[params.services.list]] + [[params.reasons.list]] icon = "fa-newspaper-o" title = "Serving the public" description = "We update dependencies to keep things fresh." - [[params.services.list]] + [[params.reasons.list]] icon = "fa-heart" title = "Fostering innovation" description = "You have to make your websites with love these days!" # Portfolio modals - [params.portfolio.modal] + [params.resources.modal] client = "Client" date = "Date" category = "Category" @@ -100,9 +99,3 @@ googleAnalytics = "" description = "Ready to start your next project with us? That's great! Give us a call or send us an email and we will get back to you as soon as possible!" phone = "123-456-6789" email = "feedback@startbootstrap.com" - - # Google Maps section - # [params.location] - # latitude = "34.007850" - # longitude = "-118.499305" - # maps_api_key = "" diff --git a/data/projects/2014-07-05-project-1.yaml b/data/resources/1-PublicAdmin.yaml similarity index 100% rename from data/projects/2014-07-05-project-1.yaml rename to data/resources/1-PublicAdmin.yaml diff --git a/data/projects/2014-07-06-project-2.yaml b/data/resources/2-Public.yaml similarity index 100% rename from data/projects/2014-07-06-project-2.yaml rename to data/resources/2-Public.yaml diff --git a/data/projects/2014-07-07-project-3.yaml b/data/resources/3-Action.yaml similarity index 100% rename from data/projects/2014-07-07-project-3.yaml rename to data/resources/3-Action.yaml diff --git a/data/projects/2014-07-09-project-4.yaml b/data/resources/4-News.yaml similarity index 100% rename from data/projects/2014-07-09-project-4.yaml rename to data/resources/4-News.yaml diff --git a/data/projects/2014-07-08-project-5.yaml b/data/resources/5-FOI.yaml similarity index 100% rename from data/projects/2014-07-08-project-5.yaml rename to data/resources/5-FOI.yaml diff --git a/data/projects/2014-07-10-project-6.yaml b/data/resources/6-Press.yaml similarity index 100% rename from data/projects/2014-07-10-project-6.yaml rename to data/resources/6-Press.yaml diff --git a/public/css/creative.css b/public/css/creative.css index 62d7502..a12e9b5 100644 --- a/public/css/creative.css +++ b/public/css/creative.css @@ -267,14 +267,14 @@ header .header-content .header-content-inner p { margin-bottom: 0; } -.portfolio-box { +.resources-box { display: block; position: relative; margin: 0 auto; max-width: 650px; } -.portfolio-box .portfolio-box-caption { +.resources-box .resources-box-caption { display: block; position: absolute; bottom: 0; @@ -289,7 +289,7 @@ header .header-content .header-content-inner p { transition: all .35s; } -.portfolio-box .portfolio-box-caption .portfolio-box-caption-content { +.resources-box .resources-box-caption .resources-box-caption-content { position: absolute; top: 50%; width: 100%; @@ -297,32 +297,32 @@ header .header-content .header-content-inner p { transform: translateY(-50%); } -.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category, -.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name { +.resources-box .resources-box-caption .resources-box-caption-content .resource-category, +.resources-box .resources-box-caption .resources-box-caption-content .resource-name { padding: 0 15px; font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif; } -.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category { +.resources-box .resources-box-caption .resources-box-caption-content .resource-category { text-transform: uppercase; font-size: 14px; font-weight: 600; } -.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name { +.resources-box .resources-box-caption .resources-box-caption-content .resource-name { font-size: 18px; } -.portfolio-box:hover .portfolio-box-caption { +.resources-box:hover .resources-box-caption { opacity: 1; } @media(min-width:768px) { - .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category { + .resources-box .resources-box-caption .resources-box-caption-content .resource-category { font-size: 16px; } - .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name { + .resources-box .resources-box-caption .resources-box-caption-content .resource-name { font-size: 22px; } } diff --git a/public/css/modals.css b/public/css/modals.css index 3d51fdc..cbaa530 100644 --- a/public/css/modals.css +++ b/public/css/modals.css @@ -16,7 +16,7 @@ body { margin: 0 auto; } -.portfolio-modal .modal-content { +.resources-modal .modal-content { padding: 100px 0; min-height: 100%; border: 0; @@ -27,20 +27,20 @@ body { box-shadow: none; } -.portfolio-modal .modal-content h2 { +.resources-modal .modal-content h2 { margin: 0; font-size: 3em; } -.portfolio-modal .modal-content img { +.resources-modal .modal-content img { margin-bottom: 30px; } -.portfolio-modal .modal-content .item-details { +.resources-modal .modal-content .item-details { margin: 30px 0; } -.portfolio-modal .close-modal { +.resources-modal .close-modal { position: absolute; top: 25px; right: 25px; @@ -50,11 +50,11 @@ body { cursor: pointer; } -.portfolio-modal .close-modal:hover { +.resources-modal .close-modal:hover { opacity: .3; } -.portfolio-modal .close-modal .lr { +.resources-modal .close-modal .lr { z-index: 1051; width: 1px; height: 75px; @@ -65,7 +65,7 @@ body { transform: rotate(45deg); } -.portfolio-modal .close-modal .lr .rl { +.resources-modal .close-modal .lr .rl { z-index: 1052; width: 1px; height: 75px; @@ -75,7 +75,7 @@ body { transform: rotate(90deg); } -.portfolio-modal .modal-backdrop { +.resources-modal .modal-backdrop { display: none; opacity: 0; } diff --git a/themes/hugo-creative-theme/static/img/portfolio/1.jpg b/public/img/resources/1.jpg similarity index 100% rename from themes/hugo-creative-theme/static/img/portfolio/1.jpg rename to public/img/resources/1.jpg diff --git a/themes/hugo-creative-theme/static/img/portfolio/2.jpg b/public/img/resources/2.jpg similarity index 100% rename from themes/hugo-creative-theme/static/img/portfolio/2.jpg rename to public/img/resources/2.jpg diff --git a/themes/hugo-creative-theme/static/img/portfolio/3.jpg b/public/img/resources/3.jpg similarity index 100% rename from themes/hugo-creative-theme/static/img/portfolio/3.jpg rename to public/img/resources/3.jpg diff --git a/themes/hugo-creative-theme/static/img/portfolio/4.jpg b/public/img/resources/4.jpg similarity index 100% rename from themes/hugo-creative-theme/static/img/portfolio/4.jpg rename to public/img/resources/4.jpg diff --git a/themes/hugo-creative-theme/static/img/portfolio/5.jpg b/public/img/resources/5.jpg similarity index 100% rename from themes/hugo-creative-theme/static/img/portfolio/5.jpg rename to public/img/resources/5.jpg diff --git a/themes/hugo-creative-theme/static/img/portfolio/6.jpg b/public/img/resources/6.jpg similarity index 100% rename from themes/hugo-creative-theme/static/img/portfolio/6.jpg rename to public/img/resources/6.jpg diff --git a/public/index.html b/public/index.html index d0a2315..2ca2a70 100644 --- a/public/index.html +++ b/public/index.html @@ -59,12 +59,12 @@
  • - Advantages + Reasons
  • - Resources + Resources
  • @@ -73,7 +73,6 @@ -
  • Contact
  • @@ -137,7 +136,7 @@ -
    +
    @@ -198,23 +197,23 @@ -
    +
    - - + + -
    -
    +
    +
    -
    +
    Web Development
    -
    +
    Guide for Public Administration
    @@ -225,18 +224,18 @@
    - - + + -
    -
    +
    +
    -
    +
    Web Development
    -
    +
    Guide for general public
    @@ -247,18 +246,18 @@
    - - + + -
    -
    +
    +
    -
    +
    Web Development
    -
    +
    Take Action!
    @@ -269,40 +268,18 @@
    - - + + -
    -
    + - -
    - - - -
    -
    - -
    - Web Development -
    - - -
    +
    Latest News
    @@ -313,18 +290,40 @@
    - - + + -
    -
    +
    + + +
    + + + +
    +
    + +
    + Web Development +
    + + +
    Press information
    @@ -341,8 +340,6 @@ - -
    @@ -425,9 +422,9 @@ - + -