Skip to content

Commit

Permalink
Case studies index page and link from homepage (knative#5869)
Browse files Browse the repository at this point in the history
* Link to case studies

Signed-off-by: Ali Ok <aliok@redhat.com>

* Add a case studies page to link from homepage

Signed-off-by: Ali Ok <aliok@redhat.com>

* change the styling, and make the whole table row clickable

---------

Signed-off-by: Ali Ok <aliok@redhat.com>
Co-authored-by: Leo Li <leoli@redhat.com>
  • Loading branch information
2 people authored and prushh committed Apr 30, 2024
1 parent d2547d2 commit 06ff270
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 4 deletions.
3 changes: 2 additions & 1 deletion config/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ nav:
- Available Broker types: eventing/brokers/broker-types/README.md
# add default IMC broker page, page explaining broker types
- Channel based Broker: eventing/brokers/broker-types/channel-based-broker/README.md
- Apache Kafka:
- Apache Kafka:
- About Apache Kafka Broker: eventing/brokers/broker-types/kafka-broker/README.md
- Configuring Kafka features: eventing/brokers/broker-types/kafka-broker/configuring-kafka-features.md
- Creating a Broker: eventing/brokers/create-broker.md
Expand Down Expand Up @@ -309,6 +309,7 @@ nav:
- About:
- Testimonials: about/testimonials.md
- Case studies:
- List of Case Studies: about/case-studies/README.md
- deepc: about/case-studies/deepc.md
- Outfit7: about/case-studies/outfit7.md
- Puppet: about/case-studies/puppet.md
Expand Down
1 change: 0 additions & 1 deletion config/redirects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,5 @@ plugins:
serving/spec/knative-api-specification-1.0.md: https://github.com/knative/specs/blob/main/specs/serving/knative-api-specification-1.0.md
serving/using-an-ssl-cert/index.md: serving/encryption/using-certificates-in-networking-layer.md
serving/using-subroutes.md: serving/traffic-management.md
about/case-studies/README.md: about/case-studies/deepc.md
eventing/brokers/create-mtbroker.md: eventing/brokers/create-broker.md
eventing/brokers/broker-admin-config-options.md: eventing/configuration/broker-configuration.md
28 changes: 28 additions & 0 deletions docs/about/case-studies/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
hide:
- toc
---

# Knative Case Studies
<table>
<tr onclick="window.location='./deepc/';" style="cursor: pointer;">
<td style="text-align: center; vertical-align: middle;"><img src="../../images/case-studies/deepc.png" alt="" draggable="false" style="max-width:300px;" /></td>
<td style="text-align: center; vertical-align: middle;">AI Startup deepc Connects Researchers to Radiologists with Knative Eventing</td>
</tr>
<tr onclick="window.location='./outfit7/';" style="cursor: pointer;">
<td style="text-align: center; vertical-align: middle;"><img src="../../images/case-studies/outfit7.png" alt="" draggable="false" style="max-width:300px;" /></td>
<td style="text-align: center; vertical-align: middle;">Game maker Outfit7 automates high performance ad bidding with Knative Serving</td>
</tr>
<tr onclick="window.location='./pnc/';" style="cursor: pointer;">
<td style="text-align: center; vertical-align: middle;"><img src="../../images/case-studies/pnc_bank.png" alt="" draggable="false" style="max-width:300px;" /></td>
<td style="text-align: center; vertical-align: middle;">PNC Bank automated software supply chain compliance</td>
</tr>
<tr onclick="window.location='./puppet/';" style="cursor: pointer;">
<td style="text-align: center; vertical-align: middle;"><img src="../../images/case-studies/puppet.png" alt="" draggable="false" style="max-width:300px;" /></td>
<td style="text-align: center; vertical-align: middle;">Relay by Puppet Brings Workflows to Everything using Knative</td>
</tr>
<tr onclick="window.location='./sva/';" style="cursor: pointer;">
<td style="text-align: center; vertical-align: middle;"><img src="../../images/case-studies/sva.png" alt="" draggable="false" style="max-width:300px;" /></td>
<td style="text-align: center; vertical-align: middle;">SVA uses Knative to kickstart cloud native adoption and patterns</td>
</tr>
</table>
2 changes: 1 addition & 1 deletion hack/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ IMAGE=${3:-ghcr.io/knative/knative-docs:latest}

set -x

docker pull ${IMAGE}
docker pull ${IMAGE} --platform linux/amd64
docker run --rm -p "${PORT}:8000" -v "${SCRIPT_DIR}/../../:/site" ${IMAGE} serve --dirtyreload --dev-addr=0.0.0.0:8000

4 changes: 3 additions & 1 deletion overrides/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ <h2>Cloud agnostic</h2>

<section class="case-studies-container">
<div class="md-grid md-typeset">
<h1>Case Studies</h1>
<h1>
<a href="{{ 'about/case-studies/' | url }}">Case Studies</a>
</h1>
<div class="cases-table">
<div class="col">
<a href="{{ 'about/case-studies/deepc/' | url }}">
Expand Down

0 comments on commit 06ff270

Please sign in to comment.