Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enterprise pricing admonitions #468

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion src/css/general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,37 @@ body {
--ifm-footer-background-color: var(--ifm-color-secondary);
}

.enterprise-starter .alert--info {
background: #fff0e4;
border-left-color: #EB7A23;
}

.enterprise-advanced .alert--info {
background: #fff0e4;
border-left-color: #EB7A23;
}

.enterprise-ultimate .alert--info {
background: #fff0e4;
border-left-color: #EB7A23;
}

.enterprise-starter .alert--info svg,
.enterprise-advanced .alert--info svg,
.enterprise-ultimate .alert--info svg {
background: url('/media/vcluster_symbol_dark_2.svg');
background-size: contain;
width: 24px;
height: 24px;
color: transparent;
fill: transparent;
}

.enterprise-ultimate .alert--info {
background: #fff0e4;
border-left-color: #EB7A23;
}

.embed-container {
position: relative;
padding-bottom: 56.25%;
Expand Down Expand Up @@ -65,4 +96,4 @@ table th:first-child:empty {
/* Button: Edit this page */
.container > .row > .col > div > .margin-vert--xl a:hover {
background: var(--ifm-color-primary);
}
}
2 changes: 1 addition & 1 deletion src/css/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
position: relative;

&::after {
content: "PRO";
content: "ENTERPRISE";

// Technical settings:
display: block;
Expand Down
10 changes: 10 additions & 0 deletions vcluster/_partials/admonitions/pro-advanced-admonition.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Admonition from '@theme/Admonition';

<br></br>
<div class="enterprise-advanced">
:::info Enterprise-Only Feature

Description: This feature is available exclusively in vCluster Enterprise Advanced and Ultimate plans. Learn more about our [pricing plans](https://www.vcluster.com/pricing) or [contact our sales team](https://www.vcluster.com/enterprise-demo) to explore how vCluster Enterprise can support your needs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think we need to include the word "description". Also this has more of a marketing feel to it I think. I think for the tech doc the following is simpler and to the point:

Suggested change
Description: This feature is available exclusively in vCluster Enterprise Advanced and Ultimate plans. Learn more about our [pricing plans](https://www.vcluster.com/pricing) or [contact our sales team](https://www.vcluster.com/enterprise-demo) to explore how vCluster Enterprise can support your needs.
This feature is only available in the vCluster Enterprise Advanced and Ultimate plans. See our [pricing plans](https://www.vcluster.com/pricing) or [contact our sales team](https://www.vcluster.com/enterprise-demo) for more information.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be This feature is only available in the vCluster Enterprise Starter and Advanced plans.?


:::
</div>
10 changes: 10 additions & 0 deletions vcluster/_partials/admonitions/pro-starter-admonition.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Admonition from '@theme/Admonition';

<br></br>
<div class="enterprise-starter">
:::info Enterprise-Only Feature

Description: This feature is available exclusively in vCluster Enterprise Starter, Advanced and Ultimate plans. Learn more about our [pricing plans](https://www.vcluster.com/pricing) or [contact our sales team](https://www.vcluster.com/enterprise-demo) to explore how vCluster Enterprise can support your needs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think we need to include the word "description". Also this has more of a marketing feel to it I think. I think for the tech doc the following is simpler and to the point:

Suggested change
Description: This feature is available exclusively in vCluster Enterprise Starter, Advanced and Ultimate plans. Learn more about our [pricing plans](https://www.vcluster.com/pricing) or [contact our sales team](https://www.vcluster.com/enterprise-demo) to explore how vCluster Enterprise can support your needs.
This feature is only available in the vCluster Enterprise Advanced and Ultimate plans. See our [pricing plans](https://www.vcluster.com/pricing) or [contact our sales team](https://www.vcluster.com/enterprise-demo) for more information.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joaniekube I think we missed there the starter part. This feature is available exclusively in vCluster Enterprise Starter


:::
</div>
10 changes: 10 additions & 0 deletions vcluster/_partials/admonitions/pro-ultimate-admonition.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Admonition from '@theme/Admonition';

<br></br>
<div class="enterprise-ultimate">
:::info Enterprise-Only Feature

Description: This feature is available exclusively in vCluster Enterprise Ultimate plans. Learn more about our [pricing plans](https://www.vcluster.com/pricing) or [contact our sales team](https://www.vcluster.com/enterprise-demo) to explore how vCluster Enterprise can support your needs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think we need to include the word "description". Also this has more of a marketing feel to it I think. I think for the tech doc the following is simpler and to the point:

Suggested change
Description: This feature is available exclusively in vCluster Enterprise Ultimate plans. Learn more about our [pricing plans](https://www.vcluster.com/pricing) or [contact our sales team](https://www.vcluster.com/enterprise-demo) to explore how vCluster Enterprise can support your needs.
This feature is only available in the vCluster Enterprise Advanced and Ultimate plans. See our [pricing plans](https://www.vcluster.com/pricing) or [contact our sales team](https://www.vcluster.com/enterprise-demo) for more information.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, this should be `This feature is only available in the vCluster Enterprise Ultimate plan.


:::
</div>