Logo
This commit is contained in:
parent
a85cdc6356
commit
34b7b47d0e
BIN
exam/dist/assets/guests-book-TdSsJC37.png
vendored
Normal file
BIN
exam/dist/assets/guests-book-TdSsJC37.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
9
exam/dist/assets/index-ClGBs-iO.js
vendored
9
exam/dist/assets/index-ClGBs-iO.js
vendored
File diff suppressed because one or more lines are too long
9
exam/dist/assets/index-Djqz5EHC.js
vendored
Normal file
9
exam/dist/assets/index-Djqz5EHC.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
exam/dist/index.html
vendored
2
exam/dist/index.html
vendored
@ -23,7 +23,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>GuestBook</title>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-ClGBs-iO.js"></script>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-Djqz5EHC.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/react-C9_qfvjK.js">
|
||||
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/mui-BnAUJOoN.js">
|
||||
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/tanstack-BqkrhB-y.js">
|
||||
|
||||
2
exam/dist/stats.html
vendored
2
exam/dist/stats.html
vendored
File diff suppressed because one or more lines are too long
BIN
exam/react/assets/img/guests-book.png
Normal file
BIN
exam/react/assets/img/guests-book.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@ -34,7 +34,8 @@ const ErrorRouterComponent: TSErrorRouteComponent = ({ error }) => {
|
||||
<Grid item xs={12} sx={{ display: 'flex', justifyContent: 'center' }}>
|
||||
<MUILink
|
||||
variant="h6"
|
||||
underline="none"
|
||||
underline="hover"
|
||||
sx={{ cursor: 'pointer' }}
|
||||
onClick={() => {
|
||||
console.log('CLICK AS WELL');
|
||||
router.invalidate();
|
||||
|
||||
@ -12,6 +12,7 @@ import {
|
||||
import { Link, useRouterState } from '@tanstack/react-router';
|
||||
import { cloneElement, FC, ReactElement, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import GuestBook from '../../../assets/img/guests-book.png';
|
||||
import { useApi } from '../../api/Api';
|
||||
import useGuestBookStore from '../../store/store';
|
||||
import LanguageMenu from '../Menus/Language/LanguageMenu';
|
||||
@ -51,8 +52,15 @@ const Header: FC = () => {
|
||||
<AppBar>
|
||||
<Toolbar>
|
||||
<Box sx={{ flexGrow: 1, alignItems: 'center', display: 'flex', gap: 1 }}>
|
||||
<MUILink component={Link} to="/" color="white" variant="h6" underline="none">
|
||||
{t('GuestBook')}
|
||||
<MUILink
|
||||
component={Link}
|
||||
to="/"
|
||||
color="white"
|
||||
variant="h6"
|
||||
underline="none"
|
||||
sx={{ display: 'flex', alignItems: 'center', gap: 1 }}
|
||||
>
|
||||
<img src={GuestBook} width="24px" height="24px" alt={t('GuestBook')} /> {t('GuestBook')}
|
||||
</MUILink>
|
||||
{isLoading && <CircularProgress size={16} thickness={10} sx={{ color: 'white' }} />}
|
||||
</Box>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user