diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
deleted file mode 100644
index 7491131..0000000
--- a/frontend/src/App.jsx
+++ /dev/null
@@ -1,62 +0,0 @@
-import { useState, useEffect, useCallback, Suspense } from 'react'
-import { Route, Routes } from 'react-router-dom'
-
-import * as Pages from '/src/pages'
-import { Settings, Loading, Egg, TranslateDialog } from '/src/components'
-
-import { useSettingsStore, useTranslateStore } from '/src/stores'
-
-const EGG_PATTERN = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a']
-
-const App = () => {
- const [eggCount, setEggCount] = useState(0)
- const [eggVisible, setEggVisible] = useState(false)
- const [eggKey, setEggKey] = useState(0)
-
- const languageSupported = useTranslateStore(state => state.navigatorSupported)
- const translateDialogDismissed = useTranslateStore(state => state.translateDialogDismissed)
-
- const eggHandler = useCallback(e => {
- if (EGG_PATTERN.indexOf(e.key) < 0 || e.key !== EGG_PATTERN[eggCount]) return setEggCount(0)
- setEggCount(eggCount+1)
- if (EGG_PATTERN.length === eggCount+1) {
- setEggKey(eggKey+1)
- setEggCount(0)
- setEggVisible(true)
- }
- }, [eggCount, eggKey])
-
- useEffect(() => {
- document.addEventListener('keyup', eggHandler, false)
- return () => document.removeEventListener('keyup', eggHandler, false)
- }, [eggHandler])
-
- // Use user theme preference
- const theme = useSettingsStore(state => state.theme)
- useEffect(() => {
- document.body.classList.toggle('light', theme === 'Light')
- document.body.classList.toggle('dark', theme === 'Dark')
- }, [theme])
-
- return (
- <>
- {!languageSupported && !translateDialogDismissed && }
-
- }>
-
-
-
- } />
- } />
- } />
- } />
- } />
-
-
-
- {eggVisible && setEggVisible(false)} />}
- >
- )
-}
-
-export default App
diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx
index 71ed4c0..8b8d9a7 100644
--- a/frontend/src/app/layout.tsx
+++ b/frontend/src/app/layout.tsx
@@ -2,6 +2,7 @@ import { Metadata } from 'next'
import Egg from '/src/components/Egg/Egg'
import Settings from '/src/components/Settings/Settings'
+import TranslateDialog from '/src/components/TranslateDialog/TranslateDialog'
import { fallbackLng } from '/src/i18n/options'
import { useTranslation } from '/src/i18n/server'
@@ -33,6 +34,7 @@ const RootLayout = async ({ children }: { children: React.ReactNode }) => {
{children}
+