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

(#365)(#367) Update top banner text and pricing calculator #366

Merged
merged 3 commits into from
Jan 2, 2024
Merged
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
2 changes: 1 addition & 1 deletion getting-started/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"homepage": "https://github.com/chocolatey/chocolatey.org#readme",
"devDependencies": {
"choco-theme": "0.5.17"
"choco-theme": "0.5.18"
},
"resolutions": {
"glob-parent": "^6.0.2",
Expand Down
14 changes: 7 additions & 7 deletions js/ts/util/chocolatey-pricing-calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,40 +133,40 @@ export const c4bStandardSubscription: C4bSubscription[] = [
maxNodes: 35
},
{
pricePerNode: 16.50,
pricePerNode: 17,
minNodes: 40,
maxNodes: 499
},
{
pricePerNode: 16.10,
pricePerNode: 16.60,
minNodes: 500,
maxNodes: 1999
},
{
pricePerNode: 15.50,
pricePerNode: 16,
minNodes: 2000,
maxNodes: 9999
},
{
pricePerNode: 15,
pricePerNode: 15.50,
minNodes: 10000,
maxNodes: 50000
}
];

export const c4bPremiumSubscription: C4bSubscription[] = [
{
pricePerNode: 25.76,
pricePerNode: 27.38,
minNodes: 1500,
maxNodes: 1999
},
{
pricePerNode: 24.80,
pricePerNode: 26.40,
minNodes: 2000,
maxNodes: 9999
},
{
pricePerNode: 24,
pricePerNode: 25.57,
minNodes: 10000,
maxNodes: 50000
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "choco-theme",
"version": "0.5.17",
"version": "0.5.18",
"description": "The global theme for Chocolatey Software.",
"repository": {
"type": "git",
Expand All @@ -22,7 +22,7 @@
"@docsearch/css": "^3.3.3",
"@docsearch/js": "^3.3.3",
"@fortawesome/fontawesome-free": "^6.1.2",
"@playwright/test": "^1.35.1",
"@playwright/test": "1.35.1",
"@popperjs/core": "^2.11.5",
"@splidejs/splide": "^4.1.4",
"@splidejs/splide-extension-auto-scroll": "^0.5.3",
Expand Down
2 changes: 1 addition & 1 deletion partials/AlertText.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<a href='https://blog.chocolatey.org/tags/packaging'>Looking to master Chocolatey Packaging? Check the 12 Days of Chocolatey Packaging going on right now!</a>
<a href='https://chocolatey.org/events/whipping-up-windows-automation-with-chocolatey-central-management'>WEBINAR - Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management - 17 January - 5 PM UTC</a>
2 changes: 1 addition & 1 deletion partials/TopAlertBanner.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

if (!string.IsNullOrEmpty(topNoticeText))
{
<div id="topNoticeAlert" class="alert alert-success alert-dismissible alert-dismissible-center fade show d-none" role="alert">
<div id="topNoticeAlert" class="alert alert-warning alert-dismissible alert-dismissible-center fade show d-none" role="alert">
<p class="mb-0 me-3 me-xl-0">@Html.Raw(topNoticeText)</p>
<button type="button" class="btn-close text-dark" data-bs-dismiss="alert" aria-label="Close">
<i class="fa-solid fa-xmark" aria-hidden="true"></i>
Expand Down
Loading