Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
0bb094af
Commit
0bb094af
authored
3 years ago
by
Kim, Subin
Browse files
Options
Download
Email Patches
Plain Diff
impoer .js 삭제
parent
9ad05544
master
master-up
rkyoung7
No related merge requests found
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
client/src/pages/HomePage.js
+3
-3
client/src/pages/HomePage.js
client/src/pages/LoginPage.js
+0
-5
client/src/pages/LoginPage.js
client/src/pages/ScheduleEditPage.js
+1
-1
client/src/pages/ScheduleEditPage.js
client/src/pages/SchedulePage.js
+4
-4
client/src/pages/SchedulePage.js
client/src/pages/SignupPage.js
+1
-4
client/src/pages/SignupPage.js
client/src/pages/StudyPlanEditPage.js
+1
-1
client/src/pages/StudyPlanEditPage.js
client/src/pages/StudyPlanListPage.js
+3
-3
client/src/pages/StudyPlanListPage.js
client/src/pages/StudyPlanPage.js
+4
-4
client/src/pages/StudyPlanPage.js
client/src/pages/SubjectEditPage.js
+1
-1
client/src/pages/SubjectEditPage.js
client/src/pages/ToDoPage.js
+5
-5
client/src/pages/ToDoPage.js
client/src/utils/auth.js
+0
-9
client/src/utils/auth.js
with
23 additions
and
40 deletions
+23
-40
client/src/pages/HomePage.js
View file @
0bb094af
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
Monthly
from
"
../components/Calendar/Monthly
.js
"
;
import
Footer
from
"
../components/Footer
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
Monthly
from
"
../components/Calendar/Monthly
"
;
import
Footer
from
"
../components/Footer
"
;
const
HomePage
=
()
=>
{
return
(
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/LoginPage.js
View file @
0bb094af
import
{
Link
}
from
'
react-router-dom
'
;
import
LoginForm
from
'
../components/Form/LoginForm
'
;
import
{
useAuth
}
from
"
../utils/context
"
;
function
LoginPage
()
{
const
{
user
}
=
useAuth
()
console
.
log
(
"
LoginPage
"
,
user
)
return
(
<>
<
div
className
=
"
py-5
"
>
...
...
@@ -12,7 +8,6 @@ function LoginPage() {
<
p
className
=
"
ms-4
"
>-
일정관리앱
<
/p
>
<
/div
>
<
LoginForm
/>
<
Link
to
=
"
/home
"
>
asda
<
/Link
>
<
/
>
);
}
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/ScheduleEditPage.js
View file @
0bb094af
import
ScheduleForm
from
"
../components/Form/ScheduleForm
.js
"
;
import
ScheduleForm
from
"
../components/Form/ScheduleForm
"
;
const
ScheduleEditPage
=
()
=>
{
return
(
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/SchedulePage.js
View file @
0bb094af
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
.js
"
;
import
DateView
from
"
../components/Calendar/DateView
.js
"
;
import
Footer
from
"
../components/Footer
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
"
;
import
DateView
from
"
../components/Calendar/DateView
"
;
import
Footer
from
"
../components/Footer
"
;
const
SchedulePage
=
()
=>
{
return
(
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/SignupPage.js
View file @
0bb094af
import
BackBtn
from
"
../components/Buttons/BackBtn
.js
"
;
import
BackBtn
from
"
../components/Buttons/BackBtn
"
;
import
SignupForm
from
'
../components/Form/SignupForm
'
;
import
{
useAuth
}
from
"
../utils/context
"
;
function
SingupPage
()
{
const
{
user
}
=
useAuth
()
console
.
log
(
"
Signup user
"
,
user
)
return
(
<>
<
BackBtn
/>
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/StudyPlanEditPage.js
View file @
0bb094af
import
StudyPlanEditForm
from
"
../components/Form/StudyPlanEditForm
.js
"
import
StudyPlanEditForm
from
"
../components/Form/StudyPlanEditForm
"
const
StudyPlanEditPage
=
()
=>
{
return
(
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/StudyPlanListPage.js
View file @
0bb094af
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
.js
"
;
import
StudyPlanList
from
"
../components/StudyPlanList
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
"
;
import
StudyPlanList
from
"
../components/StudyPlanList
"
;
const
StudyPlanListPage
=
()
=>
{
return
(
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/StudyPlanPage.js
View file @
0bb094af
import
{
useParams
}
from
"
react-router-dom
"
;
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
BackBtn
from
"
../components/Buttons/BackBtn
.js
"
;
import
Footer
from
"
../components/Footer
.js
"
;
import
AddplanList
from
"
../components/StudyPlan/AddplanList
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
BackBtn
from
"
../components/Buttons/BackBtn
"
;
import
Footer
from
"
../components/Footer
"
;
import
AddplanList
from
"
../components/StudyPlan/AddplanList
"
;
const
StudyPlanPage
=
()
=>
{
const
{
subjectId
}
=
useParams
();
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/SubjectEditPage.js
View file @
0bb094af
import
SubjectForm
from
"
../components/Form/SubjectForm
.js
"
import
SubjectForm
from
"
../components/Form/SubjectForm
"
const
SubjectEditPage
=
()
=>
{
return
(
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/ToDoPage.js
View file @
0bb094af
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
.js
"
;
import
Weekly
from
"
../components/Calendar/Weekly
.js
"
;
import
TodoList
from
"
../components/TodoList
.js
"
;
import
Footer
from
"
../components/Footer
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
"
;
import
Weekly
from
"
../components/Calendar/Weekly
"
;
import
TodoList
from
"
../components/TodoList
"
;
import
Footer
from
"
../components/Footer
"
;
const
ToDoPage
=
()
=>
{
return
(
...
...
This diff is collapsed.
Click to expand it.
client/src/utils/auth.js
deleted
100644 → 0
View file @
9ad05544
export
function
getLoggedIn
()
{
const
loggedData
=
localStorage
.
getItem
(
"
login
"
);
let
loggedIn
=
null
;
if
(
loggedData
)
{
// loggedIn = JSON.parse(loggedData);
loggedIn
=
loggedData
}
return
loggedIn
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help