diff --git a/website/components/vmware-purchase-form/index.jsx b/website/components/vmware-purchase-form/index.jsx new file mode 100644 index 000000000..d0ea643fb --- /dev/null +++ b/website/components/vmware-purchase-form/index.jsx @@ -0,0 +1,30 @@ +import s from './style.module.css' +import { useState } from 'react' + +export default function VMWarePurchaseForm({ productId }) { + const [seats, setSeats] = useState(1) + const submit = (e) => { + e.preventDefault() + + const seatsInt = parseInt(seats, 10) + if (isNaN(seatsInt)) { + return alert('The number of seats you want to purchase must be a number.') + } + if (seatsInt <= 0) { + return alert('The number of seats you want must be greater than zero.') + } + + window.location.href = `http://shopify.hashicorp.com/cart/${productId}:${seats}` + } + + return ( +
+ ) +} diff --git a/website/components/vmware-purchase-form/style.module.css b/website/components/vmware-purchase-form/style.module.css new file mode 100644 index 000000000..dbbcc3a78 --- /dev/null +++ b/website/components/vmware-purchase-form/style.module.css @@ -0,0 +1,32 @@ +.root { + & input { + border: none; + box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.1); + font-size: 18px; + height: 50px; + line-height: 50px; + padding: 0 15px; + text-align: center; + width: 60px; + } + + & button { + background: #1563ff; + border: none; + border-radius: 0; + box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.1); + color: #fff; + font-family: 'gilmer-web', 'Gilmer', Geneva, Tahoma, Helvetica, Verdana, + sans-serif; + font-size: 18px; + height: 50px; + line-height: 50px; + padding: 0 15px; + cursor: pointer; + transition: background-color 0.25s ease; + + &:hover { + background: #3176ff; + } + } +} diff --git a/website/pages/vmware/index.html.erb b/website/pages/vmware/index.html.erb deleted file mode 100644 index 617073665..000000000 --- a/website/pages/vmware/index.html.erb +++ /dev/null @@ -1,329 +0,0 @@ ---- -page_title: "VMware Integration" -description: |- - The Vagrant VMware plugin provides rock-solid stability, improved performance, - and dedicated support for using VMware and Vagrant. ---- - -- vagrant up, vagrant ssh, vagrant destroy - - the same Vagrant workflow you know and love. Vastly improve your - work environments without having to re-educate your team. -
-- VMware screams, with industry-leading performance1 - based on the same hypervisor technology in use by 98% of the Fortune 500. - Get all the performance gains paired with the ease of use of Vagrant. -
-- The VMware hypervisor has been in production use since 1999. - All their products share the same, robust core that powers - the world's largest organizations. With the VMware provider, Vagrant - now runs on the strength of the same foundation. -
-- VMware virtual machines run on Mac OS X, Windows, and Linux. - Vagrant provides support for both VMware Fusion (Mac OS X) and - VMware Workstation (Linux and Windows), which are able to run - the same virtual machines across multiple platforms. -
-- Every purchase of the Vagrant VMware provider comes with - direct email support. VMware products themselves are eligible for - professional support from VMware. Someone always has your back - in case things are not working as well as they should be. -
-- Vagrant is free and open source. While the VMware providers - are not, the revenue is used to continue to develop, support, - and grow Vagrant and the community around it. -
-- 1According to this article in MacWorld vs. Parallels Desktop 7 -
-- Price: $79 per seat. -
-- A single seat can be used on two computers (such as a desktop - and a laptop) for a single person. The license is valid forever - with access to free maintenance updates. Future major updates may - require an upgrade fee. -
-- Enter the number of seats you wish to purchase below. Then, - click the buy button and complete the order. Instructions to - install and download the software will be emailed to you. -
- -- We do not offer a trial mechanism at this time, but we do offer a - 30-day, no questions asked, 100% money-back guarantee. If you are - not satisfied with the product, contact us within 30 days and you - will receive a full refund. -
-- We offer an academic discount of 10% for the Vagrant VMware plugins. - However, we require proof that you are a current student or employee - in academia. Please contact support with any one of - the following forms of proof: - -
A picture of your current university ID
An email from your official .edu school email address
A copy of something on university letterhead indicating you are currently enrolled as a student
- Existing license holders may check their upgrade eligibility by - visiting the license upgrade center. - If you are eligible for an upgrade, the system will generate a - unique discount code that may be used when purchasing the new - license. -
-- The Vagrant VMware plugin licenses are valid for specific VMware - product versions at the time of purchase. When new versions of - VMware products are released, significant changes to the plugin code - are often required to support this new version. For this reason, you - may need to upgrade your current license to work with the new - version of the VMware product. Customers can check their license - upgrade eligibility by visiting the - License Upgrade Center - and entering the email address with which they made the original - purchase. -
-- Please note: your existing license will continue to work with all - previous versions of the VMware products. If you do not wish to - update at this time, you can rollback your VMware installation to an - older version. -
-- The EULA for the Vagrant VMware plugins - is available on the Vagrant website. -
-- All our reseller information can be found on the - Reseller Information page. -
-- We certainly do! Email support - with the number of licenses you need and we can give you bulk pricing - information. Please note that bulk pricing requires the purchase of - at least 150 seats. -
-- The Vagrant VMware Plugin requires the separate purchase of VMware - Fusion/Workstation from VMware. The VMware product is not bundled - with the plugin. -
-- While we have not been able to isolate to a specific issue or cause, - the Vagrant VMware Fusion and Vagrant VMware Workstation plugins are - sometimes incompatible with the trial versions of the VMware - products. -
-- Please try restarting your computer and running the VMware software - manually. Occasionally you must accept the license agreement before - VMware will run. If you do not see any errors when opening the - VMware GUI, you may need to purchase the full version to use the - plugin. We apologize for the inconvenience. -
-- Some features of the Vagrant VMware Workstation plugin will - work with VMware Player, but it is not officially supported. Vagrant - interacts with VMware via the VMware API, and some versions of - VMware Workstation Player do not support those APIs. When in doubt, - please purchase VMware Workstation Pro to use all the features - supported by the integration. -
-- The Vagrant VMware plugin is compatible with both the regular and - Pro versions of VMware Fusion and VMware Workstation. However, some - advanced features (such as linked clones), are only supported by the - Pro versions of the VMware software. -
-- Please consult the VMware documentation to determine which features - are supported by the Pro and non-Pro versions to determine which - product you need to purchase. -
-
+ vagrant up, vagrant ssh,{' '}
+ vagrant destroy - the same Vagrant workflow you
+ know and love. Vastly improve your work environments without
+ having to re-educate your team.
+
+ The VMware hypervisor has been in production use since 1999. All + their products share the same, robust core that powers the + world's largest organizations. With the VMware provider, Vagrant + now runs on the strength of the same foundation. +
++ Every purchase of the Vagrant VMware provider comes with direct + email support. VMware products themselves are eligible for + professional support from VMware. Someone always has your back + in case things are not working as well as they should be. +
++ VMware screams, with industry-leading performance + 1 based on the same hypervisor technology in use by + 98% of the Fortune 500. Get all the performance gains paired + with the ease of use of Vagrant. +
++ VMware virtual machines run on Mac OS X, Windows, and Linux. + Vagrant provides support for both VMware Fusion (Mac OS X) and + VMware Workstation (Linux and Windows), which are able to run + the same virtual machines across multiple platforms. +
++ Vagrant is free and open source. While the VMware providers are + not, the revenue is used to continue to develop, support, and + grow Vagrant and the community around it. +
++ Price: $79 per seat. +
++ A single seat can be used on two computers (such as a desktop and a + laptop) for a single person. The license is valid forever with + access to free maintenance updates. Future major updates may require + an upgrade fee. +
++ Enter the number of seats you wish to purchase below. Then, click + the buy button and complete the order. Instructions to install and + download the software will be emailed to you. +
++ VMware Fusion 11 / VMware Workstation 15 or lower +
++ The provider license does not include a license to the VMware + software, which must be purchased separately. If you are buying + over 150 licenses, contact{' '} + sales@hashicorp.com for + volume pricing. By purchasing this license, you agree to the{' '} + EULA and + the HashiCorp{' '} + Privacy Policy and{' '} + + Terms of Service + + . +
++ Previous plugin versions may not support the latest VMware + products. Please visit the{' '} + + license upgrade center + {' '} + to check if your license requires an upgrade before you upgrade + your VMware products. +
++ For reseller information,{' '} + + click here + + . +
+ ++ We do not offer a trial mechanism at this time, but we do offer + a 30-day, no questions asked, 100% money-back guarantee. If you + are not satisfied with the product, contact us within 30 days + and you will receive a full refund. +
++ We offer an academic discount of 10% for the Vagrant VMware + plugins. However, we require proof that you are a current + student or employee in academia. Please contact support with{' '} + any one of the following forms of proof: +
+.edu school email
+ address
+ + Existing license holders may check their upgrade eligibility by + visiting{' '} + + the license upgrade center + + . If you are eligible for an upgrade, the system will generate a + unique discount code that may be used when purchasing the new + license. +
++ The Vagrant VMware plugin licenses are valid for specific VMware + product versions at the time of purchase. When new versions of + VMware products are released, significant changes to the plugin + code are often required to support this new version. For this + reason, you may need to upgrade your current license to work + with the new version of the VMware product. Customers can check + their license upgrade eligibility by visiting the{' '} + + License Upgrade Center + {' '} + and entering the email address with which they made the original + purchase. +
++ Please note: your existing license will continue to work with + all previous versions of the VMware products. If you do not wish + to update at this time, you can rollback your VMware + installation to an older version. +
++ The{' '} + + EULA for the Vagrant VMware plugins + {' '} + is available on the Vagrant website. +
++ All our reseller information can be found on the{' '} + Reseller Information page. +
++ We certainly do!{' '} + + Email support + {' '} + with the number of licenses you need and we can give you bulk + pricing information. Please note that bulk pricing requires the + purchase of + at least 150 seats. +
++ The Vagrant VMware Plugin requires the separate purchase of + VMware Fusion/Workstation from VMware. The VMware product is not + bundled with the plugin. +
++ While we have not been able to isolate to a specific issue or + cause, the Vagrant VMware Fusion and Vagrant VMware Workstation + plugins are sometimes incompatible with the trial versions of + the VMware products. +
++ Please try restarting your computer and running the VMware + software manually. Occasionally you must accept the license + agreement before VMware will run. If you do not see any errors + when opening the VMware GUI, you may need to purchase the full + version to use the plugin. We apologize for the inconvenience. +
++ Some features of the Vagrant VMware Workstation plugin + will work with VMware Player, but it is not officially + supported. Vagrant interacts with VMware via the VMware API, and + some versions of VMware Workstation Player do not support those + APIs. When in doubt, please purchase VMware Workstation Pro to + use all the features supported by the integration. +
++ The Vagrant VMware plugin is compatible with both the regular + and Pro versions of VMware Fusion and VMware Workstation. + However, some advanced features (such as linked clones), are + only supported by the Pro versions of the VMware software. +
++ Please consult the VMware documentation to determine which + features are supported by the Pro and non-Pro versions to + determine which product you need to purchase. +
+