diff --git a/src/frontend/src/lib/components/license-agreement/LicenseAgreement.svelte b/src/frontend/src/lib/components/license-agreement/LicenseAgreement.svelte new file mode 100644 index 0000000000..acdee0ce33 --- /dev/null +++ b/src/frontend/src/lib/components/license-agreement/LicenseAgreement.svelte @@ -0,0 +1,33 @@ + + +

{replaceOisyPlaceholders($i18n.license_agreement.text.title)}

+ +
+ {#each termsList as terms} +

+ {/each} +
diff --git a/src/frontend/src/lib/components/terms-and-conditions/TermsAndConditions.svelte b/src/frontend/src/lib/components/terms-and-conditions/TermsAndConditions.svelte deleted file mode 100644 index f38c0b52fe..0000000000 --- a/src/frontend/src/lib/components/terms-and-conditions/TermsAndConditions.svelte +++ /dev/null @@ -1,33 +0,0 @@ - - -

{replaceOisyPlaceholders($i18n.terms_and_conditions.text.title)}

- -
- {#each termsList as terms} -

- {/each} -
diff --git a/src/frontend/src/lib/i18n/en.json b/src/frontend/src/lib/i18n/en.json index 5a02aa3b60..491f1d96f9 100644 --- a/src/frontend/src/lib/i18n/en.json +++ b/src/frontend/src/lib/i18n/en.json @@ -733,7 +733,7 @@ "indicator": "Jump to slide $index" } }, - "terms_and_conditions": { + "license_agreement": { "text": { "title": "$oisy_name License Agreement (“License Agreement”)", "paragraph_1": "Thank you for your interest in $oisy_name, a browser-based, self-custodial, and multi-chain wallet decentralized application hosted on the Internet Computer public blockchain network (“$oisy_short”). For more information about $oisy_short, its open-source code, and related licenses, please refer to the $oisy_short GitHub repository found here: $oisy_repo_url.", @@ -752,6 +752,9 @@ "assignment": "11. Assignment. You may not assign this License Agreement without the prior written consent of DFINITY, whether expressly or by operation of law, including in connection with a merger or change of control, and any such attempted assignment shall be void and of no effect. DFINITY may assign this License Agreement without restriction and without any notice to you. Subject to the foregoing, this License Agreement shall be binding on the parties and their respective successors and permitted assigns.", "no_waiver": "12. No Waiver. The failure to exercise, or delay in exercising, a right, power, or remedy provided in this License Agreement or by law shall not constitute a waiver of that right, power, or remedy. DFINITY’s waiver of any obligation or breach of this License Agreement shall not operate as a waiver of any other obligation or subsequent breach of the License Agreement.", "english_version": "13. English Version. The English language version of this License Agreement shall be the official and controlling version of the agreement if any conflict should arise. All communications and notices made pursuant to this License Agreement must be in the English language." + }, + "alt": { + "license_agreement": "The $oisy_name License Agreement" } } } diff --git a/src/frontend/src/lib/types/i18n.d.ts b/src/frontend/src/lib/types/i18n.d.ts index bd3cc79e91..2e4c202290 100644 --- a/src/frontend/src/lib/types/i18n.d.ts +++ b/src/frontend/src/lib/types/i18n.d.ts @@ -637,7 +637,7 @@ interface I18nCarousel { text: { next_slide: string; prev_slide: string; indicator: string }; } -interface I18nTerms_and_conditions { +interface I18nLicense_agreement { text: { title: string; paragraph_1: string; @@ -657,6 +657,7 @@ interface I18nTerms_and_conditions { no_waiver: string; english_version: string; }; + alt: { license_agreement: string }; } interface I18n { @@ -684,5 +685,5 @@ interface I18n { about: I18nAbout; signer: I18nSigner; carousel: I18nCarousel; - terms_and_conditions: I18nTerms_and_conditions; + license_agreement: I18nLicense_agreement; } diff --git a/src/frontend/src/routes/(public)/license-agreement/+page.svelte b/src/frontend/src/routes/(public)/license-agreement/+page.svelte new file mode 100644 index 0000000000..2f773a6c92 --- /dev/null +++ b/src/frontend/src/routes/(public)/license-agreement/+page.svelte @@ -0,0 +1,5 @@ + + + diff --git a/src/frontend/src/routes/(public)/terms-and-conditions/+page.ts b/src/frontend/src/routes/(public)/license-agreement/+page.ts similarity index 100% rename from src/frontend/src/routes/(public)/terms-and-conditions/+page.ts rename to src/frontend/src/routes/(public)/license-agreement/+page.ts diff --git a/src/frontend/src/routes/(public)/terms-and-conditions/+page.svelte b/src/frontend/src/routes/(public)/terms-and-conditions/+page.svelte deleted file mode 100644 index ac0c1946f5..0000000000 --- a/src/frontend/src/routes/(public)/terms-and-conditions/+page.svelte +++ /dev/null @@ -1,5 +0,0 @@ - - -