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
eue
Commits
98a89331
Commit
98a89331
authored
3 years ago
by
KangMin An
Browse files
Options
Download
Plain Diff
Merge branch 'who' into premaster
parents
3a341f06
ed505954
master
kangmin
premaster
who
yeni
yeni111
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
client/src/App.js
+4
-4
client/src/App.js
client/src/components/UserInfo.js
+1
-1
client/src/components/UserInfo.js
client/src/pages/EditPage.js
+2
-2
client/src/pages/EditPage.js
client/src/routes.js
+1
-1
client/src/routes.js
with
8 additions
and
8 deletions
+8
-8
client/src/App.js
View file @
98a89331
...
...
@@ -4,7 +4,7 @@ import './App.css';
import
Home
from
'
./pages/Home
'
;
import
SignupPage
from
'
./pages/SignupPage
'
;
import
LoginPage
from
'
./pages/LoginPage
'
;
import
LocalCode
Page
from
'
./pages/
LocalCode
Page
'
;
import
Edit
Page
from
'
./pages/
Edit
Page
'
;
import
PrivateRoute
from
'
./utils/PrivateRoutes
'
;
import
PageNotFound
from
'
./components/PageNotFound
'
;
import
Footer
from
'
./components/Footer
'
;
...
...
@@ -18,14 +18,14 @@ function App() {
<
Route
exact
path
=
'
/
'
component
=
{
Home
}
/
>
<
Route
path
=
'
/signup
'
component
=
{
SignupPage
}
/
>
<
Route
path
=
'
/login
'
component
=
{
LoginPage
}
/
>
<
Route
path
=
'
/loc
'
component
=
{
LocalCodePage
}
/
>
<
PrivateRoute
path
=
'
/
local_code
'
>
<
LocalCode
Page
/>
<
PrivateRoute
path
=
'
/
edit
'
>
<
Edit
Page
/>
<
/PrivateRoute
>
<
Route
component
=
{
PageNotFound
}
/
>
<
/Switch
>
<
Footer
/>
<
/Router
>
...
...
This diff is collapsed.
Click to expand it.
client/src/components/UserInfo.js
View file @
98a89331
...
...
@@ -78,7 +78,7 @@ function UserInfo() {
<
/Card.Subtitle
>
{
nickname
&&
<
Button
variant
=
'
light
'
className
=
'
m-auto d-flex
'
style
=
{
btnstyled2
}
>
<
Link
to
=
'
/
local_code
'
className
=
'
w-100
'
style
=
{{
textDecoration
:
'
none
'
,
color
:
'
rgb(110, 189, 142)
'
}}
>
<
Link
to
=
'
/
edit
'
className
=
'
w-100
'
style
=
{{
textDecoration
:
'
none
'
,
color
:
'
rgb(110, 189, 142)
'
}}
>
변경
<
/Link
>
<
/Button
>
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/
LocalCode
Page.js
→
client/src/pages/
Edit
Page.js
View file @
98a89331
...
...
@@ -5,7 +5,7 @@ import '../App.css'
import
LocCodeChange
from
'
../components/LocCodeChange
'
;
import
NicknameChange
from
'
../components/NicknameChange
'
;
function
Signup
Page
()
{
function
Edit
Page
()
{
const
constyled
=
{
display
:
'
flex
'
,
justifyContent
:
'
space-evenly
'
,
...
...
@@ -49,4 +49,4 @@ function SignupPage() {
);
}
export
default
SignupPage
;
\ No newline at end of file
export
default
EditPage
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
client/src/routes.js
View file @
98a89331
...
...
@@ -2,7 +2,7 @@ export const routes = {
home
:
'
/
'
,
signup
:
'
/signup
'
,
login
:
'
login
'
,
localcode
:
'
/local_code
'
,
edit
:
'
/edit
'
,
}
...
...
This diff is collapsed.
Click to expand it.
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