{t('footer.name')}
diff --git a/frontend/src/pages/landing/Header.jsx b/frontend/src/pages/landing/Header.jsx new file mode 100644 index 00000000..d375ce09 --- /dev/null +++ b/frontend/src/pages/landing/Header.jsx @@ -0,0 +1,89 @@ +import { Link } from 'react-router-dom'; +import { Container, Navbar, Image, Nav, Button } from 'react-bootstrap'; +import { useTranslation } from 'react-i18next'; +import { useTernaryDarkMode } from 'usehooks-ts'; +import LanguageSelector from '../../components/Navigation/LanguageSelector.jsx'; +import ThemeSelector from '../../components/Navigation/ThemeSelector.jsx'; +import routes from '../../routes.js'; + +import RunItLogoLight from './assets/LogoHeaderLightTheme.svg'; +import RunItLogoDark from './assets/LogoHeaderDarkTheme.svg'; +import Burger from './assets/Burger.svg'; + +import 'bootstrap/dist/css/bootstrap.min.css'; +import './landing.scss'; +import './custom-colors.scss'; + +function Header() { + const { t } = useTranslation(); + const { isDarkMode } = useTernaryDarkMode(); + + const logo = isDarkMode ? RunItLogoDark : RunItLogoLight; + return ( +{t('landing.nowCoding')}
{t('landing.nowCoding')}
-