diff --git a/assets/images/home/openinnovation.jpg b/assets/images/home/openinnovation.jpg new file mode 100644 index 0000000..0e0d01b Binary files /dev/null and b/assets/images/home/openinnovation.jpg differ diff --git a/assets/images/home/powerplay.jpg b/assets/images/home/powerplay.jpg new file mode 100644 index 0000000..3b9350f Binary files /dev/null and b/assets/images/home/powerplay.jpg differ diff --git a/assets/images/home/promobg.jpg b/assets/images/home/promobg.jpg new file mode 100644 index 0000000..e27b718 Binary files /dev/null and b/assets/images/home/promobg.jpg differ diff --git a/assets/images/home/silicon.jpg b/assets/images/home/silicon.jpg new file mode 100644 index 0000000..c4b9153 Binary files /dev/null and b/assets/images/home/silicon.jpg differ diff --git a/assets/images/home/software.jpg b/assets/images/home/software.jpg new file mode 100644 index 0000000..dbe8657 Binary files /dev/null and b/assets/images/home/software.jpg differ diff --git a/assets/images/home/systems.jpg b/assets/images/home/systems.jpg new file mode 100644 index 0000000..669492a Binary files /dev/null and b/assets/images/home/systems.jpg differ diff --git a/content/_index.md b/content/_index.md index ff5ca3a..b4ed6f0 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,65 +1,53 @@ --- -title: 'Home' -date: 2021-07-17 -type: home -layout: single - -promo-h1: OpenPOWER Foundation -promo-p1: Create the Future with POWER -promo-cta: Join us - -article-1: - header: Open Innovation - p-1: The OpenPOWER Foundation is the catalyst for technical collaboration today - fostering complete collaboration, accelerating innovation and driving resiliency across the industry. By combining a 20-year history of hardware and software expertise with a completely open ecosystem, The OpenPOWER Foundation is the only organization equipped with deep institutional knowledge and a straight forward approach to innovation. -article-2: - header: The POWER Play - lead-1: Industry Proven - p-1: - By open sourcing and developing on the POWER ISA - one of the most sophisticated processor architectures - available - the OpenPOWER Foundation is democratizing access and extending the reach of the RISC-based - architecture. - lead-2: Open for All - p-2: - With more than 350 members collaborating regularly, the entire semiconductor industry - from global - organizations with deep expertise to individual creators with a new lens - can innovate with choice and build - and develop across the full Hardware and Software stack. - lead-3: Complete Equation - p-3: - Open development of this scale enables unprecedented customization across applications, operating systems and - firmware - driving hundreds of innovations across artificial intelligence, supercomputing, hyperscale and - more. - +title: Home +promo: + header: OpenPOWER Foundation + p: + - Create the Future with POWER + calltoaction: Join us + image: promobg.jpg +articles: + - header: Open Innovation + image: openinnovation.jpg + reverse: false + lead: + - title: + p: The OpenPOWER Foundation is the catalyst for technical collaboration today - fostering complete collaboration, accelerating innovation and driving resiliency across the industry. By combining a 20-year history of hardware and software expertise with a completely open ecosystem, The OpenPOWER Foundation is the only organization equipped with deep institutional knowledge and a straight forward approach to innovation. + - header: The POWER Play + image: powerplay.jpg + reverse: true + lead: + - title: Industry Proven + p: > + By open sourcing and developing on the POWER ISA - one of the most sophisticated processor architectures available - + the OpenPOWER Foundation is democratizing access and extending the reach of the RISC-based architecture.' + - title: Open for All + p: > + With more than 350 members collaborating regularly, the entire semiconductor industry - from global + organizations with deep expertise to individual creators with a new lens - can innovate with choice and build + and develop across the full Hardware and Software stack. + - title: Complete Equation + p: > + Open development of this scale enables unprecedented customization across applications, operating systems and firmware - + driving hundreds of innovations across artificial intelligence, supercomputing, hyperscale and more. sections: - section-1: - title: Build across the entire stack - article-1: - image: ./img/thumb-1.jpg - text: Software - url: / - article-2: - image: ./img/thumb-2.jpg - text: Silicon - url: / - article-3: - image: ./img/thumb-3.jpg - text: Systems - url: / - section-dark: - p-1: With its open ecosystem approach, active participation from its global membership base and powerful foundation of the POWER ISA, the OpenPOWER Foundation is the premiere organization to facilitate truly effective collaboration and drive meaningful, accessible innovation across the open hardware industry. - section-supporters: - title: Supporters of OpenPOWER - logos: - - title: image - image: 180x102.png - - title: image - image: 180x102.png - - title: image - image: 180x102.png - - title: image - image: 180x102.png - - section-subscribe: - title: Subscribe to the OpenPOWER newsletter. - p-1: Sign up with your email address to receive news and updates. + title: Build across the entire stack + section: + - title: Software + image: software.jpg + link: /tags/software + - title: Silicon + image: silicon.jpg + link: /tags/silicon + - title: Systems + image: systems.jpg + link: /tags/systems +dark: + - With its open ecosystem approach, active participation from its global membership base and powerful foundation of the POWER ISA, the OpenPOWER Foundation is the premiere organization to facilitate truly effective collaboration and drive meaningful, accessible innovation across the open hardware industry. +subscribe: + title: Subscribe to the OpenPOWER newsletter. + p: + - Sign up with your email address to receive news and updates. +date: 2022-01-03 draft: false --- diff --git a/themes/openpowerfoundation/assets/css/main.css b/themes/openpowerfoundation/assets/css/main.css index 80f3b24..83a1be0 100644 --- a/themes/openpowerfoundation/assets/css/main.css +++ b/themes/openpowerfoundation/assets/css/main.css @@ -4941,24 +4941,30 @@ textarea.form-control-lg { display: none !important; } } #main:not(.groups) { - padding-top: 140px; + padding-top: 100px; } .main { - padding: 3.75rem 0; - padding-top: 100px; } + padding: 3.75rem 0; + padding-top: 10px; +} .social__list { - display: flex; } - + display: flex; +} .social__item { - display: block; - width: 28px; - height: 28px; - border-radius: 0.25rem; - background-position: 50% 50%; - background-repeat: no-repeat; - background-size: 50% auto; - background-color: #fff; } + display: block; + width: 32px; + height: 32px; + border-radius: 0.25rem; + background-position: 50% 50%; + background-repeat: no-repeat; + background-size: 50% auto; + background-color: #fff; +} +.social__item i { + padding-left: 5px; + color: #2566f4; +} .social__item:not(:last-child) { margin-right: .5em; } .social__item._tw { diff --git a/themes/openpowerfoundation/assets/css/pages.scss b/themes/openpowerfoundation/assets/css/pages.scss index 70a8e59..5eac79b 100644 --- a/themes/openpowerfoundation/assets/css/pages.scss +++ b/themes/openpowerfoundation/assets/css/pages.scss @@ -60,112 +60,87 @@ color: black; } // Join - .join { - - .membership-data { - - table { - margin:auto; - width:100%; - - tr { - - td { - padding: 10px; - } - - - &:nth-child(odd) { - background-color: $white; - } - - &:nth-child(even) { - background-color: $lightgrey; - } - - th { - padding: 10px; - background-color: #dfecf5; - - &:nth-of-type(1) { - width: 20%; - } - &:nth-of-type(2) { - width: 15%; - } - - &:nth-of-type(3) { - width: 25%; - } - - &:nth-of-type(4) { - width: 35%; - } - } - } - } -} - -.benefits-data { - - table { - margin:auto; - width:100%; - - tr { - - td { - padding:10px; - position: relative; - - span { - position: absolute; - width: 225px; - display: block; - top: 10px; - left: 10px; - } - } - - &:nth-child(odd) { - background-color: $white; - } - - &:nth-child(even) { - background-color: $lightgrey; - } - - th { - padding:10px; - background-color: #dfecf5; - - &:nth-of-type(1) { - width: 60%; - } - &:nth-of-type(2) { - width: 8%; - } - - &:nth-of-type(3) { - width: 8%; - } - - &:nth-of-type(4) { - width: 8%; - } - - &:nth-of-type(5) { - width: 8%; - } - - &:nth-of-type(6) { - width: 8%; - } - } - } - } - } + .membership-data { + table { + margin:auto; + width:100%; + tr { + td { + padding: 10px; + } + &:nth-child(odd) { + background-color: $white; + } + &:nth-child(even) { + background-color: $lightgrey; + } + th { + padding: 10px; + background-color: #dfecf5; + &:nth-of-type(1) { + width: 15%; + } + &:nth-of-type(2) { + width: 20%; + } + &:nth-of-type(3) { + width: 5%; + } + &:nth-of-type(4) { + width: 35%; + } + } + } + } + } + .benefits-data { + table { + margin:auto; + width:100%; + tr { + td { + padding: 10px; + position: relative; + span { + position: absolute; + width: 225px; + display: block; + top: 10px; + left: 10px; + } + } + &:nth-child(odd) { + background-color: $white; + } + &:nth-child(even) { + background-color: $lightgrey; + } + th { + padding:10px; + background-color: #dfecf5; + &:nth-of-type(1) { + width: 60%; + } + &:nth-of-type(2) { + width: 8%; + } + &:nth-of-type(3) { + width: 8%; + } + &:nth-of-type(4) { + width: 8%; + } + &:nth-of-type(5) { + width: 8%; + } + &:nth-of-type(6) { + width: 8%; + } + } + } + } + } } // Board of Directors diff --git a/themes/openpowerfoundation/layouts/index.html b/themes/openpowerfoundation/layouts/index.html index e78d598..dd1b9fb 100644 --- a/themes/openpowerfoundation/layouts/index.html +++ b/themes/openpowerfoundation/layouts/index.html @@ -1,83 +1,69 @@ {{ partial "header.html" . }} - {{ partial "navbar.html" . }} - -{{ partial "home-promo.html" . }} - -
-
-
-
- -
-
-

{{ .Param "article-1.header" }}

-

{{ .Param "article-1.lead-1" }} {{ .Param "article-1.p-1" }}

-

{{ .Param "article-1.lead-2" }} {{ .Param "article-1.p-2" }}

-
-
-
-
- -
-
-

{{ .Param "article-2.header" }}

-

{{ .Param "article-2.lead-1" }}

-

{{ .Param "article-2.p-1" }}

-

{{ .Param "article-2.lead-2" }}

-

{{ .Param "article-2.p-2" }}

-

{{ .Param "article-2.lead-3" }}

-

{{ .Param "article-2.p-3" }}

-
-
-
+{{ $promobackgroundimagename := .Param "promo.image" }} +{{ $promobackgroundimagelocation := (printf "%s/%s" "images/home/" $promobackgroundimagename) }} +{{ $promobackgroundimageresource := resources.Get $promobackgroundimagelocation }} +{{ $promobackgroundimage := $promobackgroundimageresource.Resize "3840x2160 webp" }} +
+
+

{{ .Param "promo.header" }}

+ {{ range .Param "promo.p" }} +

{{ . }}

+ {{ end }} +

{{ .Param "promo.calltoaction" }}

+
+
+
+
+{{ range .Params.articles }} +
+
+ {{ $articleimagename := .image }} + {{ $articleimagelocation := (printf "%s/%s" "images/home/" $articleimagename) }} + {{ $articleimageresource := resources.Get $articleimagelocation }} + {{ $articleimage := $articleimageresource.Resize "600x400 webp" }} + {{ .header }} +
+
+

{{ .header }}

+ {{ range .lead }} +

{{ .title }}
{{ .p }}

+ {{ end }} +
+
+{{ end }} +
- +
+

{{ .Param "sections.title" }}

+
+ {{ range .Param "sections.section" }} +
+
+ {{ $sectionimagename := .image }} + {{ $sectionimagelocation := (printf "%s/%s" "images/home/" $sectionimagename) }} + {{ $sectionimageresource := resources.Get $sectionimagelocation }} + {{ $sectionimage := $sectionimageresource.Resize "390x390 webp" }} + {{ .title }} +
+ {{ .title }} +
+ {{ end }} +

Working Groups

+
-
-

{{ .Param "sections.section-dark.p-1" }}

-
+
+{{ range .Param "dark" }} +

{{ . }}

+{{ end }} +
-
-

{{ .Param "sections.section-supporters.title" }}

-
+
+

{{ .Param "sections.section-supporters.title" }}

+
{{ range where .Site.RegularPages "Section" "members" }} {{ $level := .Param "level" }} {{ if eq $level "platinum" }} @@ -92,29 +78,15 @@ {{ end }} {{ end }} {{ end }} - -
-
+
+
-
-

{{ .Param "sections.section-subscribe.title" }}

-

{{ .Param "sections.section-subscribe.p-1" }}

-
-
- -
-
- -
-
- -
-
- -
-
-
+
+

{{ .Param "subscribe.title" }}

+ {{ range .Param "subscribe.p" }} +

{{ . }}

+ {{ end }} +
- {{ partial "footer.html" . }} diff --git a/themes/openpowerfoundation/layouts/partials/home-promo.html b/themes/openpowerfoundation/layouts/partials/home-promo.html deleted file mode 100644 index 77512f9..0000000 --- a/themes/openpowerfoundation/layouts/partials/home-promo.html +++ /dev/null @@ -1,8 +0,0 @@ -
-
-

{{ .Param "promo-h1" }}

-

{{ .Param "promo-p1" }}

-

{{ .Param "promo-cta" }}

-
-