From 089431d81620abd54b1788df6d5fac43adfee36c Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 10 Mar 2021 19:49:57 -0300 Subject: PSP-UFU site i18n with docusaurus --- docusaurus/src/pages/index.js | 71 ++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 35 deletions(-) (limited to 'docusaurus/src') diff --git a/docusaurus/src/pages/index.js b/docusaurus/src/pages/index.js index 3c60c4d..0a4c7c0 100644 --- a/docusaurus/src/pages/index.js +++ b/docusaurus/src/pages/index.js @@ -2,44 +2,45 @@ import React from 'react'; import clsx from 'clsx'; import Layout from '@theme/Layout'; import Link from '@docusaurus/Link'; +import Translate, {translate} from '@docusaurus/Translate'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import useBaseUrl from '@docusaurus/useBaseUrl'; import styles from './styles.module.css'; const features = [ { - title: <>Complete Platform, + title: Complete Platform, imageUrl: 'img/complete-platform.svg', description: ( <> - PSP-UFU is a cross-platform, multilingual, Free and Open-Source Software (FOSS) with advanced GUI (Graphical User Interface) features and CAD (Computer-Aided Design) tools for electrical power system studies. + PSP-UFU is a cross-platform, multilingual, Free and Open-Source Software (FOSS) with advanced GUI (Graphical User Interface) features and CAD (Computer-Aided Design) tools for electrical power system studies. ), }, { - title: <>Advanced CAD Features, + title: <>Advanced CAD Features, imageUrl: 'img/advanced-cad.svg', description: ( <> - The software allows the construction of any electric transmission network and control systems through the deployment of visual elements. + The software allows the construction of any electric transmission network and control systems through the deployment of visual elements. ), }, { - title: <>Easy Visualization, + title: <>Easy Visualization, imageUrl: 'img/visualization.svg', description: ( <> - For the visualization of results, the program offers linked text elements in the main screen, voltage heatmap display, and also table and graph editors. + For the visualization of results, the program offers linked text elements in the main screen, voltage heatmap display, and also table and graph editors. ), }, { - title: <>Application, + title: <>Application, imageUrl: 'img/application.svg', description: ( <> - The PSP-UFU aims to provide efficient computer simulation tools for research and education purposes, in addition to industrial applications in electrical power systems. + The PSP-UFU aims to provide efficient computer simulation tools for research and education purposes, in addition to industrial applications in electrical power systems. ), }, @@ -47,46 +48,46 @@ const features = [ const studies = [ { - title: <>Power Flow, + title: <>Power Flow, //imageUrl: 'img/undraw_docusaurus_react.svg', description: ( ), }, { - title: <>Short-Circuit calculation, + title: <>Short-Circuit calculation, //imageUrl: 'img/undraw_docusaurus_react.svg', description: ( ), }, { - title: <>Harmonics, + title: <>Harmonics, //imageUrl: 'img/undraw_docusaurus_react.svg', description: ( ), }, { - title: <>Transient and Dynamic Stability, + title: <>Transient and Dynamic Stability, //imageUrl: 'img/undraw_docusaurus_react.svg', description: ( ), }, @@ -128,11 +129,11 @@ function Home() { return ( + description="Power System Platform">

{siteConfig.title}

-

{siteConfig.tagline}

+

Power System Platform of Federal University of Uberlândia

@@ -144,7 +145,7 @@ function Home() { styles.getStarted, )} to={useBaseUrl('https://github.com/Thales1330/PSP/releases/latest')}> - Download + Download
@@ -154,7 +155,7 @@ function Home() { styles.getStarted, )} to={useBaseUrl('docs/')}> - User Guide + User Guide
@@ -164,7 +165,7 @@ function Home() { styles.getStarted, )} to={useBaseUrl('https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/Thales1330/PSP/tree/master/Project/data/samples')}> - Samples + Samples
@@ -183,7 +184,7 @@ function Home() { )}
-

Studies Performed

+

Studies Performed

{studies && studies.length > 0 && ( @@ -199,8 +200,8 @@ function Home() { )}
-

Published Papers

- Further details can be found in the published papers: +

Published Papers

+ Further details can be found in the published papers:
Oliveira, T. L., Guimarães, G. C., & Silva, L. R. C. (2019). PSP-UFU: An open-source, graphical, and multiplatform software for power system studies. International Transactions on Electrical Energy Systems, e12185. doi: 10.1002/2050-7038.12185
@@ -210,17 +211,17 @@ function Home() {
-

Code Documentation

+

Code Documentation

- All detailed descriptions of the source-code can be found at Online Documentation, generated by Doxygen. + All detailed descriptions of the source-code can be found at Online Documentation, generated by Doxygen.

-

Screenshots

+

Screenshots

-- cgit