diff --git a/backstop_data/bitmaps_reference/backstop_test_About_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_About_0_document_0_desktop.png index 346958b8a..16fd120ec 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_About_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_About_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Add_Service_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Add_Service_0_document_0_desktop.png index b9101c0c6..445edcff6 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Add_Service_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Add_Service_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Benchmark_Performance_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Benchmark_Performance_0_document_0_desktop.png index 77f908e6e..5a9721606 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Benchmark_Performance_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Benchmark_Performance_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Best_Practices_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Best_Practices_0_document_0_desktop.png index c8883f7d1..c443a3276 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Best_Practices_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Best_Practices_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Choose_Service_-_Accounts_0_h1heading-large_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Choose_Service_-_Accounts_0_h1heading-large_0_desktop.png index 82b171b1c..a3370c433 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Choose_Service_-_Accounts_0_h1heading-large_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Choose_Service_-_Accounts_0_h1heading-large_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Choose_Service_-_Accounts_1_ausa-buttonhrefadd-service_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Choose_Service_-_Accounts_1_ausa-buttonhrefadd-service_0_desktop.png index 4f335c83d..0c32191b4 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Choose_Service_-_Accounts_1_ausa-buttonhrefadd-service_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Choose_Service_-_Accounts_1_ausa-buttonhrefadd-service_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Clear_Goals_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Clear_Goals_0_document_0_desktop.png index 722052f98..cf7d593da 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Clear_Goals_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Clear_Goals_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Delivery_Status_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Delivery_Status_0_document_0_desktop.png index 3a6806cfc..508d3889d 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Delivery_Status_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Delivery_Status_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Establish_Trust_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Establish_Trust_0_document_0_desktop.png index 49a6eb41e..e042bd8af 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Establish_Trust_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Establish_Trust_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Get_Started_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Get_Started_0_document_0_desktop.png index 881f5e460..d4a2e9c9e 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Get_Started_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Get_Started_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Get_Started_Page_-_Highlight_Trial_Mode_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Get_Started_Page_-_Highlight_Trial_Mode_0_document_0_desktop.png index 881f5e460..d4a2e9c9e 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Get_Started_Page_-_Highlight_Trial_Mode_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Get_Started_Page_-_Highlight_Trial_Mode_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Homepage_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Homepage_0_document_0_desktop.png index 8d0580d85..aed108d27 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Homepage_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Homepage_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_How_To_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_How_To_0_document_0_desktop.png index 5f7bba589..72ba13e5b 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_How_To_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_How_To_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Multiple_Languages_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Multiple_Languages_0_document_0_desktop.png index 942d521c4..0434aa089 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Multiple_Languages_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Multiple_Languages_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Notifygov_Service_Ending_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Notifygov_Service_Ending_0_document_0_desktop.png index fce50d41b..f316c2ccb 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Notifygov_Service_Ending_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Notifygov_Service_Ending_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Notifygov_Sign_In_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Notifygov_Sign_In_0_document_0_desktop.png new file mode 100644 index 000000000..bc4459987 Binary files /dev/null and b/backstop_data/bitmaps_reference/backstop_test_Notifygov_Sign_In_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Pricing_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Pricing_0_document_0_desktop.png index 1e9a5e858..684586398 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Pricing_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Pricing_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Rules_And_Regulations_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Rules_And_Regulations_0_document_0_desktop.png index 1496f3949..a1dae7d77 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Rules_And_Regulations_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Rules_And_Regulations_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Security_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Security_0_document_0_desktop.png index 5832a04f6..278d72ceb 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Security_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Security_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Support_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Support_0_document_0_desktop.png index 69f24e589..156621090 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Support_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Support_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Trial_Mode_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Trial_Mode_0_document_0_desktop.png index 10e74499f..62a4c445f 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Trial_Mode_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Trial_Mode_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Why_Text_Messaging_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Why_Text_Messaging_0_document_0_desktop.png index 660927980..743687a59 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Why_Text_Messaging_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Why_Text_Messaging_0_document_0_desktop.png differ diff --git a/backstop_data/bitmaps_reference/backstop_test_Write_For_Action_0_document_0_desktop.png b/backstop_data/bitmaps_reference/backstop_test_Write_For_Action_0_document_0_desktop.png index 3ac997ad9..47f906c44 100644 Binary files a/backstop_data/bitmaps_reference/backstop_test_Write_For_Action_0_document_0_desktop.png and b/backstop_data/bitmaps_reference/backstop_test_Write_For_Action_0_document_0_desktop.png differ diff --git a/urls.js b/urls.js index 23349f264..8a79fc855 100644 --- a/urls.js +++ b/urls.js @@ -1,52 +1,51 @@ -const baseUrl = 'http://localhost:6012'; +const baseUrl = process.env.BACKSTOP_BASE_URL || 'http://localhost:6012'; -// List of routes with paths and labels +// List of routes organized by section +const routes = { + // Main pages + main: [ + { label: 'Homepage', path: '/' }, + { label: 'Add Service', path: '/add-service' }, + { label: 'Support', path: '/support' }, + { label: 'Notify.gov Service Ending', path: '/notify-service-ending' }, + { label: 'Notify.gov Sign In', path: '/sign-in' }, + ], + + // Using Notify section + usingNotify: [ + { label: 'Get Started', path: '/using-notify/get-started' }, + { label: 'Trial Mode', path: '/using-notify/trial-mode' }, + { label: 'Pricing', path: '/using-notify/pricing' }, + { label: 'Delivery Status', path: '/using-notify/delivery-status' }, + { label: 'How To', path: '/using-notify/how-to' }, + { label: 'Best Practices', path: '/using-notify/best-practices' }, + ], + + // Best Practices subsection + bestPractices: [ + { label: 'Clear Goals', path: '/using-notify/best-practices/clear-goals' }, + { label: 'Rules And Regulations', path: '/using-notify/best-practices/rules-and-regulations' }, + { label: 'Establish Trust', path: '/using-notify/best-practices/establish-trust' }, + { label: 'Write For Action', path: '/using-notify/best-practices/write-for-action' }, + { label: 'Multiple Languages', path: '/using-notify/best-practices/multiple-languages' }, + { label: 'Benchmark Performance', path: '/using-notify/best-practices/benchmark-performance' }, + ], + + // About section + about: [ + { label: 'About', path: '/about' }, + { label: 'Why Text Messaging', path: '/about/why-text-messaging' }, + { label: 'Security', path: '/about/security' }, + ], +}; + +// Flatten all routes into a single array const sublinks = [ - { label: 'Homepage', path: '/' }, - { label: 'Add Service', path: '/add-service' }, - { label: 'Get Started', path: '/using-notify/get-started' }, - { label: 'Trial Mode', path: '/using-notify/trial-mode' }, - { label: 'Pricing', path: '/using-notify/pricing' }, - { label: 'Delivery Status', path: '/using-notify/delivery-status' }, - { label: 'How To', path: '/using-notify/how-to' }, - { label: 'Support', path: '/support' }, - { label: 'Best Practices', path: '/using-notify/best-practices' }, - { label: 'Clear Goals', path: '/using-notify/best-practices/clear-goals' }, - { - label: 'Rules And Regulations', - path: '/using-notify/best-practices//rules-and-regulations', - }, - { label: 'Establish Trust', path: '/using-notify/best-practices//establish-trust' }, - { - label: 'Write For Action', - path: '/using-notify/best-practices//write-for-action', - }, - { - label: 'Multiple Languages', - path: '/using-notify/best-practices//multiple-languages', - }, - { - label: 'Benchmark Performance', - path: '/using-notify/best-practices//benchmark-performance', - }, - { - label: 'About', - path: '/about', - }, - { - label: 'Why Text Messaging', - path: '/about/why-text-messaging', - }, - { - label: 'Security', - path: '/about/security', - }, - { - label: 'Notify.gov Service Ending', - path: '/notify-service-ending', - }, - - // Add more links here as needed + ...routes.main, + ...routes.usingNotify, + ...routes.bestPractices, + ...routes.about, + // Add more sections here as needed ]; const createFullUrl = (base, path) => `${base}${path}`;