Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SicDoRak
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2023_2_WebPromgramming_8
SicDoRak
Commits
d5972134
Commit
d5972134
authored
1 year ago
by
LEE
Browse files
Options
Downloads
Patches
Plain Diff
Add Search.js
parent
195b729c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/App.js
+2
-1
2 additions, 1 deletion
frontend/src/App.js
frontend/src/Search.js
+13
-0
13 additions, 0 deletions
frontend/src/Search.js
with
15 additions
and
1 deletion
frontend/src/App.js
+
2
−
1
View file @
d5972134
...
...
@@ -2,6 +2,7 @@ import "./App.css";
import
{
Routes
,
Route
}
from
'
react-router-dom
'
;
import
Header
from
"
./Header.js
"
;
import
Main
from
"
./Main.js
"
;
import
Search
from
"
./Search.js
"
;
import
GoogleLoginButton
from
"
./GoogleLoginButton.js
"
;
function
App
()
{
...
...
@@ -10,7 +11,7 @@ function App() {
<
Header
/>
<
Routes
>
<
Route
path
=
"
/
"
element
=
{
<
Main
/>
}
><
/Route
>
<
Route
path
=
"
/search
"
element
=
{
<
h1
>
검색
<
/h1
>}></
Route
>
<
Route
path
=
"
/search
"
element
=
{
<
Search
/
>
}
><
/Route
>
{
/* <Route path="/postwrite" element={<PostWrite/>}></Route> */
}
<
/Routes
>
<
GoogleLoginButton
/>
...
...
This diff is collapsed.
Click to expand it.
frontend/src/Search.js
0 → 100644
+
13
−
0
View file @
d5972134
function
Search
(
props
)
{
return
(
<
div
className
=
"
search
"
>
<
h1
>
검색페이지입니다
.
<
/h1
>
<
div
className
=
"
map
"
>
맵이
나타날
그림
<
/div
>
<
/div
>
);
}
export
default
Search
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment