Skip to content

Commit

Permalink
Merge pull request #1044 from basedosdados/development
Browse files Browse the repository at this point in the history
feat: ToS para contestações
  • Loading branch information
rdahis authored Dec 7, 2024
2 parents 51bb8d5 + 1736169 commit ec6a2d6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import BodyText from "../components/atoms/BodyText";
import SectionText from "../components/atoms/SectionText";
import { useTranslation } from 'next-i18next';

export default function ServiceTerms() {
export default function TermsOfService() {
const { t } = useTranslation('terms');
const TitleText = ({ children, ...props }) => {
return (
Expand Down Expand Up @@ -88,7 +88,8 @@ export default function ServiceTerms() {
gap="8px"
>
<TitleText>{t('ToS.term4.title')}</TitleText>
<SecText>{t('ToS.term4.content')}</SecText>
<SecText>{t('ToS.term4.subContent1')}</SecText>
<SecText>{t('ToS.term4.subContent2')}</SecText>
</VStack>

<VStack
Expand Down
4 changes: 2 additions & 2 deletions next/pages/terms.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { useRouter } from "next/router";
import { isMobileMod, useCheckMobile } from "../hooks/useCheckMobile.hook";
import Display from "../components/atoms/Display";
import { MainPageTemplate } from "../components/templates/main";
import ServiceTerms from "../content/serviceTerms";
import TermsOfService from "../content/termsOfService";
import PrivacyPolicy from "../content/privacyPolicy";
import { withPages } from "../hooks/pages.hook";
import { useTranslation } from 'next-i18next';
Expand Down Expand Up @@ -157,7 +157,7 @@ export default function TermsAndPolicies() {
fontWeight="400"
color="#252A32"
>{t('termsOfService')}</Text>
<ServiceTerms/>
<TermsOfService/>
</VStack>

<VStack
Expand Down
3 changes: 2 additions & 1 deletion next/public/locales/en/terms.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"term4": {
"title": "4. Cancellation and Refund",
"content": "4.1. You can cancel your subscription at any time through the options available in your account. However, no refunds or credits will be provided for periods when the subscription was not used."
"subContent1": "4.1. You can cancel your subscription at any time through the options available in your account. However, no refunds or credits will be provided for periods when the subscription was not used.",
"subContent2": "4.2. You agree to contact us at the email address [email protected] before opening a charge dispute with your bank."
},
"term5": {
"title": "5. Responsible Use",
Expand Down
3 changes: 2 additions & 1 deletion next/public/locales/es/terms.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"term4": {
"title": "4. Cancelación y Reembolso",
"content": "4.1. Puede cancelar su suscripción en cualquier momento a través de las opciones disponibles en su cuenta. Sin embargo, no se proporcionarán reembolsos ni créditos por períodos en los que no se utilizó la suscripción."
"subContent1": "4.1. Puede cancelar su suscripción en cualquier momento a través de las opciones disponibles en su cuenta. Sin embargo, no se proporcionarán reembolsos ni créditos por períodos en los que no se utilizó la suscripción.",
"subContent2": "4.2. Usted acepta contactarse con nosotros a través del correo electrónico [email protected] antes de abrir una disputa de cobro con su banco."
},
"term5": {
"title": "5. Uso Responsable",
Expand Down
3 changes: 2 additions & 1 deletion next/public/locales/pt/terms.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"term4": {
"title": "4. Cancelamento e Reembolso",
"content": "4.1. Você pode cancelar sua assinatura a qualquer momento através das opções disponíveis em sua conta. No entanto, não serão fornecidos reembolsos ou créditos por períodos em que a assinatura não foi utilizada."
"subContent1": "4.1. Você pode cancelar sua assinatura a qualquer momento através das opções disponíveis em sua conta. No entanto, não serão fornecidos reembolsos ou créditos por períodos em que a assinatura não foi utilizada.",
"subContent2": "4.2. Você concorda em entrar em contato conosco no email [email protected] antes de abrir uma contestação de cobrança com seu banco."
},
"term5": {
"title": "5. Uso Responsável",
Expand Down

0 comments on commit ec6a2d6

Please sign in to comment.