Skip to content

Commit

Permalink
Add some Insights card styles and content
Browse files Browse the repository at this point in the history
  • Loading branch information
jordandoig committed Dec 3, 2020
1 parent 7c9ab13 commit 33dcb3f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion pkg/dashboard/assets/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
position: relative;
}

.card.insights {
text-align: center;
font-size: 13px;
color: #20162D;
background-color: #CACBD2;
padding-left: 40px;
padding-right: 40px;
}

.filters .title,
.card h3 {
margin: 0;
Expand Down Expand Up @@ -359,4 +368,4 @@ form.namespace-list {
.namespace-row label {
margin-left: 4px;
font-size: 20px;
}
}
6 changes: 3 additions & 3 deletions pkg/dashboard/templates/dashboard.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
</div>
</div>

<div clas="card insights">
image
<div class="card insights">
<img src="" />
<span>Fairwinds, the company behind Polaris, now offers Fairwinds Insights, a multi-cluster, multi-user Kubernetes configuration validation and policy enforcement platform. Fairwinds Insights can help you avoid errors that lead to wasted time, compute costs, and increased risk.</span>
button
<button>Try Insights</button>
</div>

<div class="card category">
Expand Down

0 comments on commit 33dcb3f

Please sign in to comment.