From 82afa71eba4f3cc0f90e60d9517248a68b78ec74 Mon Sep 17 00:00:00 2001 From: LufyCZ Date: Tue, 26 Mar 2024 15:45:17 +0000 Subject: [PATCH] feat: terms of use + privacy policy --- apps/evm/src/app/privacy-policy/layout.tsx | 18 ++ apps/evm/src/app/privacy-policy/page.tsx | 293 ++++++++++++++++++ apps/evm/src/app/terms-of-service/layout.tsx | 18 ++ apps/evm/src/app/terms-of-service/page.tsx | 189 +++++++++++ apps/evm/src/app/terms-of-use/layout.tsx | 7 - apps/evm/src/app/terms-of-use/page.tsx | 43 --- biome.json | 3 +- .../wagmi/src/components/connect-button.tsx | 22 ++ pnpm-lock.yaml | 2 - 9 files changed, 542 insertions(+), 53 deletions(-) create mode 100644 apps/evm/src/app/privacy-policy/layout.tsx create mode 100644 apps/evm/src/app/privacy-policy/page.tsx create mode 100644 apps/evm/src/app/terms-of-service/layout.tsx create mode 100644 apps/evm/src/app/terms-of-service/page.tsx delete mode 100644 apps/evm/src/app/terms-of-use/layout.tsx delete mode 100644 apps/evm/src/app/terms-of-use/page.tsx diff --git a/apps/evm/src/app/privacy-policy/layout.tsx b/apps/evm/src/app/privacy-policy/layout.tsx new file mode 100644 index 0000000000..c756442fab --- /dev/null +++ b/apps/evm/src/app/privacy-policy/layout.tsx @@ -0,0 +1,18 @@ +import { Metadata } from 'next' +import { Header } from '../swap/header' +import { Providers } from '../swap/providers' + +export const metadata: Metadata = { + title: 'Privacy Policy', +} + +export default function Layout({ children }: { children: React.ReactNode }) { + return ( + <> + +
+
{children}
+ + + ) +} diff --git a/apps/evm/src/app/privacy-policy/page.tsx b/apps/evm/src/app/privacy-policy/page.tsx new file mode 100644 index 0000000000..911d8433d4 --- /dev/null +++ b/apps/evm/src/app/privacy-policy/page.tsx @@ -0,0 +1,293 @@ +import { Container, LinkExternal, Separator, classNames } from '@sushiswap/ui' +import React from 'react' + +// I know this thing is overengineered, but... + +type TextBlock = { + title: string | undefined + paragraphs: { title: string | undefined; paragraphs: string[] }[] + type: 'text' +} + +type NumberedListBlock = { + title: string + index: number + paragraphs: string[] + type: 'numbered-list' +} + +type Block = TextBlock | NumberedListBlock + +const text = [ + { + title: '', + paragraphs: [ + { + paragraphs: [ + `This privacy policy applies to this website and any services provided in the ordinary course of business. Our website is https://www.sushi.com (“The Website”) and is owned and operated by Sushi Labs (“The Company”). This policy governs the privacy of users who choose to use our website or engage with any of our services, both with and without consideration (“Users”).`, + `The policy sets out the different areas where user privacy is concerned and outlines the obligations and requirements of the users, the website, and The Company. Furthermore, this policy details how this website and company process, store, and protect user data and information.`, + ], + }, + ], + type: 'text', + }, + { + title: '1. The Website', + index: 1, + paragraphs: [ + `This website and its owners take a proactive approach to user privacy and ensure the necessary steps are taken to protect the privacy of its users throughout their visiting experience.`, + `The website and all company data are hosted, stored, and maintained within the European Union to avoid doubt. As such, European Union law applies to the storage of Data.`, + ], + type: 'numbered-list', + }, + { + title: '2. Use of Cookies', + index: 2, + paragraphs: [ + `This website uses cookies to improve the user's experience. Where applicable, this website uses a cookie control system that allows the user to allow or disallow cookies on their computer or device on their first visit. This complies with recent legislation requiring websites to obtain explicit user consent before leaving behind or reading files such as cookies on a user's computer or device.`, + `Cookies are small files saved to the user's computer's hard drive that track, save, and store information about the user's interactions and website usage. This allows the website, through its server, to provide the users with a tailored experience within this website.`, + `Users are advised that if they wish to deny the use and saving of cookies from this website onto their computer's hard drive, they should take necessary steps within their web browser's security settings to block all cookies from this website and its external serving vendors.`, + + {`This website uses tracking software to monitor its visitors to + understand better how they use it. Google Analytics provides this + software, which uses cookies to track visitor usage. The software will + save a cookie to your computer's hard drive to track and monitor your + engagement and usage of the website but will not store, save, or collect + personal information. You can read Google's privacy policy here for + further information: `} + + http://www.google.com/privacy.html + + , + `Other cookies may be stored on your computer's hard drive by external vendors when this website uses referral programs, sponsored links, or adverts. Such cookies are used for conversion and referral tracking and typically expire after 30 days, though some may take longer. No personal information is stored, saved, or collected.`, + ], + type: 'numbered-list', + }, + { + title: '3. Contact & Communication', + index: 3, + paragraphs: [ + `Users contacting this website and The Company do so at their discretion and provide any personal details requested at their own risk. Your personal information is kept private and securely stored until it is no longer required or has no use, as detailed in the Data Protection Laws. Every effort has been made to ensure a safe and secure form-to-email submission process, but users should be advised that they use such form-to-email processes at their own risk.`, + `This website and its owners use any information submitted to provide further information about the products/services they offer or to assist you in answering any questions or queries you may have submitted.`, + `This includes using your details to subscribe to any email newsletter program the website operates, but only if this was made clear to you and your express permission was granted when submitting any form to the email process. Or whereby you, the consumer, have previously purchased from or inquired about purchasing a product or service from the company that the email newsletter relates to. This is not an entire list of your user rights regarding receiving email marketing material. Your details are not passed on to any third parties.`, + `By sending your personal information to the company or the website, you grant consent to contact by the company, subject to the above conditions. Any data the company holds relating to individuals will be stored and destroyed once no communication has occurred between the user and the company for 12 months.`, + `The company will never knowingly or willingly pass information it holds on Users (for clarity, this includes clients, prospects, or website users) onto a third party without the user's consent.`, + ], + type: 'numbered-list', + }, + { + title: '4. Email', + index: 4, + paragraphs: [ + `From time to time, The Company operates various email campaigns (at all times, we refer to these as a Newsletter Program) to inform subscribers about products and services supplied by this website. Users can subscribe through an online automated process should they wish to do so, but they do so at their discretion. Some subscriptions may be manually processed through a prior written agreement with the user.`, + `Subscriptions are taken in compliance with Spam Laws detailed in the Privacy and Electronic Communications Regulations 2003. All personal details relating to subscriptions are held securely per the Data Protection Laws. No personal details are passed on to third parties nor shared with companies/people outside of the company that operates this website. Under the Data Protection Laws, you may request a copy of personal information about you through this website's email newsletter program. A small fee will be payable. If you would like a copy of the information held on you, please write to the business address at the bottom of this policy.`, + `Email marketing campaigns published by this website or its owners may contain tracking facilities within the email. Subscriber activity is tracked and stored in a database for future analysis and evaluation. Such tracked activity may include the opening of emails, forwarding of emails, clicking links within the email content, times, dates, and frequency of activity [this is by no far a comprehensive list].`, + `This information is used to refine future email campaigns and supply users with more relevant content based on their activity.`, + `In compliance with EU Spam Laws, the Privacy and Electronic Communications Regulations 2003, and GDPR, subscribers can unsubscribe anytime through an automated system. This process is detailed at the footer of each email campaign. If an automated unsubscription system is unavailable, clear instructions on unsubscribing will be detailed instead.`, + `Our email campaigns are always run through third-party providers such as Mailchimp. Users are advised to refer to these third-party companies' specific terms and conditions. Users can easily remove themselves from any email communication by “unsubscribing.”`, + `The Company holds no liability for any damages or losses associated with using any third-party email service provider. In engaging with the company or continuing use of the website, you hereby expressly accept that the Company holds no such liability.`, + ], + type: 'numbered-list', + }, + { + title: '5. External Links', + index: 5, + paragraphs: [ + `While every effort has been made to include quality, safe, and relevant external links within this website, users are advised to exercise caution before clicking any external links mentioned throughout this website (external links are clickable text/banner/image links to other websites).`, + `Despite their best efforts, the owners of this website and the company cannot guarantee or verify the contents of any externally linked website. Users should, therefore, note that they click on external links at their own risk, and this website and its owners cannot be held liable for any damages or implications caused by visiting any external links mentioned.`, + ], + type: 'numbered-list', + }, + { + title: '6. Adverts and Sponsored Links', + index: 6, + paragraphs: [ + `This website may contain sponsored links and adverts. These will typically be served through our advertising partners, who may have detailed privacy policies relating directly to the adverts they serve.`, + `Clicking on any such adverts will send you to the advertiser's website through a referral program, which may use cookies to track the number of referrals sent from this website. This may include the use of cookies, which may, in turn, be saved on your computer's hard drive. Users should note that they click on sponsored external links at their own risk. This website and its owners cannot be held liable for any damages or implications caused by visiting any external links mentioned.`, + `Despite their best efforts, the owners of this website and the company cannot guarantee or verify the contents of any externally linked website. Users should, therefore, note that they click on external links at their own risk, and this website and its owners cannot be held liable for any damages or implications caused by visiting any external links mentioned.`, + ], + type: 'numbered-list', + }, + { + title: '7. Social Media Platforms', + index: 7, + paragraphs: [ + `Communication, engagement, and actions taken through external social media platforms that this website, the company, and its owners participate in are custom to the terms and conditions and privacy policies held with each social media platform.`, + `Users are advised to use social media platforms wisely and communicate/engage with them with due care and caution regarding their privacy and personal details. Neither this website nor its owners will ever ask for personal or sensitive information through social media platforms, and users wishing to discuss sensitive details should be encouraged to contact them through primary communication channels such as telephone or email.`, + `This website may use social sharing buttons that help share content directly from web pages to the social media platform. Before using such social sharing buttons, users are advised to do so at their discretion and note that the social media platform may track and save your request to share a web page through your social media platform account.`, + `The Company holds responsibility for all comments, posts, or any other action taken on social media belonging to the company. Social media can easily be identified as belonging to the company by the account's name on the relevant social media platform. All comments and actions made on social media are not intended to cause offense or serve as a defamatory action. Every posting will be checked for accuracy.`, + `If you believe your intellectual property rights, personal rights, or any other rights have been infringed by any action on social media, you must notify the company as soon as possible so that the company can rectify and remove the post.`, + ], + type: 'numbered-list', + }, + { + title: '8. Shortened Links in Social Media', + index: 8, + paragraphs: [ + `This website and its owners may share links to relevant web pages through their social media platform accounts. Some social media platforms shorten lengthy domains and URLs to third-party pages by default.`, + `Users are advised to exercise caution and good judgment before clicking any shortened URLs published by this website and its owners on social media platforms. Despite the best efforts to ensure only genuine URLs are published, many social media platforms are prone to spam and hacking. Therefore, this website and its owners cannot be held liable for any damages or implications caused by visiting shortened links.`, + ], + type: 'numbered-list', + }, + { + title: '9. Governing Law and Jurisdiction', + index: 9, + paragraphs: [ + `This privacy policy and all items posted on behalf of the company are strictly subject to the laws of the United Kingdom (England and Wales). Any disagreement arising from the use of personal information shall be resolved through the Courts of England and Wales.`, + `The User expressly agrees that by using the company's website or engaging in social media, they are accepting the terms of this privacy policy.`, + `Any disagreement and all notices are to be delivered to the company registered office.`, + `If any part of this policy is found to be defective, the remaining elements of the policy shall remain in place.`, + `The Company's registered office and address for service can be found on the website.`, + ], + type: 'numbered-list', + }, + { + title: 'Special GDPR Notice', + paragraphs: [ + { + paragraphs: [ + 'Under the GDPR, which came into force in 2018, citizens of the European Union have the right to track their data. By using the company website, you hereby agree to the following terms and consent for such data to be stored as contained per this GDPR notice.', + ], + }, + { + title: 'Data Control Officer', + paragraphs: [ + 'The data control officer is based at the company headquarters, which can be found in our Terms and Conditions document. You can reach the Data controller by emailing the company at contact@sushi.com, located on the company website, or using the methods contained within the company website to contact us.', + `The company does not collect personal information or store any information about you. Communications are held and retained on third-party servers for reference purposes. The company will never email you marketing communications.`, + ], + }, + { + title: 'Purpose of the processing', + paragraphs: [ + `The information is collected in the interest of Know Your Client and Anti Money Laundering regulations. The company is allowing individuals to participate in a crowdfunding exercise. Some jurisdictions do not allow citizens and residents to participate in such activities. We, therefore, are required to collect basic information on those who participate to demonstrate, when necessary, that citizens and residents of that jurisdiction did not participate in the crowdfunding. The legal basis for this processing of data is found in international law (different laws from different countries), including but not limited to The UK Financial Services Act, The US Securities Legislation, European Monetary statutes and regulations (including those of its member states), Chinese Financial Code, anti-money laundering laws, and antiterrorism laws.`, + ], + }, + { + title: `Third Parties`, + paragraphs: [ + `Data may occasionally be shared with third parties to conduct a Know Your Client assessment so that participants can prove their location, residence, and citizenship. All parties accessing your data will be members of the necessary data-controlling bodies of their respective countries, such as the Information Commissioners Office of the United Kingdom.`, + ], + }, + { + title: `Recipients of the Data`, + paragraphs: [ + `Gresham International’s compliance team will always have access to the data. The Information Commissioner Office regulates them and will not share that data with any third party.`, + ], + }, + { + title: `Safeguards`, + paragraphs: [ + `Your data will never be shared with any third party without your consent or court order provided by a court of competent jurisdiction within the country making the request.`, + ], + }, + { + title: `Retention Period`, + paragraphs: [ + `All data will be stored for at least six months and a maximum of two years.`, + ], + }, + { + title: `The Existence of Your Rights`, + paragraphs: [ + `Nothing within this agreement or the company’s process impacts your rights under the GDPR.`, + ], + }, + { + title: `The right to withdraw consent`, + paragraphs: [ + `You may request the right to know the company's information about you. This request can only be made once, as data is only captured once during registration and participation. We must keep all information relating to you as anti-money laundering and antiterrorism laws require.`, + ], + }, + { + title: `The right to lodge a complaint`, + paragraphs: [ + `Citizens of the EU may file a complaint with the relevant data controller within their country. Complaints should first be made to the company so that we can investigate any issues relating to the storage or use of your data.`, + ], + }, + { + title: `Source of Data`, + paragraphs: [ + `All data collected on you will be done so by your submission of the information and collection of information from the machine you access the website with. Data collection is limited to what is contained in our registration method, and the information your computer automatically transmits to our company when accessing our site, such as cookies and IP data, is limited to that contained in our registration method.`, + ], + }, + ], + type: 'text', + }, +] as Block[] + +function numberedBlock(block: NumberedListBlock) { + return ( +
+

{block.title}

+
+ {block.paragraphs.map((paragraph, i) => { + return ( +
+ + {block.index}.{i + 1} + +

{paragraph}

+
+ ) + })} +
+
+ ) +} + +function textBlock(block: TextBlock) { + const subtitle = (title: string | undefined) => { + if (title) { + return

{title}

+ } + } + + return ( +
+

{block.title}

+
+ {block.paragraphs.map((paragraph) => { + return ( +
+ {subtitle(paragraph.title)} + + {paragraph.paragraphs.map((paragraph) => ( +

{paragraph}

+ ))} +
+
+ ) + })} +
+
+ ) +} + +function contentBlock(block: (typeof text)[number]) { + switch (block.type) { + case 'text': + return textBlock(block) + case 'numbered-list': + return numberedBlock(block) + } +} + +export default function Page() { + return ( + +
+

Sushi Labs - Privacy Policy

+

+ Last modified: March 26, 2024 +

+
+ +
+ {text.map((block) => contentBlock(block))} +
+
+ ) +} diff --git a/apps/evm/src/app/terms-of-service/layout.tsx b/apps/evm/src/app/terms-of-service/layout.tsx new file mode 100644 index 0000000000..2deaa758f0 --- /dev/null +++ b/apps/evm/src/app/terms-of-service/layout.tsx @@ -0,0 +1,18 @@ +import { Metadata } from 'next' +import { Header } from '../swap/header' +import { Providers } from '../swap/providers' + +export const metadata: Metadata = { + title: 'Terms Of Service', +} + +export default function Layout({ children }: { children: React.ReactNode }) { + return ( + <> + +
+
{children}
+ + + ) +} diff --git a/apps/evm/src/app/terms-of-service/page.tsx b/apps/evm/src/app/terms-of-service/page.tsx new file mode 100644 index 0000000000..3ce1211cf2 --- /dev/null +++ b/apps/evm/src/app/terms-of-service/page.tsx @@ -0,0 +1,189 @@ +import { Container, Separator } from '@sushiswap/ui' +import React from 'react' + +type NumberedListBlock = { + title: string + index: number + paragraphs: string[] + type: 'numbered-list' +} + +type Block = NumberedListBlock + +const text = [ + { + title: 'Article 1: Acceptance of Terms', + index: 1, + paragraphs: [ + + {`The following Terms of Service ("Terms"), including any documents, policies, and guidelines incorporated herein by reference, collectively govern the access to and use of the "Interface" provided by `} + Sushi Labs + {` (hereinafter referred to as "`} + Sushi + {`," "we," "us," or "our") by any individual, entity, group, x or association (hereinafter referred to as "User," "you," or "your").`} + , + `By accessing, browsing, or otherwise using the Interface, or by acknowledging acceptance of these Terms through the Interface, you affirm that you have read, understood, and consent to be bound by these Terms, including, but not limited to, our Privacy Policy and any Disclosures referenced herein, along with any limitations, waivers, and restrictions applicable to any claims you may assert, which may limit your rights.`, + `Your use or access to the Interface constitutes acceptance of a binding arbitration agreement, waiver of the right to participate in a class action, and any other clauses contained within. Some of which significantly affect your rights to resolve disputes.`, + `Sushi reserves the right to modify, amend, or revise these Terms without prior notice or consent. Following such changes, continued access or use of the Interface constitutes acceptance of the revised Terms. If you disagree with the revised Terms, you must cease using the Interface. You should review the terms each time you access the Website. `, + ], + type: 'numbered-list', + }, + { + title: 'Article 2: Definition of Interface', + index: 2, + paragraphs: [ + `For these Terms, "Interface" refers to any platform, software, feature, or functionality developed, administered, or contributed to by Sushi, including but not limited to Sushi Swap, and encompasses the services described herein.`, + ], + type: 'numbered-list', + }, + { + title: 'Article 3: Dispute Resolution; Arbitration Agreement', + index: 3, + paragraphs: [ + + {`Any dispute or claim arising out of or related to the Interface or use + thereof (including these terms) shall be subject to an informal + negotiation process initiated by email to `} + + tos@sushiswap.com + + {`. Upon + receipt of a complaint, Sushi shall have sixty (60) days to respond. + Only after a response, if no resolution is achieved, may you file an + Arbitration Claim with the London International Court of Arbitration. + Your time to file such a claim is 30 (thirty) days from the response + from Sushi. ANY AND ALL CLAIMS SHALL BE SUBJECT TO ARBITRATION, WHICH + HEREIN, INCORPORATED FOR REFERENCE AND BINDING ON THE PARTIES. BOTH + PARTIES AGREE TO BE BOUND BY THE DECISION OF ARBITRATION. Any disputes + shall be conclusively resolved by arbitration under the London Court of + International Arbitration (LCIA) Rules in force at the time, one single + arbitrator shall be appointed, the initiating party shall pay all fees, + and processes shall be conducted in English and confidentially. This + clause survives the termination of these Terms.`} + , + ], + type: 'numbered-list', + }, + { + title: 'Article 4: Disputes and Waivers', + index: 4, + paragraphs: [ + `You waive the right to bring disputes as a plaintiff or class member in any class or representative action and waive any right to a jury trial. This waiver applies globally, irrespective of the laws of any country.`, + `YOU HEREBY WAIVE ANY RIGHT TO BE PART OF A JURY TRIAL AND ANY RIGHT TO TAKE PART IN, ORCHESTRATE, OR OTHERWISE ENGAGE IN ANY CLASS ACTION OR GROUP LAWSUIT.`, + `You and Sushi agree that any losses you sustain shall be limited to a maximum claim of $10,000 - TEN THOUSAND US DOLLARS.`, + ], + type: 'numbered-list', + }, + { + title: 'Article 5: Governing Law', + index: 5, + paragraphs: [ + `These Terms and any disputes arising under or related thereto shall be governed by the laws of the Republic of Seychelles, disregarding conflict of law principles.`, + ], + type: 'numbered-list', + }, + { + title: 'Article 6: The Interface', + index: 6, + paragraphs: [ + `The Interface is a conduit for aggregating and publishing information on digital asset swapping, staking, and bonding technologies. It facilitates interactions for intended transactions without providing financial services or advice.`, + `Sushi does not provide financial services, financial advice, tax services, or any other services or advice linked to any financial instrument. In using the interface, you warrant and undertake that you have the requisite knowledge and understanding of Blockchain Technology.`, + `The Interface is provided on an ‘as is’ basis with no guarantees of performance, success, or any certification that functions will work 100% of the time. You use the Interface at your own risk.`, + ], + type: 'numbered-list', + }, + { + title: 'Article 7: Access and Use', + index: 7, + paragraphs: [ + `By using the Interface, you represent that you are of legal age, possess the necessary technical knowledge, comply with all applicable laws, are not located in restricted territories, and do not intend to use the Interface for illegal activities or transactions prohibited by law.`, + `If using the Interface is illegal or contrary to the laws of the country where you are based or a citizen, you should NOT use it.`, + ], + type: 'numbered-list', + }, + { + title: 'Article 8: Prohibited and Acceptable Uses', + index: 8, + paragraphs: [ + `Users must not misuse the Interface in ways that are illegal, fraudulent, or harmful to others. Acceptable uses of the Interface are limited to informational purposes for those with the requisite technical sophistication.`, + ], + type: 'numbered-list', + }, + { + title: 'Article 9: Risks and Limitations', + index: 9, + paragraphs: [ + `Users acknowledge and accept the inherent risks associated with using the Interface, including the lack of a business model for Sushi, the volatility and legal uncertainties of blockchain technology and digital assets, and the absence of any warranties or guarantees regarding the Interface or the Middleware.`, + ], + type: 'numbered-list', + }, + { + title: 'Article 10: Waiver and Indemnification', + index: 10, + paragraphs: [ + `Users agree to indemnify and hold harmless Sushi and its affiliates from any claims, damages, or expenses arising from their use of the Interface, violation of these Terms, or infringement of any third-party rights.`, + `Users waive any claims and agree to hold harmless Sushi, including any director, shareholder, member, consultant, accountant, lawyer, agent, or any party acting on behalf of Sushi, for any losses actual or anticipated, including those losses known or unknown at the time the User used the interface.`, + `The user waives any right to claim alter-ego status within the United States of America. The User does not believe that, when using the interface, they are working with or engaging with any US-based firm or person.`, + ], + type: 'numbered-list', + }, + { + title: 'Article 11: Miscellaneous', + index: 11, + paragraphs: [ + `These Terms, including the Privacy Policy and any disclosures incorporated by reference, constitute the entire agreement between you and Sushi regarding the Interface and supersede all prior agreements and understandings, whether written or oral, related to the subject matter.`, + `These terms and any dispute shall be governed by the laws of the Republic of Seychelles, with the courts of England and Wales having exclusive jurisdiction over the relationship and any disputes arising therefrom.`, + `The User may not assign these Terms at any time. Sushi may assign these terms to any new or other entity undertaking work on its behalf and assuming responsibility for the interface.`, + ], + type: 'numbered-list', + }, +] as Block[] + +function numberedBlock(block: NumberedListBlock, index: number) { + return ( +
+

{block.title}

+
+ {block.paragraphs.map((paragraph, i) => { + return ( +
+ + {index + 1}.{i + 1} + +

{paragraph}

+
+ ) + })} +
+
+ ) +} + +function contentBlock(block: (typeof text)[number], index: number) { + switch (block.type) { + case 'numbered-list': + return numberedBlock(block, index) + } +} + +export default function Page() { + return ( + +
+

+ Sushi Labs - Terms of Service +

+

+ Last modified: March 26, 2024 +

+
+ +
+ {text.map((block, i) => contentBlock(block, i))} +
+
+ ) +} diff --git a/apps/evm/src/app/terms-of-use/layout.tsx b/apps/evm/src/app/terms-of-use/layout.tsx deleted file mode 100644 index db40117779..0000000000 --- a/apps/evm/src/app/terms-of-use/layout.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react' - -export default function TermsOfUseLayout({ - children, -}: { children: React.ReactNode }) { - return
{children}
-} diff --git a/apps/evm/src/app/terms-of-use/page.tsx b/apps/evm/src/app/terms-of-use/page.tsx deleted file mode 100644 index 1da3625da7..0000000000 --- a/apps/evm/src/app/terms-of-use/page.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { Metadata } from 'next' -import React from 'react' - -export const metadata: Metadata = { - title: 'Terms Of Use', -} - -export default async function TermsOfUsePage() { - return ( - <> -
-

- Sushi Website Terms Of Use -

-

- Legal Information & Notices -

-
-
-
-

- Information provided on this Site is for general educational purposes - only and is not intended to constitute investment or other advice on - financial products. Such information is not, and should not be read - as, an offer or recommendation to buy or sell or a solicitation of an - offer or recommendation to buy or sell any particular digital asset or - to use any particular investment strategy. -

-

- Sushi makes no representations as to the accuracy, completeness, - timeliness, suitability, or validity of any information on this Site - and will not be liable for any errors, omissions, or delays in this - information or any losses, injuries, or damages arising from its - display or use. Unless otherwise noted, all images are the property of - Sushi. Links provided to third-party sites are for informational - purposes. Such sites are not under the control of Sushi, and Sushi is - not responsible for the accuracy of the content on such third-party - sites. -

-
- - ) -} diff --git a/biome.json b/biome.json index f123f52965..689dc2ac46 100644 --- a/biome.json +++ b/biome.json @@ -57,7 +57,8 @@ "noNonNullAssertion": "off", "noParameterAssign": "off", "useShorthandArrayType": "error", - "noUselessElse": "off" + "noUselessElse": "off", + "noUnusedTemplateLiteral": "off" }, "suspicious": { "noArrayIndexKey": "off", diff --git a/packages/wagmi/src/components/connect-button.tsx b/packages/wagmi/src/components/connect-button.tsx index 1f93db5b8a..db4fa12c0f 100644 --- a/packages/wagmi/src/components/connect-button.tsx +++ b/packages/wagmi/src/components/connect-button.tsx @@ -20,6 +20,7 @@ import { } from '@sushiswap/ui/components/icons' import React, { FC, useCallback, useMemo } from 'react' +import Link from 'next/link' import { useConnect } from '../hooks' const Icons: Record = { @@ -105,6 +106,27 @@ export const ConnectButton: FC = ({ ) })} + +
+ {`Connecting a wallet means you accept Sushi Labs' `} + + Terms + + {` and `} + + Privacy Policy + + {`. (03.26.2024)`} +
+
) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d8ffedf3ac..033186d85b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1137,8 +1137,6 @@ importers: specifier: 5.2.2 version: 5.2.2 - packages/database2/generated: {} - packages/dexie: dependencies: dexie: