Skip to content

Commit

Permalink
[docs] Use links on support page (#6249)
Browse files Browse the repository at this point in the history
* [docs] Use links on support page

Previously JS was used to trigger navigation. Since the cursor hadn't
been updated, it wasn't clear that the boxes were clickable.

Signed-off-by: Charlie Egan <charlie@styra.com>

* Remove on-click event

Signed-off-by: Charlie Egan <charlie@styra.com>

---------

Signed-off-by: Charlie Egan <charlie@styra.com>
  • Loading branch information
charlieegan3 authored Sep 26, 2023
1 parent 919b290 commit 83a295f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions docs/website/layouts/support/section.html.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,31 @@ <h1 class="banner-content">
</div>

<div class="grid-container page-content">
<div class="card" onclick="window.open('https://www.styra.com/styra-opa-support?utm_medium=partner&utm_source=opa&utm_campaign=dmge&utm_content=opa-support')">
<div class="card">
<div class="card-body">
<div class="d-flex flex-row align-items-center flex-wrap-sm">
<img class="card-img align-middle" src="/img/logos/styra-logo.png"/>
<div class="card-text">
<span class="align-middle">Styra is the original creator of Open Policy
Agent and provides support, professional services, training, and
<span class="align-middle">
<a href="https://www.styra.com/styra-opa-support?utm_medium=partner&utm_source=opa&utm_campaign=dmge&utm_content=opa-support">Styra</a>
is the original creator of Open Policy Agent and provides
support, professional services, training, and
enterprise products.
</span>
</div>
</div>
</div>
</div>
<div class="card" onclick="window.open('https://paclabs.io/opa_support.html?utm_source=opa&utm_content=opa-support')">
<div class="card">
<div class="card-body">
<div class="d-flex flex-row align-items-center flex-wrap-sm">
<img class="card-img align-middle" src="/img/logos/paclabs-logo.png"/>
<div class="card-text">
<span class="align-middle"> Policy-as-Code Laboratories provides strategic planning
and integration consulting for OPA and Rego across the PaC ecosystem
(Cloud, Kubernetes, Open Shift and legacy platforms)
<span class="align-middle">
<a href="https://paclabs.io/opa_support.html?utm_source=opa&utm_content=opa-support">Policy-as-Code Laboratories</a>
provides strategic planning
and integration consulting for OPA and Rego across the PaC ecosystem
(Cloud, Kubernetes, Open Shift and legacy platforms)
</span>
</div>
</div>
Expand Down

0 comments on commit 83a295f

Please sign in to comment.