-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # i18n.server.js # locales/en/chat.json # src/pages/home/HomeMenu/FilterGenre/FilterGenre.tsx # src/pages/home/HomeMenu/FilterType/FilterType.tsx # src/pages/search/Search.tsx
- Loading branch information
Showing
69 changed files
with
910 additions
and
708 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,42 @@ | ||
{ | ||
"SignIn": "Sign In" | ||
"titleOne": "Become a part of ", | ||
"titleTwo": "ShareBook. ", | ||
"titleThree": "Give. Exchange. ", | ||
"titleFour": "Read.", | ||
"titleSignIn": "Sign in with Email", | ||
"titleSignUp": "Sign up with Email", | ||
"titleGoToEmail": "Follow the link from the email we sent to", | ||
"titleGoToEmailResetPassword": "To reset your password, follow the link from the email we sent to", | ||
"titleForgotPassword": "Password Reset", | ||
|
||
"email": "Email", | ||
"password": "Password", | ||
"newPassword": "Enter your new password", | ||
"confirmPassword": "Confirm your password", | ||
"name": "Name", | ||
"city": "City (optionally)", | ||
|
||
"buttonSignIn": "Sign In", | ||
"buttonSignUp": "Sign Up", | ||
"buttonNext": "Next", | ||
"buttonRepeatLetter": "Send Again", | ||
"buttonResetPassword": "Reset password", | ||
|
||
"textSingIn": "Already have an account? ", | ||
"textSignUp": "Don't have an account yet? ", | ||
|
||
"linkSingIn": "Sign Up", | ||
"linkSignUp": "Sign In", | ||
|
||
"legalText": "By signing up, you agree to the", | ||
"legalTextLink": "privacy policy and data processing terms", | ||
"textForgotPassword": "Forgot your password?", | ||
"textCheckbox": "I don't want to specify the city", | ||
|
||
"messageEmailEmpty": "Please input your email", | ||
"messageNameEmpty": "Please input your name", | ||
"messagePasswordEmpty": "Please input your password", | ||
"messagePasswordLength": "Minimum 8 characters", | ||
"messagePasswordDontMatch": "The passwords don't match", | ||
"messageEmailIncorrect": "Incorrect e-mail" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,43 @@ | ||
{ | ||
"SignIn": "Вход" | ||
"titleOne": "Станьте частью ", | ||
"titleTwo": "ShareBook. ", | ||
"titleThree": "Отдавайте. Меняйтесь. ", | ||
"titleFour": "Читайте.", | ||
|
||
"titleSignIn": "Вход через почту", | ||
"titleSignUp": "Регистрация через почту", | ||
"titleGoToEmail": "Перейдите по ссылке из письма, которое мы отправили на", | ||
"titleGoToEmailResetPassword": "Для сброса пароля перейдите по ссылке из письма, которое мы отправили на", | ||
"titleForgotPassword": "Сброс пароля", | ||
|
||
"email": "Почта", | ||
"password": "Пароль", | ||
"newPassword": "Введите новый пароль", | ||
"confirmPassword": "Повторите пароль", | ||
"name": "Имя", | ||
"city": "Город (необязательно)", | ||
|
||
"buttonSignIn": "Войти", | ||
"buttonSignUp": "Зарегестрироваться", | ||
"buttonNext": "Далее", | ||
"buttonRepeatLetter": "Отправить еще раз", | ||
"buttonResetPassword": "Сбросить пароль", | ||
|
||
"textSingIn": "Уже есть аккаунт? ", | ||
"textSignUp": "Ещё нет аккаунта? ", | ||
|
||
"linkSingIn": "Регистрация", | ||
"linkSignUp": "Войти", | ||
|
||
"legalText": "Регистрируясь, вы соглашаетесь с ", | ||
"legalTextLink": "политикой конфиденциальности и обработки данных", | ||
"textForgotPassword": "Забыли пароль?", | ||
"textCheckbox": "Не хочу указывать город", | ||
|
||
"messageEmailEmpty": "Пожалуйста, введите свой e-mail", | ||
"messageNameEmpty": "Пожалуйста, введите своё имя", | ||
"messagePasswordEmpty": "Пожалуйста, введите свой пароль", | ||
"messagePasswordLength": "Минимум 8 символов", | ||
"messagePasswordDontMatch": "Пароли не совпадают", | ||
"messageEmailIncorrect": "Некорректный e-mail" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 5 additions & 6 deletions
11
...s/home/components/Filter/svg/SvgArrow.tsx → src/assets/svg/SvgArrow.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...mponents/BookCard/components/BookCard.tsx → ...components/BookList/BookCard/BookCard.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { BookCard } from "./BookCard"; |
11 changes: 4 additions & 7 deletions
11
...BookCard/components/BookCardComponent.tsx → src/components/BookList/BookList.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { BookList } from "./BookList.tsx"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import styles from "../header.module.scss"; | ||
import { Button } from "antd"; | ||
import { SvgAvatar } from "../svg/SvgAvatar.tsx"; | ||
import { useNavigate } from "react-router"; | ||
|
||
export function Avatar() { | ||
const navigate = useNavigate(); | ||
|
||
return ( | ||
<Button | ||
className={styles.avatar} | ||
type="primary" | ||
shape="circle" | ||
onClick={() => navigate("/auth/signIn")} | ||
> | ||
<SvgAvatar /> | ||
</Button> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { Avatar } from './Avatar'; |
10 changes: 5 additions & 5 deletions
10
src/components/Header/HeaderComponent.tsx → src/components/Header/Header.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import extraStyles from "./headerLite.module.scss"; | ||
import styles from "./header.module.scss"; | ||
import { Logo } from "./Logo"; | ||
import { SwitchLanguages } from "./SwitchLanguages"; | ||
|
||
export function HeaderLite() { | ||
return ( | ||
<header className={styles.header}> | ||
<div className={extraStyles.container}> | ||
<Logo /> | ||
<SwitchLanguages /> | ||
</div> | ||
</header> | ||
); | ||
} |
12 changes: 6 additions & 6 deletions
12
src/components/Header/components/Logo.tsx → src/components/Header/Logo/Logo.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { Link } from "react-router"; | ||
import { SvgLogo } from "../svg/SvgLogo.tsx"; | ||
import styles from "../header.module.scss"; | ||
import { SvgLogo } from "../svg/SvgLogo.tsx"; | ||
|
||
export function Logo() { | ||
return ( | ||
<Link to={"/"} className={styles.logo}> | ||
<SvgLogo /> | ||
</Link> | ||
); | ||
return ( | ||
<Link to={"/"} className={styles.logo}> | ||
<SvgLogo /> | ||
</Link> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { Logo } from "./Logo"; |
File renamed without changes.
Oops, something went wrong.