From 7f2cbf1da7a85426934fbfefffe4524ab401c19c Mon Sep 17 00:00:00 2001 From: Xin Feng <126309503+danielxfeng@users.noreply.github.com> Date: Thu, 4 Sep 2025 23:33:13 +0300 Subject: [PATCH 1/3] Main App is implemented --- src/App.tsx | 39 +++++++++++++++++++++++++++++++-- src/components/Footer.tsx | 2 +- src/components/Introduction.tsx | 18 +++++++++++++++ src/locale.ts | 27 +++++++++++++++++++++-- 4 files changed, 81 insertions(+), 5 deletions(-) create mode 100644 src/components/Introduction.tsx diff --git a/src/App.tsx b/src/App.tsx index ced806e..64893b6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,42 @@ +import useLang from "@/lib/hooks/useLang"; +import { translations } from "@/locale"; +import Introduction from "@/components/Introduction"; +import { Button } from "@/components/ui/button"; + function App() { + const { currLang } = useLang(); return ( -
{translations[currLang].subtitle}
++ {translations[currLang].subtitle} +