Skip to content
GitLab
Menu
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
Nov 04, 2021
by
Kim, Subin
Browse files
impoer .js 삭제
parent
9ad05544
Changes
31
Show whitespace changes
Inline
Side-by-side
client/src/pages/HomePage.js
View file @
0bb094af
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
Monthly
from
"
../components/Calendar/Monthly
.js
"
;
import
Monthly
from
"
../components/Calendar/Monthly
"
;
import
Footer
from
"
../components/Footer
.js
"
;
import
Footer
from
"
../components/Footer
"
;
const
HomePage
=
()
=>
{
const
HomePage
=
()
=>
{
return
(
return
(
...
...
client/src/pages/LoginPage.js
View file @
0bb094af
import
{
Link
}
from
'
react-router-dom
'
;
import
LoginForm
from
'
../components/Form/LoginForm
'
;
import
LoginForm
from
'
../components/Form/LoginForm
'
;
import
{
useAuth
}
from
"
../utils/context
"
;
function
LoginPage
()
{
function
LoginPage
()
{
const
{
user
}
=
useAuth
()
console
.
log
(
"
LoginPage
"
,
user
)
return
(
return
(
<>
<>
<
div
className
=
"
py-5
"
>
<
div
className
=
"
py-5
"
>
...
@@ -12,7 +8,6 @@ function LoginPage() {
...
@@ -12,7 +8,6 @@ function LoginPage() {
<
p
className
=
"
ms-4
"
>-
일정관리앱
<
/p
>
<
p
className
=
"
ms-4
"
>-
일정관리앱
<
/p
>
<
/div
>
<
/div
>
<
LoginForm
/>
<
LoginForm
/>
<
Link
to
=
"
/home
"
>
asda
<
/Link
>
<
/
>
<
/
>
);
);
}
}
...
...
client/src/pages/ScheduleEditPage.js
View file @
0bb094af
import
ScheduleForm
from
"
../components/Form/ScheduleForm
.js
"
;
import
ScheduleForm
from
"
../components/Form/ScheduleForm
"
;
const
ScheduleEditPage
=
()
=>
{
const
ScheduleEditPage
=
()
=>
{
return
(
return
(
...
...
client/src/pages/SchedulePage.js
View file @
0bb094af
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
.js
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
"
;
import
DateView
from
"
../components/Calendar/DateView
.js
"
;
import
DateView
from
"
../components/Calendar/DateView
"
;
import
Footer
from
"
../components/Footer
.js
"
;
import
Footer
from
"
../components/Footer
"
;
const
SchedulePage
=
()
=>
{
const
SchedulePage
=
()
=>
{
return
(
return
(
...
...
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
SignupForm
from
'
../components/Form/SignupForm
'
;
import
{
useAuth
}
from
"
../utils/context
"
;
function
SingupPage
()
{
function
SingupPage
()
{
const
{
user
}
=
useAuth
()
console
.
log
(
"
Signup user
"
,
user
)
return
(
return
(
<>
<>
<
BackBtn
/>
<
BackBtn
/>
...
...
client/src/pages/StudyPlanEditPage.js
View file @
0bb094af
import
StudyPlanEditForm
from
"
../components/Form/StudyPlanEditForm
.js
"
import
StudyPlanEditForm
from
"
../components/Form/StudyPlanEditForm
"
const
StudyPlanEditPage
=
()
=>
{
const
StudyPlanEditPage
=
()
=>
{
return
(
return
(
...
...
client/src/pages/StudyPlanListPage.js
View file @
0bb094af
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
.js
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
"
;
import
StudyPlanList
from
"
../components/StudyPlanList
.js
"
;
import
StudyPlanList
from
"
../components/StudyPlanList
"
;
const
StudyPlanListPage
=
()
=>
{
const
StudyPlanListPage
=
()
=>
{
return
(
return
(
...
...
client/src/pages/StudyPlanPage.js
View file @
0bb094af
import
{
useParams
}
from
"
react-router-dom
"
;
import
{
useParams
}
from
"
react-router-dom
"
;
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
BackBtn
from
"
../components/Buttons/BackBtn
.js
"
;
import
BackBtn
from
"
../components/Buttons/BackBtn
"
;
import
Footer
from
"
../components/Footer
.js
"
;
import
Footer
from
"
../components/Footer
"
;
import
AddplanList
from
"
../components/StudyPlan/AddplanList
.js
"
;
import
AddplanList
from
"
../components/StudyPlan/AddplanList
"
;
const
StudyPlanPage
=
()
=>
{
const
StudyPlanPage
=
()
=>
{
const
{
subjectId
}
=
useParams
();
const
{
subjectId
}
=
useParams
();
...
...
client/src/pages/SubjectEditPage.js
View file @
0bb094af
import
SubjectForm
from
"
../components/Form/SubjectForm
.js
"
import
SubjectForm
from
"
../components/Form/SubjectForm
"
const
SubjectEditPage
=
()
=>
{
const
SubjectEditPage
=
()
=>
{
return
(
return
(
...
...
client/src/pages/ToDoPage.js
View file @
0bb094af
import
Menu
from
"
../components/Menu/Menu
.js
"
;
import
Menu
from
"
../components/Menu/Menu
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
.js
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn
"
;
import
Weekly
from
"
../components/Calendar/Weekly
.js
"
;
import
Weekly
from
"
../components/Calendar/Weekly
"
;
import
TodoList
from
"
../components/TodoList
.js
"
;
import
TodoList
from
"
../components/TodoList
"
;
import
Footer
from
"
../components/Footer
.js
"
;
import
Footer
from
"
../components/Footer
"
;
const
ToDoPage
=
()
=>
{
const
ToDoPage
=
()
=>
{
return
(
return
(
...
...
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
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