From 7d79d62159c53df2a17f7d7a404cea9358182c7c Mon Sep 17 00:00:00 2001 From: Alisha Evans Date: Wed, 1 Nov 2023 12:48:02 -0500 Subject: [PATCH] fix the build we were returning empty parens on the sample legal pages. apparently the build command doesn't like that. --- pages/privacy-policy/index.js | 83 +++++++++++++++-------------- pages/terms-and-conditions/index.js | 83 +++++++++++++++-------------- pages/terms-of-use/index.js | 83 +++++++++++++++-------------- 3 files changed, 129 insertions(+), 120 deletions(-) diff --git a/pages/privacy-policy/index.js b/pages/privacy-policy/index.js index 8df89c9..02ec681 100644 --- a/pages/privacy-policy/index.js +++ b/pages/privacy-policy/index.js @@ -12,44 +12,47 @@ const PrivacyPolicy = () => ( export default PrivacyPolicy const privacyPolicy = ( - {/* - * How to add the proper html to this page: - * - ******* OPTION 1 (simplest): - * Upload the .docx file from the client to https://wordtohtml.net/ - * Underneath the HTML Editor click "copy to clipboard" - * Open https://magic.reactjs.net/htmltojsx.htm - * Uncheck the "create class" box - * Paste the copied html into the left box - * Copy the JS code from the right box into this space - * If applicable, remove the following: - * - the title and logo from the jsx - * - all "fontFamily" and "backgroundColor: '#ffffff'" style attributes - * - extra

tags that provide unnecessary spacing - * - the last

tag with the footer info - * - the last

tag with the "Converted to HTML with WordToHTML.net" text - * Ensure the page still has appropriate margin at the top and bottom - * - ******* OPTION 2: - * Open the .docx file from the client in TextEdit - * Hold down the option key and click on File >> Save As... - * Change the file format to "Web Page (.html)" - * Save. - * - * Open the file with your code editor - * Copy the html beginning with the body tag of that file - * Replace this comment with the copied text from the converted html file - * Remove all instances of extra spaces. Some examples are: - * " " - * " " - * "  " - * `class="xxx"` - * "


" - * "


" - * Format the ordered lists correctly. E.g.: - *
    ,
      , etc. - * Indent the html properly - * Make other changes as necessary to make the text in the browser look - * similar to the doc received from the client - */} +
      + Delete this text and the div! Just needed this so that the build would not fail. + {/* + * How to add the proper html to this page: + * + ******* OPTION 1 (simplest): + * Upload the .docx file from the client to https://wordtohtml.net/ + * Underneath the HTML Editor click "copy to clipboard" + * Open https://magic.reactjs.net/htmltojsx.htm + * Uncheck the "create class" box + * Paste the copied html into the left box + * Copy the JS code from the right box into this space + * If applicable, remove the following: + * - the title and logo from the jsx + * - all "fontFamily" and "backgroundColor: '#ffffff'" style attributes + * - extra

      tags that provide unnecessary spacing + * - the last

      tag with the footer info + * - the last

      tag with the "Converted to HTML with WordToHTML.net" text + * Ensure the page still has appropriate margin at the top and bottom + * + ******* OPTION 2: + * Open the .docx file from the client in TextEdit + * Hold down the option key and click on File >> Save As... + * Change the file format to "Web Page (.html)" + * Save. + * + * Open the file with your code editor + * Copy the html beginning with the body tag of that file + * Replace this comment with the copied text from the converted html file + * Remove all instances of extra spaces. Some examples are: + * " " + * " " + * "  " + * `class="xxx"` + * "


      " + * "


      " + * Format the ordered lists correctly. E.g.: + *
        ,
          , etc. + * Indent the html properly + * Make other changes as necessary to make the text in the browser look + * similar to the doc received from the client + */} +
      ) diff --git a/pages/terms-and-conditions/index.js b/pages/terms-and-conditions/index.js index c4968d0..e851418 100644 --- a/pages/terms-and-conditions/index.js +++ b/pages/terms-and-conditions/index.js @@ -10,44 +10,47 @@ const TermsAndConditions = () => ( export default TermsAndConditions const termsAndConditions = ( - {/* - * How to add the proper html to this page: - * - ******* OPTION 1 (simplest): - * Upload the .docx file from the client to https://wordtohtml.net/ - * Underneath the HTML Editor click "copy to clipboard" - * Open https://magic.reactjs.net/htmltojsx.htm - * Uncheck the "create class" box - * Paste the copied html into the left box - * Copy the JS code from the right box into this space - * If applicable, remove the following: - * - the title and logo from the jsx - * - all "fontFamily" and "backgroundColor: '#ffffff'" style attributes - * - extra

      tags that provide unnecessary spacing - * - the last

      tag with the footer info - * - the last

      tag with the "Converted to HTML with WordToHTML.net" text - * Ensure the page still has appropriate margin at the top and bottom - * - ******* OPTION 2: - * Open the .docx file from the client in TextEdit - * Hold down the option key and click on File >> Save As... - * Change the file format to "Web Page (.html)" - * Save. - * - * Open the file with your code editor - * Copy the html beginning with the body tag of that file - * Replace this comment with the copied text from the converted html file - * Remove all instances of extra spaces. Some examples are: - * " " - * " " - * "  " - * `class="xxx"` - * "


      " - * "


      " - * Format the ordered lists correctly. E.g.: - *
        ,
          , etc. - * Indent the html properly - * Make other changes as necessary to make the text in the browser look - * similar to the doc received from the client - */} +
          + Delete this text and the div! Just needed this so that the build would not fail. + {/* + * How to add the proper html to this page: + * + ******* OPTION 1 (simplest): + * Upload the .docx file from the client to https://wordtohtml.net/ + * Underneath the HTML Editor click "copy to clipboard" + * Open https://magic.reactjs.net/htmltojsx.htm + * Uncheck the "create class" box + * Paste the copied html into the left box + * Copy the JS code from the right box into this space + * If applicable, remove the following: + * - the title and logo from the jsx + * - all "fontFamily" and "backgroundColor: '#ffffff'" style attributes + * - extra

          tags that provide unnecessary spacing + * - the last

          tag with the footer info + * - the last

          tag with the "Converted to HTML with WordToHTML.net" text + * Ensure the page still has appropriate margin at the top and bottom + * + ******* OPTION 2: + * Open the .docx file from the client in TextEdit + * Hold down the option key and click on File >> Save As... + * Change the file format to "Web Page (.html)" + * Save. + * + * Open the file with your code editor + * Copy the html beginning with the body tag of that file + * Replace this comment with the copied text from the converted html file + * Remove all instances of extra spaces. Some examples are: + * " " + * " " + * "  " + * `class="xxx"` + * "


          " + * "


          " + * Format the ordered lists correctly. E.g.: + *
            ,
              , etc. + * Indent the html properly + * Make other changes as necessary to make the text in the browser look + * similar to the doc received from the client + */} +
          ) diff --git a/pages/terms-of-use/index.js b/pages/terms-of-use/index.js index 009d3ea..5d5a421 100644 --- a/pages/terms-of-use/index.js +++ b/pages/terms-of-use/index.js @@ -10,44 +10,47 @@ const TermsOfUse = () => ( export default TermsOfUse const termsOfUse = ( - {/* - * How to add the proper html to this page: - * - ******* OPTION 1 (simplest): - * Upload the .docx file from the client to https://wordtohtml.net/ - * Underneath the HTML Editor click "copy to clipboard" - * Open https://magic.reactjs.net/htmltojsx.htm - * Uncheck the "create class" box - * Paste the copied html into the left box - * Copy the JS code from the right box into this space - * If applicable, remove the following: - * - the title and logo from the jsx - * - all "fontFamily" and "backgroundColor: '#ffffff'" style attributes - * - extra

          tags that provide unnecessary spacing - * - the last

          tag with the footer info - * - the last

          tag with the "Converted to HTML with WordToHTML.net" text - * Ensure the page still has appropriate margin at the top and bottom - * - ******* OPTION 2: - * Open the .docx file from the client in TextEdit - * Hold down the option key and click on File >> Save As... - * Change the file format to "Web Page (.html)" - * Save. - * - * Open the file with your code editor - * Copy the html beginning with the body tag of that file - * Replace this comment with the copied text from the converted html file - * Remove all instances of extra spaces. Some examples are: - * " " - * " " - * "  " - * `class="xxx"` - * "


          " - * "


          " - * Format the ordered lists correctly. E.g.: - *
            ,
              , etc. - * Indent the html properly - * Make other changes as necessary to make the text in the browser look - * similar to the doc received from the client - */} +
              + Delete this text and the div! Just needed this so that the build would not fail. + {/* + * How to add the proper html to this page: + * + ******* OPTION 1 (simplest): + * Upload the .docx file from the client to https://wordtohtml.net/ + * Underneath the HTML Editor click "copy to clipboard" + * Open https://magic.reactjs.net/htmltojsx.htm + * Uncheck the "create class" box + * Paste the copied html into the left box + * Copy the JS code from the right box into this space + * If applicable, remove the following: + * - the title and logo from the jsx + * - all "fontFamily" and "backgroundColor: '#ffffff'" style attributes + * - extra

              tags that provide unnecessary spacing + * - the last

              tag with the footer info + * - the last

              tag with the "Converted to HTML with WordToHTML.net" text + * Ensure the page still has appropriate margin at the top and bottom + * + ******* OPTION 2: + * Open the .docx file from the client in TextEdit + * Hold down the option key and click on File >> Save As... + * Change the file format to "Web Page (.html)" + * Save. + * + * Open the file with your code editor + * Copy the html beginning with the body tag of that file + * Replace this comment with the copied text from the converted html file + * Remove all instances of extra spaces. Some examples are: + * " " + * " " + * "  " + * `class="xxx"` + * "


              " + * "


              " + * Format the ordered lists correctly. E.g.: + *
                ,
                  , etc. + * Indent the html properly + * Make other changes as necessary to make the text in the browser look + * similar to the doc received from the client + */} +
              )