'use client' import React, { useState } from 'react'; import { Box, Button, Output } from "./modules"; import { calculate_clickMaximize, calculate_clickMinimize, downloadLP, import_click } from "./scripts" import text from "./lang" export default function Home() { const [language, setLanguage] = useState('eng'); const tr_hTitle = text(language, 'header_title'); const tr_hSubtitle = text(language, 'header_subtitle'); const tr_boxObjTitle = text(language, 'boxObjTitle'); const tr_boxObjDesc = text(language, "boxObjDesc"); const tr_boxSubjTitle = text(language, 'boxSubjTitle'); const tr_boxSubjDesc = text(language, "boxSubjDesc"); const tr_boxBoundsTitle = text(language, 'boxBoundsTitle'); const tr_boxBoundsDesc = text(language, "boxBoundsDesc"); const tr_boxVarsTitle = text(language, 'boxVarsTitle'); const tr_boxVarsDesc = text(language, "boxVarsDesc"); const tr_boxOut = text(language, "boxOut"); const tr_boxExportLP = text(language, "boxExportLP"); const tr_calc_max = text(language, "maximize"); const tr_calc_min = text(language, "minimize"); const handleLanguageChange = (event: React.ChangeEvent) => { setLanguage(event.target.value); }; return ( <>
{tr_hTitle}

{tr_hSubtitle}