diff --git a/.eslintrc.json b/.eslintrc.json index 1ce4521..e2f6d40 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -6,8 +6,9 @@ "cypress/globals": true }, "extends": [ - "plugin:react/recommended", - "airbnb", + "next", + "next/core-web-vitals", + "plugin:@typescript-eslint/recommended", "prettier" ], "parserOptions": { @@ -18,7 +19,7 @@ "sourceType": "module" }, "plugins": [ - "react", + "@typescript-eslint", "cypress", "simple-import-sort", "prettier" @@ -26,7 +27,12 @@ "rules": { "no-console": "off", "react/no-unescaped-entities": "off", - "prettier/prettier": "error", + "prettier/prettier": [ + "error", + { + "endOfLine": "auto" + } + ], "react/react-in-jsx-scope": "off", "react/jsx-filename-extension": [ 2, diff --git a/.prettierrc.json b/.prettierrc.json index 3181cc9..3f7543a 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,5 +1,9 @@ { + "semi": true, + "trailingComma": "es5", "singleQuote": true, "tabWidth": 2, - "semi": true + "useTabs": true, + "endOfLine": "auto", + "printWidth": 100 } \ No newline at end of file diff --git a/components/AuthText.js b/components/AuthText.js index 7fbe50f..a6be41d 100644 --- a/components/AuthText.js +++ b/components/AuthText.js @@ -2,22 +2,18 @@ import Image from 'next/image'; import authImage from 'public/auth.png'; const AuthText = () => ( -
- Create your website in a few minutes with our boilerplate. You can use the - login system, this will allow you to discover the sample dashboard page. -
-+ Create your website in a few minutes with our boilerplate. You can use the login system, this + will allow you to discover the sample dashboard page. +
+- Don’t waste your time and reinvent the wheel, we have provided you with a - maximum of features so that you only have one goal, to make your SaaS a - reality. -
-+ Don’t waste your time and reinvent the wheel, we have provided you with a maximum of features + so that you only have one goal, to make your SaaS a reality. +
+- Do you have a question about SupaNexTail? A cool feature you'd like us - to integrate? A bug to report? Don't hesitate! -
-+ Do you have a question about SupaNexTail? A cool feature you'd like us to integrate? A bug + to report? Don't hesitate! +
+{props.plan ? PriceIds[props.plan] : 'Free tier'}
-{props.plan ? PriceIds[props.plan] : 'Free tier'}
+- SupaNexTail got your back, and takes care of the initial setup, - sometimes time consuming, but essential to your success. -
-+ SupaNexTail got your back, and takes care of the initial setup, sometimes time consuming, + but essential to your success. +
+- SupaNexTail got your back, and takes care of the initial setup, - sometimes time consuming, but essential to your success. -
-- Supabase is an open source Firebase alternative. You’ll have a - database, an auth system, a storage system, and much more in one - product. -
-- SupaNexTail uses Supabase at its core, and preconfigures all the - useful elements for your site. User registration, synchronization with - Stripe, we’ve got you covered! -
-+ SupaNexTail got your back, and takes care of the initial setup, sometimes time consuming, + but essential to your success. +
++ Supabase is an open source Firebase alternative. You’ll have a database, an auth system, a + storage system, and much more in one product. +
++ SupaNexTail uses Supabase at its core, and preconfigures all the useful elements for your + site. User registration, synchronization with Stripe, we’ve got you covered! +
+- Billed monthly -
-Billed monthly
+- Billed annually -
-Billed annually
+- At {process.env.NEXT_PUBLIC_TITLE}, accessible from - https://www.supanextail.dev, one of our main priorities is the privacy of - our visitors. This Privacy Policy document contains types of information - that is collected and recorded by - {process.env.NEXT_PUBLIC_TITLE} and how we use it. -
++ At {process.env.NEXT_PUBLIC_TITLE}, accessible from https://www.supanextail.dev, one of our + main priorities is the privacy of our visitors. This Privacy Policy document contains types of + information that is collected and recorded by + {process.env.NEXT_PUBLIC_TITLE} and how we use it. +
-- If you have additional questions or require more information about our - Privacy Policy, do not hesitate to contact us. -
++ If you have additional questions or require more information about our Privacy Policy, do not + hesitate to contact us. +
-We are a Data Controller of your information.
+We are a Data Controller of your information.
-- {process.env.NEXT_PUBLIC_TITLE} legal basis for collecting and using the - personal information described in this Privacy Policy depends on the - Personal Information we collect and the specific context in which we - collect the information: -
-+ {process.env.NEXT_PUBLIC_TITLE} legal basis for collecting and using the personal information + described in this Privacy Policy depends on the Personal Information we collect and the + specific context in which we collect the information: +
+- {process.env.NEXT_PUBLIC_TITLE} will retain your personal information only - for as long as is necessary for the purposes set out in this Privacy - Policy. We will retain and use your information to the extent necessary to - comply with our legal obligations, resolve disputes, and enforce our - policies. -
++ {process.env.NEXT_PUBLIC_TITLE} will retain your personal information only for as long as is + necessary for the purposes set out in this Privacy Policy. We will retain and use your + information to the extent necessary to comply with our legal obligations, resolve disputes, + and enforce our policies. +
-- If you are a resident of the European Economic Area (EEA), you have - certain data protection rights. If you wish to be informed what Personal - Information we hold about you and if you want it to be removed from our - systems, please contact us. -
-- In certain circumstances, you have the following data protection rights: -
-+ If you are a resident of the European Economic Area (EEA), you have certain data protection + rights. If you wish to be informed what Personal Information we hold about you and if you want + it to be removed from our systems, please contact us. +
+In certain circumstances, you have the following data protection rights:
+- {process.env.NEXT_PUBLIC_TITLE} follows a standard procedure of using log - files. These files log visitors when they visit websites. All hosting - companies do this and a part of hosting services' analytics. The - information collected by log files include internet protocol (IP) - addresses, browser type, Internet Service Provider (ISP), date and time - stamp, referring/exit pages, and possibly the number of clicks. These are - not linked to any information that is personally identifiable. The purpose - of the information is for analyzing trends, administering the site, - tracking users' movement on the website, and gathering demographic - information. -
++ {process.env.NEXT_PUBLIC_TITLE} follows a standard procedure of using log files. These files + log visitors when they visit websites. All hosting companies do this and a part of hosting + services' analytics. The information collected by log files include internet protocol (IP) + addresses, browser type, Internet Service Provider (ISP), date and time stamp, referring/exit + pages, and possibly the number of clicks. These are not linked to any information that is + personally identifiable. The purpose of the information is for analyzing trends, administering + the site, tracking users' movement on the website, and gathering demographic information. +
-- You may consult this list to find the Privacy Policy for each of the - advertising partners of {process.env.NEXT_PUBLIC_TITLE}. -
++ You may consult this list to find the Privacy Policy for each of the advertising partners of{' '} + {process.env.NEXT_PUBLIC_TITLE}. +
-- Third-party ad servers or ad networks uses technologies like cookies, - JavaScript, or Web Beacons that are used in their respective - advertisements and links that appear on {process.env.NEXT_PUBLIC_TITLE}, - which are sent directly to users' browser. They automatically receive your - IP address when this occurs. These technologies are used to measure the - effectiveness of their advertising campaigns and/or to personalize the - advertising content that you see on websites that you visit. -
++ Third-party ad servers or ad networks uses technologies like cookies, JavaScript, or Web + Beacons that are used in their respective advertisements and links that appear on{' '} + {process.env.NEXT_PUBLIC_TITLE}, which are sent directly to users' browser. They automatically + receive your IP address when this occurs. These technologies are used to measure the + effectiveness of their advertising campaigns and/or to personalize the advertising content + that you see on websites that you visit. +
-- Note that {process.env.NEXT_PUBLIC_TITLE} has no access to or control over - these cookies that are used by third-party advertisers. -
++ Note that {process.env.NEXT_PUBLIC_TITLE} has no access to or control over these cookies that + are used by third-party advertisers. +
-- {process.env.NEXT_PUBLIC_TITLE}'s Privacy Policy does not apply to other - advertisers or websites. Thus, we are advising you to consult the - respective Privacy Policies of these third-party ad servers for more - detailed information. It may include their practices and instructions - about how to opt-out of certain options.{' '} -
++ {process.env.NEXT_PUBLIC_TITLE}'s Privacy Policy does not apply to other advertisers or + websites. Thus, we are advising you to consult the respective Privacy Policies of these + third-party ad servers for more detailed information. It may include their practices and + instructions about how to opt-out of certain options.{' '} +
-- You can choose to disable cookies through your individual browser options. - To know more detailed information about cookie management with specific - web browsers, it can be found at the browsers' respective websites. -
++ You can choose to disable cookies through your individual browser options. To know more + detailed information about cookie management with specific web browsers, it can be found at + the browsers' respective websites. +
-- Another part of our priority is adding protection for children while using - the internet. We encourage parents and guardians to observe, participate - in, and/or monitor and guide their online activity. -
++ Another part of our priority is adding protection for children while using the internet. We + encourage parents and guardians to observe, participate in, and/or monitor and guide their + online activity. +
-- {process.env.NEXT_PUBLIC_TITLE} does not knowingly collect any Personal - Identifiable Information from children under the age of 13. If you think - that your child provided this kind of information on our website, we - strongly encourage you to contact us immediately and we will do our best - efforts to promptly remove such information from our records. -
++ {process.env.NEXT_PUBLIC_TITLE} does not knowingly collect any Personal Identifiable + Information from children under the age of 13. If you think that your child provided this kind + of information on our website, we strongly encourage you to contact us immediately and we will + do our best efforts to promptly remove such information from our records. +
-- Our Privacy Policy applies only to our online activities and is valid for - visitors to our website with regards to the information that they shared - and/or collect in {process.env.NEXT_PUBLIC_TITLE}. This policy is not - applicable to any information collected offline or via channels other than - this website. -
++ Our Privacy Policy applies only to our online activities and is valid for visitors to our + website with regards to the information that they shared and/or collect in{' '} + {process.env.NEXT_PUBLIC_TITLE}. This policy is not applicable to any information collected + offline or via channels other than this website. +
-- By using our website, you hereby consent to our Privacy Policy and agree - to its terms. -
-By using our website, you hereby consent to our Privacy Policy and agree to its terms.
+Hello {user.email}! 👋 You are already logged in
- -Hello {user.email}! 👋 You are already logged in
+ +- The following terms and conditions (collectively, these "Terms and - Conditions") apply to your use of{' '} - https://www.supanextail.dev, - including any content, functionality and services offered on or via{' '} - https://www.supanextail.dev (the - "Website"). -
++ The following terms and conditions (collectively, these "Terms and Conditions") apply to your + use of https://www.supanextail.dev, including any + content, functionality and services offered on or via{' '} + https://www.supanextail.dev (the "Website"). +
-- Please read the Terms and Conditions carefully before you start using{' '} - {process.env.NEXT_PUBLIC_TITLE}, - because by using the Website you accept and agree to be bound and abide by - these Terms and Conditions. -
++ Please read the Terms and Conditions carefully before you start using{' '} + {process.env.NEXT_PUBLIC_TITLE}, because by using the + Website you accept and agree to be bound and abide by these Terms and Conditions. +
-- These Terms and Conditions are effective as of{' '} - 06/22/2021. We expressly reserve the right - to change these Terms and Conditions from time to time without notice to - you. You acknowledge and agree that it is your responsibility to review - this Website and these Terms and Conditions from time to time and to - familiarize yourself with any modifications. Your continued use of this - Website after such modifications will constitute acknowledgement of the - modified Terms and Conditions and agreement to abide and be bound by the - modified Terms and Conditions. -
++ These Terms and Conditions are effective as of 06/22/2021. We + expressly reserve the right to change these Terms and Conditions from time to time without + notice to you. You acknowledge and agree that it is your responsibility to review this Website + and these Terms and Conditions from time to time and to familiarize yourself with any + modifications. Your continued use of this Website after such modifications will constitute + acknowledgement of the modified Terms and Conditions and agreement to abide and be bound by + the modified Terms and Conditions. +
-- Your use of the Website is subject to all applicable laws and regulations, - and you are solely responsible for the substance of your communications - through the Website. -
++ Your use of the Website is subject to all applicable laws and regulations, and you are solely + responsible for the substance of your communications through the Website. +
-- By posting information in or otherwise using any communications service, - chat room, message board, newsgroup, software library, or other - interactive service that may be available to you on or through this - Website, you agree that you will not upload, share, post, or otherwise - distribute or facilitate distribution of any content — including text, - communications, software, images, sounds, data, or other information — - that: -
++ By posting information in or otherwise using any communications service, chat room, message + board, newsgroup, software library, or other interactive service that may be available to you + on or through this Website, you agree that you will not upload, share, post, or otherwise + distribute or facilitate distribution of any content — including text, communications, + software, images, sounds, data, or other information — that: +
-- We neither endorse nor assume any liability for the contents of any - material uploaded or submitted by third party users of the Website. We - generally do not pre-screen, monitor, or edit the content posted by users - of communications services, chat rooms, message boards, newsgroups, - software libraries, or other interactive services that may be available on - or through this Website. -
++ We neither endorse nor assume any liability for the contents of any material uploaded or + submitted by third party users of the Website. We generally do not pre-screen, monitor, or + edit the content posted by users of communications services, chat rooms, message boards, + newsgroups, software libraries, or other interactive services that may be available on or + through this Website. +
-- However, we and our agents have the right at their sole discretion to - remove any content that, in our judgment, does not comply with these Terms - of Use and any other rules of user conduct for our Website, or is - otherwise harmful, objectionable, or inaccurate. We are not responsible - for any failure or delay in removing such content. You hereby consent to - such removal and waive any claim against us arising out of such removal of - content. -
++ However, we and our agents have the right at their sole discretion to remove any content that, + in our judgment, does not comply with these Terms of Use and any other rules of user conduct + for our Website, or is otherwise harmful, objectionable, or inaccurate. We are not responsible + for any failure or delay in removing such content. You hereby consent to such removal and + waive any claim against us arising out of such removal of content. +
-- You agree that we may at any time, and at our sole discretion, terminate - your membership, account, or other affiliation with our site without prior - notice to you for violating any of the above provisions. -
++ You agree that we may at any time, and at our sole discretion, terminate your membership, + account, or other affiliation with our site without prior notice to you for violating any of + the above provisions. +
-- In addition, you acknowledge that we will cooperate fully with - investigations of violations of systems or network security at other - sites, including cooperating with law enforcement authorities in - investigating suspected criminal violations. -
++ In addition, you acknowledge that we will cooperate fully with investigations of violations of + systems or network security at other sites, including cooperating with law enforcement + authorities in investigating suspected criminal violations. +
-- By accepting these Terms and Conditions, you acknowledge and agree that - all content presented to you on this Website is protected by copyrights, - trademarks, service marks, patents or other proprietary rights and laws, - and is the sole property of{' '} - {process.env.NEXT_PUBLIC_TITLE}. -
++ By accepting these Terms and Conditions, you acknowledge and agree that all content presented + to you on this Website is protected by copyrights, trademarks, service marks, patents or other + proprietary rights and laws, and is the sole property of{' '} + {process.env.NEXT_PUBLIC_TITLE}. +
-- You are only permitted to use the content as expressly authorized by us or - the specific content provider. Except for a single copy made for personal - use only, you may not copy, reproduce, modify, republish, upload, post, - transmit, or distribute any documents or information from this Website in - any form or by any means without prior written permission from us or the - specific content provider, and you are solely responsible for obtaining - permission before reusing any copyrighted material that is available on - this Website. -
++ You are only permitted to use the content as expressly authorized by us or the specific + content provider. Except for a single copy made for personal use only, you may not copy, + reproduce, modify, republish, upload, post, transmit, or distribute any documents or + information from this Website in any form or by any means without prior written permission + from us or the specific content provider, and you are solely responsible for obtaining + permission before reusing any copyrighted material that is available on this Website. +
-- This Website may link you to other sites on the Internet or otherwise - include references to information, documents, software, materials and/or - services provided by other parties. These websites may contain information - or material that some people may find inappropriate or offensive. -
++ This Website may link you to other sites on the Internet or otherwise include references to + information, documents, software, materials and/or services provided by other parties. These + websites may contain information or material that some people may find inappropriate or + offensive. +
-- These other websites and parties are not under our control, and you - acknowledge that we are not responsible for the accuracy, copyright - compliance, legality, decency, or any other aspect of the content of such - sites, nor are we responsible for errors or omissions in any references to - other parties or their products and services. The inclusion of such a link - or reference is provided merely as a convenience and does not imply - endorsement of, or association with, the Website or party by us, or any - warranty of any kind, either express or implied. -
++ These other websites and parties are not under our control, and you acknowledge that we are + not responsible for the accuracy, copyright compliance, legality, decency, or any other aspect + of the content of such sites, nor are we responsible for errors or omissions in any references + to other parties or their products and services. The inclusion of such a link or reference is + provided merely as a convenience and does not imply endorsement of, or association with, the + Website or party by us, or any warranty of any kind, either express or implied. +
-- Your use of{' '} - {process.env.NEXT_PUBLIC_TITLE} is - at your sole risk. The Website is provided "as is" and "as available". We - disclaim all warranties of any kind, express or implied, including, - without limitation, the warranties of merchantability, fitness for a - particular purpose and non-infringement. -
++ Your use of {process.env.NEXT_PUBLIC_TITLE} is at your + sole risk. The Website is provided "as is" and "as available". We disclaim all warranties of + any kind, express or implied, including, without limitation, the warranties of + merchantability, fitness for a particular purpose and non-infringement. +
-- We are not liable for damages, direct or consequential, resulting from - your use of the Website, and you agree to defend, indemnify and hold us - harmless from any claims, losses, liability costs and expenses (including - but not limites to attorney's fees) arising from your violation of any - third-party's rights. You acknowledge that you have only a limited, - non-exclusive, nontransferable license to use the Website. Because the - Website is not error or bug free, you agree that you will use it carefully - and avoid using it ways which might result in any loss of your or any - third party's property or information. -
++ We are not liable for damages, direct or consequential, resulting from your use of the + Website, and you agree to defend, indemnify and hold us harmless from any claims, losses, + liability costs and expenses (including but not limites to attorney's fees) arising from your + violation of any third-party's rights. You acknowledge that you have only a limited, + non-exclusive, nontransferable license to use the Website. Because the Website is not error or + bug free, you agree that you will use it carefully and avoid using it ways which might result + in any loss of your or any third party's property or information. +
-- This Terms and Conditions will become effective in relation to you when - you create a{' '} - {process.env.NEXT_PUBLIC_TITLE}{' '} - account or when you start using the{' '} - {process.env.NEXT_PUBLIC_TITLE} and - will remain effective until terminated by you or by us.{' '} -
++ This Terms and Conditions will become effective in relation to you when you create a{' '} + {process.env.NEXT_PUBLIC_TITLE} account or when you + start using the {process.env.NEXT_PUBLIC_TITLE} and will + remain effective until terminated by you or by us.{' '} +
-- {process.env.NEXT_PUBLIC_TITLE}{' '} - reserves the right to terminate this Terms and Conditions or suspend your - account at any time in case of unauthorized, or suspected unauthorized use - of the Website whether in contravention of this Terms and Conditions or - otherwise. If{' '} - {process.env.NEXT_PUBLIC_TITLE}{' '} - terminates this Terms and Conditions, or suspends your account for any of - the reasons set out in this section,{' '} - {process.env.NEXT_PUBLIC_TITLE}{' '} - shall have no liability or responsibility to you. -
++ {process.env.NEXT_PUBLIC_TITLE} reserves the right to + terminate this Terms and Conditions or suspend your account at any time in case of + unauthorized, or suspected unauthorized use of the Website whether in contravention of this + Terms and Conditions or otherwise. If{' '} + {process.env.NEXT_PUBLIC_TITLE} terminates this Terms + and Conditions, or suspends your account for any of the reasons set out in this section,{' '} + {process.env.NEXT_PUBLIC_TITLE} shall have no liability + or responsibility to you. +
-- {process.env.NEXT_PUBLIC_TITLE} may - assign this Terms and Conditions or any part of it without restrictions. - You may not assign this Terms and Conditions or any part of it to any - third party. -
++ {process.env.NEXT_PUBLIC_TITLE} may assign this Terms + and Conditions or any part of it without restrictions. You may not assign this Terms and + Conditions or any part of it to any third party. +
-- These Terms and Conditions and any dispute or claim arising out of, or - related to them, shall be governed by and construed in accordance with the - internal laws of the fr without giving - effect to any choice or conflict of law provision or rule. -
++ These Terms and Conditions and any dispute or claim arising out of, or related to them, shall + be governed by and construed in accordance with the internal laws of the{' '} + fr without giving effect to any choice or conflict of law + provision or rule. +
-- Any legal suit, action or proceeding arising out of, or related to, these - Terms of Service or the Website shall be instituted exclusively in the - federal courts of fr. -
-+ Any legal suit, action or proceeding arising out of, or related to, these Terms of Service or + the Website shall be instituted exclusively in the federal courts of{' '} + fr. +
+{title}
-{text}
-{title}
+{text}
+