diff --git a/src/components/layout/Footer.jsx b/src/components/layout/Footer.jsx index ed01b10..7656f9f 100644 --- a/src/components/layout/Footer.jsx +++ b/src/components/layout/Footer.jsx @@ -24,6 +24,7 @@ const StyledFooter = styled.div` `; export const Footer = () => { + const currentYear = new Date().getFullYear(); return (
@@ -36,7 +37,7 @@ export const Footer = () => {
Interview Questions And Answers Application
- Intocode, 2016-2022 + Intocode, {`2016-${currentYear}`}
diff --git a/src/features/profile/ProfileUser.jsx b/src/features/profile/ProfileUser.jsx index 4a19baf..a72984c 100644 --- a/src/features/profile/ProfileUser.jsx +++ b/src/features/profile/ProfileUser.jsx @@ -3,7 +3,9 @@ import styled from 'styled-components'; import dayjs from 'dayjs'; import { useSelector } from 'react-redux'; import { Paper } from 'components/layout/Paper'; +import { Typography } from 'antd'; import { theme } from 'app/theme'; +import { Link } from 'react-router-dom'; import { selectProfile } from './profileSlice'; const ProfileUser = () => { @@ -16,6 +18,7 @@ const ProfileUser = () => { border-radius: 50%; cursor: pointer; } + @media screen and (max-width: 576px) { & > img { margin: auto; @@ -28,25 +31,31 @@ const ProfileUser = () => { .pageUser { margin-left: 0px; } + .registration-date { color: ${theme.colors.gray.main}; font-size: 12px; } + .nameUser { font-size: 22px; } + .userName { font-size: 20px; font-weight: 400; margin-top: 20px; } + .userEmail { margin-top: 20px; font-size: 20px; } + .userData { margin: 20px 0 26px 20px; } + @media screen and (min-width: 576px) { .pageUser { margin-left: -20px; @@ -56,15 +65,20 @@ const ProfileUser = () => { return (
+
+ + Вернуться назад + +
-
+
Профиль @{profile.name}
-
+