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
search-page
Commits
b3319022
Commit
b3319022
authored
Jan 24, 2021
by
Lee SeoYeon
Browse files
Merge remote-tracking branch 'origin/Sangjune' into lsy
parents
7f828863
d4483834
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
client/src/Pages/Search.js
View file @
b3319022
...
...
@@ -151,26 +151,9 @@ function Search(props) {
<
/Form
>
<
/Row
>
{
/* {time.toString()}**** */
}
{
time
.
toLocaleString
()}
****
{
time
.
toLocaleString
()}
{
/* {time.toLocaleDateString()}****
{time.toLocaleTimeString()}**** */
}
<
Col
md
=
{
6
}
>
<
Card
align
=
"
center
"
border
=
"
info
"
style
=
{{
margin
:
"
3%
"
}}
>
<
Card
.
Title
style
=
{{
margin
:
"
3%
"
,
fontSize
:
'
200%
'
,
fontWeight
:
'
bold
'
}}
>
{
place
[
0
].
name
}
<
/Card.Title
>
<
Card
.
Img
variant
=
"
top
"
style
=
{{
padding
:
"
5%
"
,
width
:
"
100%
"
,
height
:
"
340px
"
}}
src
=
{
imgUrl
}
/
>
<
Card
.
Body
>
<
Card
.
Text
style
=
{{
overflow
:
'
auto
'
,
fontSize
:
'
25px
'
,
width
:
'
100%
'
,
height
:
"
80px
"
}}
>
{
place
[
0
].
address
}{
place
[
0
].
category
}
<
/Card.Text
>
<
Button
variant
=
"
primary
"
onClick
=
{()
=>
{
// const showArr = [false, false, false, false]
// showArr[index] = true
// setShowSet(showArr)
}}
>
{
place
[
0
].
name
}
자세히
살펴보기
<
/Button
>
{
/* <Place search={place} show={show} onHide={() => setShowSet([false, false, false, false])} /> */
}
<
/Card.Body
>
<
/Card
>
<
/Col
>
<
Row
className
=
"
d-flex flex-wrap
"
>
{
pagePlace
.
map
((
place
,
index
)
=>
{
...
...
googleReview
View file @
b3319022
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