You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by pa...@apache.org on 2022/02/22 18:32:33 UTC
[beam] branch master updated: case study pages - improvements and fixes (#16896)
This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 5345834 case study pages - improvements and fixes (#16896)
5345834 is described below
commit 5345834a86c422347556e0bce7e5dd20e4854e44
Author: Aydar Farrakhov <st...@gmail.com>
AuthorDate: Tue Feb 22 21:31:17 2022 +0300
case study pages - improvements and fixes (#16896)
* case study - small fixes:
- Added dot to the title on the case studies page;
- Added rights note to the case study community page;
- Added file name example to the ADD_LOGO.md;
* case study - small fixes:
- Increase logo image height on cards
- Add max width for the content
* update hop logo
* fix licence
---
website/ADD_LOGO.md | 1 +
website/www/site/assets/scss/_case_study.scss | 4 +-
website/www/site/content/en/case-studies/hop.md | 4 +-
.../www/site/content/en/community/case-study.md | 3 +
website/www/site/layouts/case-studies/list.html | 2 +-
.../site/static/images/logos/powered-by/hop.png | Bin 82744 -> 0 bytes
.../site/static/images/logos/powered-by/hop.svg | 71 +++++++++++++++++++++
7 files changed, 81 insertions(+), 4 deletions(-)
diff --git a/website/ADD_LOGO.md b/website/ADD_LOGO.md
index 3378904..a478ab8 100644
--- a/website/ADD_LOGO.md
+++ b/website/ADD_LOGO.md
@@ -22,6 +22,7 @@
1. Fork [Apache Beam](https://github.com/apache/beam) repository
2. Add file with company or project name to
the [case-studies](https://github.com/apache/beam/tree/master/website/www/site/content/en/case-studies) folder
+ e.g., `company.md`
3. Add project/company logo to
the [images/logos/powered-by](https://github.com/apache/beam/tree/master/website/www/site/static/images/logos/powered-by)
folder. Please use your company/project name e.g. `ricardo.png`
diff --git a/website/www/site/assets/scss/_case_study.scss b/website/www/site/assets/scss/_case_study.scss
index 4de3561..c8eb712 100644
--- a/website/www/site/assets/scss/_case_study.scss
+++ b/website/www/site/assets/scss/_case_study.scss
@@ -95,7 +95,7 @@
}
.case-study-card-img img {
- height: 35px;
+ height: 50px;
}
.case-study-card-title {
@@ -296,11 +296,13 @@ h2.case-study-h2 {
img {
width: 100%;
+ max-height: 100px;
}
}
}
.case-study-post {
+ max-width: 1200px;
flex: 1;
}
diff --git a/website/www/site/content/en/case-studies/hop.md b/website/www/site/content/en/case-studies/hop.md
index c38f334..ae69c8f 100644
--- a/website/www/site/content/en/case-studies/hop.md
+++ b/website/www/site/content/en/case-studies/hop.md
@@ -1,7 +1,7 @@
---
title: "Beam visual pipeline development with Hop"
name: "Neo4j"
-icon: /images/logos/powered-by/hop.png
+icon: /images/logos/powered-by/hop.svg
category: study
cardTitle: "Visual Apache Beam Pipeline Design and Orchestration with Apache Hop"
cardDescription: "Apache Hop is an open source data orchestration and engineering platform that extends Apache Beam with visual pipeline lifecycle management. Neo4j’s Chief Solution Architect and Apache Hop’s co-founder, Matt Casters, sees Apache Beam as a driving force behind Hop."
@@ -25,7 +25,7 @@ limitations under the License.
<div class="case-study-opinion">
<div class="case-study-opinion-img">
- <img src="/images/logos/powered-by/hop.png"/>
+ <img src="/images/logos/powered-by/hop.svg"/>
</div>
<blockquote class="case-study-quote-block">
<p class="case-study-quote-text">
diff --git a/website/www/site/content/en/community/case-study.md b/website/www/site/content/en/community/case-study.md
index 4406338..73556a7 100644
--- a/website/www/site/content/en/community/case-study.md
+++ b/website/www/site/content/en/community/case-study.md
@@ -34,3 +34,6 @@ started!
Want to tell the world you are using Apache Beam? Just walk
through [this instruction](https://github.com/apache/beam/tree/master/website/ADD_LOGO.md) and make it happen!
+
+The Apache Beam PMC reserves the right to remove logos of companies that are not demeed to be in good standing in the
+community.
diff --git a/website/www/site/layouts/case-studies/list.html b/website/www/site/layouts/case-studies/list.html
index de262d3..ee1f19b 100644
--- a/website/www/site/layouts/case-studies/list.html
+++ b/website/www/site/layouts/case-studies/list.html
@@ -14,7 +14,7 @@ limitations under the License. See accompanying LICENSE file.
<div class="blog-content">
<h1>Case Studies</h1>
<p class="case-study-about">Apache Beam powers many of today’s leading projects, industry-specific use cases, and
- startups</p>
+ startups.</p>
{{ $pages := .Pages.ByPublishDate.Reverse }}
<div class="case-study-list">
{{ range where $pages "Params.category" "study" }}
diff --git a/website/www/site/static/images/logos/powered-by/hop.png b/website/www/site/static/images/logos/powered-by/hop.png
deleted file mode 100644
index 58c25b6..0000000
Binary files a/website/www/site/static/images/logos/powered-by/hop.png and /dev/null differ
diff --git a/website/www/site/static/images/logos/powered-by/hop.svg b/website/www/site/static/images/logos/powered-by/hop.svg
new file mode 100644
index 0000000..728eae3
--- /dev/null
+++ b/website/www/site/static/images/logos/powered-by/hop.svg
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ id="Livello_1"
+ x="0px"
+ y="0px"
+ width="440.00003"
+ height="506.47379"
+ viewBox="0 0 440.00003 506.47376"
+ enable-background="new 0 0 419.53 595.28"
+ xml:space="preserve"
+ sodipodi:docname="hop-logo.svg"
+ inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"><metadata
+ id="metadata9"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs7" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1821"
+ inkscape:window-height="1708"
+ id="namedview5"
+ showgrid="false"
+ inkscape:zoom="1.6664426"
+ inkscape:cx="209.765"
+ inkscape:cy="297.64001"
+ inkscape:window-x="8259"
+ inkscape:window-y="49"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="Livello_1"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0" />
+<path
+ fill="#0e3a5a"
+ d="m 183.36503,200.61519 c -11.86432,12.89396 -19.46245,31.04416 -22.7926,54.44518 l -16.1611,113.54358 c -3.33015,23.40462 -0.89644,41.54942 7.29751,54.44338 3.13574,4.77921 8.20476,9.43602 15.20347,13.97042 6.99331,4.53799 16.81814,6.80429 29.47809,6.80429 12.89397,0 23.42443,-2.2663 31.59319,-6.80429 8.16696,-4.5344 14.49963,-9.19121 19.00163,-13.97042 11.86612,-12.89396 19.46245,-31.03876 22.7908,-54.44338 l 16.16111,-113.54358 c 3.33015,-23.40102 0.90004,-41.55122 -7.29572,-54.44 [...]
+ id="path2"
+ style="stroke-width:1.80008" />
+</svg>