Skip to content

Commit

Permalink
working on the migrate section
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector committed Oct 25, 2024
1 parent 5087971 commit 65e8afb
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 33 deletions.
6 changes: 4 additions & 2 deletions src/components/omniSidebarNav/getOmniItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,18 @@ const getOmniItems = () => {
pagesToDelete(),
unassignedPages(),
getStarted(), // assigned to Chris ✅
workflows(),
goLive(),
wordpress(), // assigned to Chris ✅
drupal(), // Assigned to Steve
goLive(),

migrateAndUpgrade(), // todo, move under "Get Started"
webInfrastructure(),
accountManagement(),
frontEndSites(), // ✅
terminus(), // ✅
about(), // assigned to Rachel ✅
workflows(),


// @todo, should we have a separate tutorials section?
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/omniSidebarNav/submenus/drupal.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const drupal = () => {
simpleLink('/drupal-cron'),

simpleLink('/drupal-launch-check'),
simpleLink('/drupal-migration'),


simpleLink('/drupal-security-patches'),
simpleLink('/drupal-updates'),
Expand Down
1 change: 1 addition & 0 deletions src/components/omniSidebarNav/submenus/goLive.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const goLive = () => {
simpleLink('/namecheap', 'Namecheap'),
simpleLink('/network-solutions', 'Network Solutions'),
]),
// Todo, this might belong at the top of the subnav, above "Domains"
getGuideDirectory('guides/launch', 'Launch'),
simpleLink('/relaunch', 'Relaunch an existing site'),
],
Expand Down
58 changes: 28 additions & 30 deletions src/components/omniSidebarNav/submenus/migrateAndUpgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import { getGuideDirectory, simpleLink } from './../helpers';

const migrateAndUpgrade = () => {
return {
link: '/asdf',
title: 'Migrating and upgrading',
link: '/guides/guided',
title: 'Migrating Sites to Pantheon',
children: [

getGuideDirectory('guides/migrate/guided', 'Guided Migration'),
{
link: '/migrate-wordpress',
title: 'Migrating WordPress Sites',
Expand All @@ -13,48 +15,44 @@ const migrateAndUpgrade = () => {
getGuideDirectory('guides/migrate/pagely', 'Pagely'),
getGuideDirectory('guides/migrate/wordpressvip', 'WordPress VIP'),
getGuideDirectory('guides/migrate/wpengine', 'WP Engine'),
/// I would have guessed that the Platform.sh docs would be about Drupal, not WordPress.
getGuideDirectory('guides/migrate/platformsh', 'Platform.sh'),

simpleLink('/migrate-wordpress-multisite', "Multisite"),
],
},

getGuideDirectory('guides/migrate/acquia', 'Acquia'),

getGuideDirectory('guides/migrate/guided', 'Guided Migration'),
getGuideDirectory('guides/migrate/manual-d8-composer-to-d8', 'Manual d8 to d8'),
getGuideDirectory('guides/migrate/platformsh', 'Platform.sh'),


simpleLink('/migrate-cpanel'),
simpleLink('/migrate-manual'),
simpleLink('/migrate-wordpress-multisite'),
simpleLink('/migrate-manual', "Manual Migration", [
getGuideDirectory('guides/migrate/manual-d8-composer-to-d8', 'Manual d8 to d8'),
getGuideDirectory('guides/migrate/acquia', 'Acquia'),
simpleLink('/migrate-cpanel', "CPanel"),

]),

simpleLink('/drupal-to-build-tools'),


// Needs a title override
getGuideDirectory('guides/drupal/drupal-hosted-createcustom', 'drupal-hosted-createcustom'),
simpleLink('/drupal-migration', "Restructuring Drupal Codebases", [

// needs a title override
getGuideDirectory('guides/drupal/drupal-hosted-btworkflow', 'drupal-hosted-btworkflow'),

getGuideDirectory('guides/drupal/drupal-hosted-createbt', 'drupal-hosted-createbt'),

getGuideDirectory('guides/drupal/drupal-hosted-createdashboard-set8', 'drupal-hosted-createdashboard-set8'),
getGuideDirectory('guides/drupal/drupal-hosted-createempty-md', 'drupal-hosted-createempty-md'),
getGuideDirectory('guides/drupal/drupal-hosted-md', 'drupal-hosted-md'),
getGuideDirectory('guides/drupal/drupal-unhosted', 'unhosted???'),
getGuideDirectory('guides/drupal/drupal-unhosted-composer', 'unhosted-composer'),
getGuideDirectory('guides/drupal/drupal-hosted', 'drupal-hosted'),

simpleLink('/switch-drupal-recommended-upstream'),
simpleLink('/upgrade-drupal-with-ic-to-latest'),
simpleLink('/drupal-to-build-tools'),

getGuideDirectory('guides/drupal/drupal-hosted', 'drupal-hosted'),
getGuideDirectory('guides/drupal/drupal-unhosted', 'unhosted???'),
getGuideDirectory('guides/drupal/drupal-unhosted-composer', 'unhosted-composer'),
getGuideDirectory('guides/drupal/drupal-hosted-md', 'drupal-hosted-multidev'),
getGuideDirectory('guides/drupal/drupal-hosted-createempty-md', 'drupal-hosted-createempty-md'),
getGuideDirectory('guides/drupal/drupal-hosted-createdashboard-set8', 'drupal-hosted-createdashboard-set8'),
getGuideDirectory('guides/drupal/drupal-hosted-btworkflow', 'drupal-hosted-btworkflow'),

getGuideDirectory('guides/drupal/drupal-hosted-createbt', 'drupal-hosted-createbt'),
getGuideDirectory('guides/drupal/drupal-hosted-createcustom', 'drupal-hosted-createcustom'),
simpleLink('/switch-drupal-recommended-upstream', "Restructuring Drupal Codebases"),
simpleLink('/upgrade-drupal-with-ic-to-latest'),
]
),

],
}


};

export default migrateAndUpgrade;

0 comments on commit 65e8afb

Please sign in to comment.