diff --git a/renderer/components/Footer.tsx b/renderer/components/Footer.tsx deleted file mode 100644 index 664456e..0000000 --- a/renderer/components/Footer.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import { newsAtom, showNewsModalAtom } from "@/atoms/news-atom"; -import { translationAtom } from "@/atoms/translations-atom"; -import { useAtomValue, useSetAtom } from "jotai"; -import React from "react"; - -function Footer() { - const setShowNewsModal = useSetAtom(showNewsModalAtom); - const news = useAtomValue(newsAtom); - const t = useAtomValue(translationAtom); - - return ( -
- {news && !news?.data?.dontShow && ( - - )} -

- {t("FOOTER.COPYRIGHT")} {new Date().getFullYear()} -{" "} - - {t("TITLE")} - -

-

- {t("FOOTER.TITLE")} - - {t("FOOTER.LINK_TITLE")} - -

-
- ); -} - -export default Footer; diff --git a/renderer/components/Header.tsx b/renderer/components/Header.tsx deleted file mode 100644 index 71c8047..0000000 --- a/renderer/components/Header.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { FEATURE_FLAGS } from "@common/feature-flags"; -import React from "react"; -import UpscaylSVGLogo from "@/components/icons/upscayl-logo-svg"; -import { useAtomValue } from "jotai"; -import { translationAtom } from "@/atoms/translations-atom"; - -export default function Header({ version }: { version: string }) { - const t = useAtomValue(translationAtom); - - return ( - -
- -
-

- {t("TITLE")}{" "} - - {version} {FEATURE_FLAGS.APP_STORE_BUILD && "Mac"} - -

-

{t("HEADER.DESCRIPTION")}

-
-
-
- ); -} diff --git a/renderer/components/Tabs.tsx b/renderer/components/Tabs.tsx deleted file mode 100644 index 088529a..0000000 --- a/renderer/components/Tabs.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import { translationAtom } from "@/atoms/translations-atom"; -import { useAtomValue } from "jotai"; -import React from "react"; - -type TabsProps = { - selectedTab: number; - setSelectedTab: (tab: number) => void; -}; - -const Tabs = ({ selectedTab, setSelectedTab }: TabsProps) => { - const t = useAtomValue(translationAtom); - - return ( -
- { - setSelectedTab(0); - }} - > - {t("TITLE")} - - { - setSelectedTab(1); - }} - > - {t("SETTINGS.TITLE")} - -
- ); -}; - -export default Tabs;