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
butter-studio
Commits
8a149939
Commit
8a149939
authored
Jun 30, 2021
by
Kim, Subin
Browse files
MovieChart -> BoxOffice 로 변경
parent
17d6ae7c
Changes
5
Show whitespace changes
Inline
Side-by-side
client/src/components/
MovieChart/MovieChart
.js
→
client/src/components/
BoxOffice/BoxOffice
.js
View file @
8a149939
import
{
useEffect
}
from
"
react
"
import
{
useEffect
}
from
"
react
"
import
styles
from
"
./
movi
echart.module.scss
"
import
styles
from
"
./
boxoffic
echart.module.scss
"
const
MovieChart
=
()
=>
{
const
BoxOffice
=
()
=>
{
useEffect
(()
=>
{
useEffect
(()
=>
{
let
items
=
document
.
querySelectorAll
(
'
.carousel .carousel-item
'
)
let
items
=
document
.
querySelectorAll
(
'
.carousel .carousel-item
'
)
console
.
log
(
"
item
"
,
items
)
console
.
log
(
"
item
"
,
items
)
...
@@ -106,4 +106,4 @@ const MovieChart = () => {
...
@@ -106,4 +106,4 @@ const MovieChart = () => {
)
)
}
}
export
default
MovieChart
export
default
BoxOffice
\ No newline at end of file
\ No newline at end of file
client/src/components/
MovieChart/moviechart
.module.scss
→
client/src/components/
BoxOffice/boxoffice
.module.scss
View file @
8a149939
File moved
client/src/components/BoxOffice/index.js
0 → 100644
View file @
8a149939
export
{
default
}
from
'
./BoxOffice
'
\ No newline at end of file
client/src/components/MovieChart/index.js
deleted
100644 → 0
View file @
17d6ae7c
export
{
default
}
from
'
./MovieChart
'
\ No newline at end of file
client/src/pages/HomePage.js
View file @
8a149939
import
MainNav
from
"
../components/Navs/MainNav
"
;
import
MainNav
from
"
../components/Navs/MainNav
"
;
import
MovieChart
from
"
../components/
MovieChart
"
;
import
BoxOffice
from
"
../components/
BoxOffice
"
;
import
Collection
from
"
../components/Collection
"
;
import
Collection
from
"
../components/Collection
"
;
import
Footer
from
"
../components/Footer
"
;
import
Footer
from
"
../components/Footer
"
;
...
@@ -7,7 +7,7 @@ const HomePage = () => {
...
@@ -7,7 +7,7 @@ const HomePage = () => {
return
(
return
(
<
div
className
=
"
bg-dark
"
>
<
div
className
=
"
bg-dark
"
>
<
MainNav
/>
<
MainNav
/>
<
MovieChart
/>
<
BoxOffice
/>
<
Collection
/>
<
Collection
/>
<
Footer
/>
<
Footer
/>
<
/div
>
<
/div
>
...
...
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