From ce40b103155a2e073fdc48c6f3520f53838e50c4 Mon Sep 17 00:00:00 2001 From: Tu Nguyen Date: Tue, 19 Nov 2024 11:16:33 -0800 Subject: [PATCH] Update Vagrant Cloud content to HCP Vagrant Registry (#2628) * update vagrant cloud content to hcp vagrant * update docs home page, no mention of hcp vagrant * revert extraneous files * Apply suggestions from code review Co-authored-by: kaitlincart <43049322+kaitlincart@users.noreply.github.com> --------- Co-authored-by: kaitlincart <43049322+kaitlincart@users.noreply.github.com> --- .../utils/get-nav-items.ts | 2 +- src/components/try-hcp-callout/content.ts | 6 +++--- src/content/vagrant/docs-landing.json | 20 +++++++++---------- src/content/vagrant/install-landing.json | 6 +++--- .../vagrant/install-vmware-landing.json | 6 +++--- src/content/vagrant/product-landing.json | 11 ---------- 6 files changed, 20 insertions(+), 31 deletions(-) diff --git a/src/components/navigation-header/components/product-page-content/utils/get-nav-items.ts b/src/components/navigation-header/components/product-page-content/utils/get-nav-items.ts index 34920c78f3..198bb78f6e 100644 --- a/src/components/navigation-header/components/product-page-content/utils/get-nav-items.ts +++ b/src/components/navigation-header/components/product-page-content/utils/get-nav-items.ts @@ -23,7 +23,7 @@ const TRY_CLOUD_ITEM_PRODUCT_SLUGS = [ enum TRY_CLOUD_PRODUCT_LINKS { default = 'https://portal.cloud.hashicorp.com/sign-up', terraform = 'https://app.terraform.io/public/signup/account', - vagrant = 'https://app.vagrantup.com/boxes/search', + vagrant = 'https://portal.cloud.hashicorp.com/vagrant/discover', } /** diff --git a/src/components/try-hcp-callout/content.ts b/src/components/try-hcp-callout/content.ts index 9f315e93ad..090ec63979 100644 --- a/src/components/try-hcp-callout/content.ts +++ b/src/components/try-hcp-callout/content.ts @@ -79,11 +79,11 @@ export const tryHcpCalloutContent: Record< 'https://www.datocms-assets.com/2885/1721073685-devdot-try-hcp-callout-ui-mock-vault.svg', }, vagrant: { - heading: 'Vagrant Cloud', + heading: 'HCP Vagrant Registry', description: 'Virtual boxes for Linux, Laravel and any development environment', - ctaText: 'Try Vagrant Cloud for free', - ctaUrl: 'https://app.vagrantup.com/boxes/search', + ctaText: 'Try HCP Vagrant Registry for free', + ctaUrl: 'https://portal.cloud.hashicorp.com/vagrant/discover', image: 'https://www.datocms-assets.com/2885/1721073683-devdot-try-hcp-callout-ui-mock-vagrant.svg', }, diff --git a/src/content/vagrant/docs-landing.json b/src/content/vagrant/docs-landing.json index 5e41819340..11366c4289 100644 --- a/src/content/vagrant/docs-landing.json +++ b/src/content/vagrant/docs-landing.json @@ -56,23 +56,23 @@ }, { "type": "card-grid", - "title": "Vagrant Cloud", - "description": "Vagrant Cloud serves a public, searchable index of Vagrant boxes.", + "title": "HCP Vagrant Registry", + "description": "HCP Vagrant Registry serves a public, searchable index of Vagrant boxes.", "cards": [ { - "description": "Use the public catalog to find boxes that contain the technologies you need for your Vagrant environment.", + "description": "Store and version your Vagrant boxes in HCP Vagrant Registry.", "title": "Catalog", - "url": "/vagrant/vagrant-cloud/boxes/catalog" + "url": "/hcp/docs/vagrant" }, { - "description": "Create your boxes with Packer, the Vagrant Cloud web interface, or the API.", - "title": "Creation", - "url": "/vagrant/vagrant-cloud/boxes/create" + "description": "Configure HCP Vagrant Registry permissions.", + "title": "Configure permissions", + "url": "/hcp/docs/vagrant/permissions" }, { - "description": "Version and track the lifecycle of your boxes to make updates and fixes more efficiently.", - "title": "Lifecycle", - "url": "/vagrant/vagrant-cloud/boxes/lifecycle" + "description": "Reclaim registries from Vagrant Cloud.", + "title": "Reclaim registries", + "url": "/hcp/docs/vagrant/reclaim-vagrant-cloud" } ] }, diff --git a/src/content/vagrant/install-landing.json b/src/content/vagrant/install-landing.json index fb8eaa69aa..7e77785673 100644 --- a/src/content/vagrant/install-landing.json +++ b/src/content/vagrant/install-landing.json @@ -41,9 +41,9 @@ ] }, "sidecarHcpCallout": { - "heading": "Vagrant Cloud", + "heading": "HCP Vagrant Registry", "description": "Virtual boxes for Linux, Laravel and any development environment", - "ctaText": "Try Vagrant Cloud for free", - "ctaUrl": "https://app.vagrantup.com/boxes/search" + "ctaText": "Try HCP Vagrant Registry for free", + "ctaUrl": "https://portal.cloud.hashicorp.com/vagrant/discover" } } diff --git a/src/content/vagrant/install-vmware-landing.json b/src/content/vagrant/install-vmware-landing.json index 1b226e52dc..7c4848b891 100644 --- a/src/content/vagrant/install-vmware-landing.json +++ b/src/content/vagrant/install-vmware-landing.json @@ -36,9 +36,9 @@ ] }, "sidecarHcpCallout": { - "heading": "Vagrant Cloud", + "heading": "HCP Vagrant Registry", "description": "Virtual boxes for Linux, Laravel and any development environment", - "ctaText": "Try Vagrant Cloud for free", - "ctaUrl": "https://app.vagrantup.com/boxes/search" + "ctaText": "Try HCP Vagrant Registry for free", + "ctaUrl": "https://portal.cloud.hashicorp.com/vagrant/discover" } } diff --git a/src/content/vagrant/product-landing.json b/src/content/vagrant/product-landing.json index e0cd940ec0..1ca2ee544d 100644 --- a/src/content/vagrant/product-landing.json +++ b/src/content/vagrant/product-landing.json @@ -26,17 +26,6 @@ ] }, "blocks": [ - { - "type": "callout", - "heading": "Use HCP Login for Vagrant Cloud", - "body": "Create a new HCP account or link your existing one to Vagrant Cloud.", - "ctas": [ - { - "text": "Learn More", - "url": "https://discuss.hashicorp.com/t/adding-hcp-login-for-vagrant-cloud/48025" - } - ] - }, { "type": "heading", "heading": "Fundamentals",