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
Hide whitespace changes
Inline
Side-by-side
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
(
...
...
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
>
<
/
>
);
}
...
...
client/src/pages/ScheduleEditPage.js
View file @
0bb094af
import
ScheduleForm
from
"
../components/Form/ScheduleForm
.js
"
;
import
ScheduleForm
from
"
../components/Form/ScheduleForm
"
;
const
ScheduleEditPage
=
()
=>
{
return
(
...
...
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
(
...
...
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
/>
...
...
client/src/pages/StudyPlanEditPage.js
View file @
0bb094af
import
StudyPlanEditForm
from
"
../components/Form/StudyPlanEditForm
.js
"
import
StudyPlanEditForm
from
"
../components/Form/StudyPlanEditForm
"
const
StudyPlanEditPage
=
()
=>
{
return
(
...
...
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
(
...
...
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
();
...
...
client/src/pages/SubjectEditPage.js
View file @
0bb094af
import
SubjectForm
from
"
../components/Form/SubjectForm
.js
"
import
SubjectForm
from
"
../components/Form/SubjectForm
"
const
SubjectEditPage
=
()
=>
{
return
(
...
...
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
(
...
...
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