Skip to content

Commit

Permalink
Implement proper site-wide translation and link translated pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Víctor Marino committed Aug 15, 2023
1 parent 50a6da7 commit c555c58
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 80 deletions.
26 changes: 26 additions & 0 deletions content/es/indexax/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: "Indexa X"
date: 2023-08-09T13:20:36+02:00
layout: single
socialShare: false
showDate: false
enableReadingTime: false
toc: false
---

Indexa X es un cliente multiplataforma no oficial y de [código abierto](https://github.com/victor-marino/indexax) para Indexa Capital.

Está desarrollado en [Flutter](https://flutter.dev/), y utiliza la [API oficial de Indexa Capital](https://indexacapital.com/en/api-rest-v1) para leer los datos de tu cuenta de forma segura.

Actualmente está disponible para Android y iOS.

<div><img src="/images/indexax/screenshot_01_500.png" width=150/><img src="/images/indexax/screenshot_02_500.png" width=150/><img src="/images/indexax/screenshot_03_500.png" width=150/><img src="/images/indexax/screenshot_04_500.png" width=150/><img src="/images/indexax/screenshot_05_500.png" width=150/></div>

---

## Descargar
[![google_play_badge](/images/indexax/google-play-badge-es.png)](https://play.google.com/store/apps/details?id=com.victormarino.indexax) [![app_store_badge](/images/indexax/app-store-badge-es.png)](https://apps.apple.com/es/app/indexa-x/id1637446036)

Puedes consultar la política de privacidad de Indexa X [aquí](privacy-policy).

Si tienes cualquier pregunta o comentario sobre la app, puedes [contactar conmigo](mailto:indexax@victormarino.com).
10 changes: 10 additions & 0 deletions content/es/indexax/privacy-policy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "Indexa X Privacy Policy"
date: 2023-08-11T16:19:28+02:00
socialShare: false
showDate: false
enableReadingTime: false
---


{{% include_english_version "/indexax/privacy-policy" %}}
28 changes: 1 addition & 27 deletions content/indexax/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ enableReadingTime: false
toc: false
---

{{< tabs tabTotal="2" tabRightAlign="1">}}
{{< tab tabName="EN" >}}

Indexa X is an unofficial, multiplatform and [open-source](https://github.com/victor-marino/indexax) client for Indexa Capital.

It's been developed in [Flutter](https://flutter.dev/), and it uses the [official Indexa Capital API](https://indexacapital.com/en/api-rest-v1) to read your account data securely.
Expand All @@ -26,27 +23,4 @@ It is currently available for Android and iOS.

You can find the privacy policy for Indexa X [here](/indexax/privacy-policy).

If you have any questions or comments about the app, feel free to [contact me](mailto:indexax@victormarino.com).

{{< /tab >}}
{{< tab tabName="ES" >}}

Indexa X es un cliente multiplataforma no oficial y de [código abierto](https://github.com/victor-marino/indexax) para Indexa Capital.

Está desarrollado en [Flutter](https://flutter.dev/), y utiliza la [API oficial de Indexa Capital](https://indexacapital.com/en/api-rest-v1) para leer los datos de tu cuenta de forma segura.

Actualmente está disponible para Android y iOS.

<div><img src="/images/indexax/screenshot_01_500.png" width=150/><img src="/images/indexax/screenshot_02_500.png" width=150/><img src="/images/indexax/screenshot_03_500.png" width=150/><img src="/images/indexax/screenshot_04_500.png" width=150/><img src="/images/indexax/screenshot_05_500.png" width=150/></div>

---

## Descargar
[![google_play_badge](/images/indexax/google-play-badge-es.png)](https://play.google.com/store/apps/details?id=com.victormarino.indexax) [![app_store_badge](/images/indexax/app-store-badge-es.png)](https://apps.apple.com/es/app/indexa-x/id1637446036)

Puedes consultar la política de privacidad de Indexa X [aquí](/indexax/privacy-policy).

Si tienes cualquier pregunta o comentario sobre la app, puedes [contactar conmigo](mailto:indexax@victormarino.com).

{{< /tab >}}
{{< /tabs >}}
If you have any questions or comments about the app, feel free to [contact me](mailto:indexax@victormarino.com).
50 changes: 25 additions & 25 deletions content/indexax/privacy-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ The words of which the initial letter is capitalized have meanings defined under

For the purposes of this Privacy Policy:

- **Account** means a unique account created for You to access our Service or parts of our Service<br><br>
- **Affiliate** means an entity that controls, is controlled by or is under common control with a party, where "control" means ownership of 50% or more of the shares, equity interest or other securities entitled to vote for election of directors or other managing authority.<br><br>
- **Application** means the software program provided by the Company downloaded by You on any electronic device, named Indexa X<br><br>
- **Company** (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to Indexa X.<br><br>
- **Country** refers to: Spain<br><br>
- **Device** means any device that can access the Service such as a computer, a cellphone or a digital tablet.<br><br>
- **Personal Data** is any information that relates to an identified or identifiable individual.<br><br>
- **Service** refers to the Application.<br><br>
- **Service Provider** means any natural or legal person who processes the data on behalf of the Company. It refers to third-party companies or individuals employed by the Company to facilitate the Service, to provide the Service on behalf of the Company, to perform services related to the Service or to assist the Company in analyzing how the Service is used.<br><br>
- **Usage Data** refers to data collected automatically, either generated by the use of the Service or from the Service infrastructure itself (for example, the duration of a page visit).<br><br>
- **Account** means a unique account created for You to access our Service or parts of our Service
- **Affiliate** means an entity that controls, is controlled by or is under common control with a party, where "control" means ownership of 50% or more of the shares, equity interest or other securities entitled to vote for election of directors or other managing authority.
- **Application** means the software program provided by the Company downloaded by You on any electronic device, named Indexa X
- **Company** (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to Indexa X.
- **Country** refers to: Spain
- **Device** means any device that can access the Service such as a computer, a cellphone or a digital tablet.
- **Personal Data** is any information that relates to an identified or identifiable individual.
- **Service** refers to the Application.
- **Service Provider** means any natural or legal person who processes the data on behalf of the Company. It refers to third-party companies or individuals employed by the Company to facilitate the Service, to provide the Service on behalf of the Company, to perform services related to the Service or to assist the Company in analyzing how the Service is used.
- **Usage Data** refers to data collected automatically, either generated by the use of the Service or from the Service infrastructure itself (for example, the duration of a page visit).
- **You** means the individual accessing or using the Service, or the company, or other legal entity on behalf of which such individual is accessing or using the Service, as applicable.

# Collecting and Using Your Personal Data
Expand All @@ -60,22 +60,22 @@ We may also collect information that Your browser sends whenever You visit our S

The Company may use Personal Data for the following purposes:

- **To provide and maintain our Service**, including to monitor the usage of our Service.<br><br>
- **To provide and maintain our Service**, including to monitor the usage of our Service.
- **To manage Your Account**: to manage Your registration as a user of the Service. The Personal Data You provide can give You access to different functionalities of the Service that are available to You as a registered user.
- **For the performance of a contract**: the development, compliance and undertaking of the purchase contract for the products, items or services You have purchased or of any other contract with Us through the Service.<br><br>
- **To contact You**: To contact You by email, telephone calls, SMS, or other equivalent forms of electronic communication, such as a mobile application's push notifications regarding updates or informative communications related to the functionalities, products or contracted services, including the security updates, when necessary or reasonable for their implementation.<br><br>
- **To provide You** with news, special offers and general information about other goods, services and events which we offer that are similar to those that you have already purchased or enquired about unless You have opted not to receive such information.<br><br>
- **To manage Your requests**: To attend and manage Your requests to Us.<br><br>
- **For business transfers**: We may use Your information to evaluate or conduct a merger, divestiture, restructuring, reorganization, dissolution, or other sale or transfer of some or all of Our assets, whether as a going concern or as part of bankruptcy, liquidation, or similar proceeding, in which Personal Data held by Us about our Service users is among the assets transferred.<br><br>
- **For the performance of a contract**: the development, compliance and undertaking of the purchase contract for the products, items or services You have purchased or of any other contract with Us through the Service.
- **To contact You**: To contact You by email, telephone calls, SMS, or other equivalent forms of electronic communication, such as a mobile application's push notifications regarding updates or informative communications related to the functionalities, products or contracted services, including the security updates, when necessary or reasonable for their implementation.
- **To provide You** with news, special offers and general information about other goods, services and events which we offer that are similar to those that you have already purchased or enquired about unless You have opted not to receive such information.
- **To manage Your requests**: To attend and manage Your requests to Us.
- **For business transfers**: We may use Your information to evaluate or conduct a merger, divestiture, restructuring, reorganization, dissolution, or other sale or transfer of some or all of Our assets, whether as a going concern or as part of bankruptcy, liquidation, or similar proceeding, in which Personal Data held by Us about our Service users is among the assets transferred.
- **For other purposes**: We may use Your information for other purposes, such as data analysis, identifying usage trends, determining the effectiveness of our promotional campaigns and to evaluate and improve our Service, products, services, marketing and your experience.

We may share Your personal information in the following situations:

- **With Service Providers**: We may share Your personal information with Service Providers to monitor and analyze the use of our Service, to contact You.<br><br>
- **For business transfers**: We may share or transfer Your personal information in connection with, or during negotiations of, any merger, sale of Company assets, financing, or acquisition of all or a portion of Our business to another company.<br><br>
- **With Affiliates**: We may share Your information with Our affiliates, in which case we will require those affiliates to honor this Privacy Policy. Affiliates include Our parent company and any other subsidiaries, joint venture partners or other companies that We control or that are under common control with Us.<br><br>
- **With business partners**: We may share Your information with Our business partners to offer You certain products, services or promotions.<br><br>
- **With other users**: when You share personal information or otherwise interact in the public areas with other users, such information may be viewed by all users and may be publicly distributed outside.<br><br>
- **With Service Providers**: We may share Your personal information with Service Providers to monitor and analyze the use of our Service, to contact You.
- **For business transfers**: We may share or transfer Your personal information in connection with, or during negotiations of, any merger, sale of Company assets, financing, or acquisition of all or a portion of Our business to another company.
- **With Affiliates**: We may share Your information with Our affiliates, in which case we will require those affiliates to honor this Privacy Policy. Affiliates include Our parent company and any other subsidiaries, joint venture partners or other companies that We control or that are under common control with Us.
- **With business partners**: We may share Your information with Our business partners to offer You certain products, services or promotions.
- **With other users**: when You share personal information or otherwise interact in the public areas with other users, such information may be viewed by all users and may be publicly distributed outside.
- **With Your consent**: We may disclose Your personal information for any other purpose with Your consent.

## Retention of Your Personal Data
Expand Down Expand Up @@ -106,10 +106,10 @@ Under certain circumstances, the Company may be required to disclose Your Person

The Company may disclose Your Personal Data in the good faith belief that such action is necessary to:

- Comply with a legal obligation<br><br>
- Protect and defend the rights or property of the Company<br><br>
- Prevent or investigate possible wrongdoing in connection with the Service<br><br>
- Protect the personal safety of Users of the Service or the public<br><br>
- Comply with a legal obligation
- Protect and defend the rights or property of the Company
- Prevent or investigate possible wrongdoing in connection with the Service
- Protect the personal safety of Users of the Service or the public
- Protect against legal liability

## Security of Your Personal Data
Expand Down
24 changes: 2 additions & 22 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,7 @@ languages:
# Separator
- name: ""
weight: 7
# Dropdown menu
- identifier: EN
name: "EN"
title: EN
weight: 8
- identifier: ES
title: Cambiar a español
name: ES
url: /es
parent: EN
weight: 1

es:
contentDir: content/es
disabled: false
Expand Down Expand Up @@ -87,16 +77,6 @@ languages:
- name: ""
weight: 6
# Dropdown menu
- identifier: ES
name: "ES"
title: ES
weight: 7
- identifier: EN
title: Switch to English
name: EN
url: /
parent: ES
weight: 1
params:
hero:
enable: true
Expand Down Expand Up @@ -333,7 +313,7 @@ languages:
image: /images/indexax/indexax_feature_graphic.png
featured:
name: Indexa X
link: /indexax
link: /es/indexax
badges:
- "Flutter"
- "Mobile apps"
Expand Down
4 changes: 4 additions & 0 deletions layouts/shortcodes/include_english_version.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ with .Site.GetPage (.Get 0) }}
{{ $english_version := index (.Translations) 0 }}
{{ $english_version.RawContent }}
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -112,20 +112,18 @@
</a>
</li>
{{ end }}

<!-- custom menus from the user -->
{{ range .Site.Menus.main }}
{{ if .HasChildren }}
<!-- Dropdown menu -->
<li class="nav-item navbar-text dropdown">
<a class="nav-link dropdown-toggle" href="{{ .URL }}" id="navbarDropdown" role="button"
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{{ .Title }}">
<a class="nav-link dropdown-toggle" href="{{ .URL }}" id="navbarDropdown" role="button" data-bs-toggle="dropdown"
aria-haspopup="true" aria-expanded="false" title="{{ .Title }}">
{{ .Name }}
</a>
<div class="dropdown-menu shadow-lg rounded" aria-labelledby="navbarDropdown">
{{ range .Children }}
<a class="dropdown-item text-center nav-link" href="{{ .URL }}"
title="{{ .Title }}">
<a class="dropdown-item text-center nav-link" href="{{ .URL }}" title="{{ .Title }}">
{{ .Name }}
</a>
{{ end }}
Expand All @@ -152,7 +150,20 @@
{{end}}
{{end}}
{{end}}

<!--- Language selector-->
<li class="nav-item navbar-text dropdown">
<a class="nav-link dropdown-toggle" href="" id="navbarDropdown" role="button" data-bs-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
{{ upper .Language }}
</a>
<div class="dropdown-menu shadow-lg rounded" aria-labelledby="navbarDropdown">
{{ range .Translations }}
<a class="dropdown-item text-center nav-link" href="{{ .RelPermalink }}">
{{ upper (default .Lang .Language.Lang) }}
</a>
{{ end }}
</div>
</li>
{{ if (not .Site.Params.theme.disableThemeToggle | default false) }}
<li class="nav-item navbar-text">
<!-- darkmode mode toggle -->
Expand Down

0 comments on commit c555c58

Please sign in to comment.