-
Notifications
You must be signed in to change notification settings - Fork 0
TDA 5 | Сreated First Version #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DanilWeda
wants to merge
24
commits into
master
Choose a base branch
from
TDA-5-create-first-components
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
32a533f
Feture: Deleted not needed files and strings
DanilWeda bcf4c41
Feature: Create Pages without styles and logic
DanilWeda 3d0bf51
WIP
DanilWeda 23925e4
Feature: styled togo screens with using styled component library
DanilWeda 0fa4d00
Feature: created UI folder
DanilWeda e2815d6
new lock
DanilWeda d64af4a
SETUP PROJECT | ts,store,lint,axios and other...
DanilWeda 8cd607c
update routing
DanilWeda 52fef2f
create custom typed hooks
DanilWeda f1ca818
create log/sign layout, clear old components
DanilWeda dff13e4
Firebase, create login & registration logic, not found page
DanilWeda 279637d
Add backBtn, created enum for paths, fix static text
DanilWeda 682ed77
Access token: added saving to local storage user data from login/signup
DanilWeda 9b2faf1
feature: Add Task Page
DanilWeda 4d1655b
font fix
DanilWeda 31747b4
Created async thunk actions for cooperation with firebase db, task co…
DanilWeda 12dd9a4
Fix relative paths
DanilWeda 2d63faf
Create Error Tost, Loader, UpdateDoc fb for action
DanilWeda 06c90e8
Move login/create user logic in action
DanilWeda d3c3bae
Add theme provider,theme context and change some styles
DanilWeda 2fc7b76
Split themes, create methods for Modals
DanilWeda d463d5a
Created modal component and popups for CRUD operations
DanilWeda 389a4b7
Added hide delete popup logic, fixed reload
DanilWeda 8cbcfb0
fix side effect in reducer
DanilWeda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or 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
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,38 +0,0 @@ | ||
| .App { | ||
| text-align: center; | ||
| } | ||
|
|
||
| .App-logo { | ||
| height: 40vmin; | ||
| pointer-events: none; | ||
| } | ||
|
|
||
| @media (prefers-reduced-motion: no-preference) { | ||
| .App-logo { | ||
| animation: App-logo-spin infinite 20s linear; | ||
| } | ||
| } | ||
|
|
||
| .App-header { | ||
| background-color: #282c34; | ||
| min-height: 100vh; | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| justify-content: center; | ||
| font-size: calc(10px + 2vmin); | ||
| color: white; | ||
| } | ||
|
|
||
| .App-link { | ||
| color: #61dafb; | ||
| } | ||
|
|
||
| @keyframes App-logo-spin { | ||
| from { | ||
| transform: rotate(0deg); | ||
| } | ||
| to { | ||
| transform: rotate(360deg); | ||
| } | ||
| } | ||
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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,22 @@ | ||
| import React, {useState} from 'react' | ||
| import styles from './LoginPage.module.css' | ||
| import { Route, Routes } from 'react-router-dom' | ||
| import MyButton from '../MyButton/MyButton' | ||
|
|
||
| const LoginPage = () => { | ||
|
|
||
| const [login, setLogin] = useState('Login') | ||
| const [password, setPassword] = useState('Password') | ||
|
DanilWeda marked this conversation as resolved.
Outdated
|
||
|
|
||
| return ( | ||
| <div className={styles.body}> | ||
| <div className={styles.img}></div> | ||
| <h1 className={styles.title}>Todo App</h1> | ||
| <input type='text' placeholder={login} /> | ||
| <input type='text' placeholder={password} /> | ||
| <MyButton link='/app'>Log in</MyButton> | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
| export default LoginPage | ||
Empty file.
This file contains hidden or 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 React from 'react' | ||
| import styles from './MyButton.module.css' | ||
| import { Route, Link } from 'react-router-dom' | ||
|
|
||
| function MyButton(props) { | ||
|
|
||
| console.log(props) | ||
| return ( | ||
| <div> | ||
| <Link to={`${props.link}`}>{props.children}</Link> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default MyButton |
Empty file.
This file contains hidden or 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,20 @@ | ||
| import React from 'react' | ||
| import styles from './NewPage.module.css' | ||
| import { Route, Routes } from 'react-router-dom' | ||
| import MyButton from '../MyButton/MyButton' | ||
| import LoginPage from '../LoginPage/LoginPage' | ||
|
|
||
| const NewPage = () => { | ||
|
|
||
|
|
||
|
DanilWeda marked this conversation as resolved.
Outdated
|
||
| return ( | ||
| <div className={styles.body}> | ||
| <div className={styles.img}></div> | ||
| <h1 className={styles.title}>Todo App</h1> | ||
| <MyButton link='/login'>Log in</MyButton> | ||
| <MyButton link='/singin'>Sing in</MyButton> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default NewPage | ||
Empty file.
This file contains hidden or 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,21 @@ | ||
| import React, { useState } from 'react'; | ||
| import styles from './SingPage.module.css'; | ||
| import { Route, Routes } from 'react-router-dom'; | ||
| import MyButton from '../MyButton/MyButton'; | ||
|
|
||
| const SingPage = () => { | ||
| const [login, setLogin] = useState('Login'); | ||
| const [password, setPassword] = useState('Password'); | ||
|
|
||
| return ( | ||
| <div className={styles.body}> | ||
| <div className={styles.img}></div> | ||
| <h1 className={styles.title}>Todo App</h1> | ||
| <input type='text' placeholder={login} /> | ||
| <input type='text' placeholder={password} /> | ||
| <MyButton link='/app'>Sing In</MyButton> | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
| export default SingPage; |
Empty file.
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.