diff --git a/src/components/Hits.js b/src/components/Hits.js new file mode 100644 index 0000000..b1379d3 --- /dev/null +++ b/src/components/Hits.js @@ -0,0 +1,17 @@ +class Hits { + constructor({ $target }) { + this.$target = $target; + + this.render(); + } + + render() { + this.$target.innerHTML = /* html */ ` +
+ +
+ `; + } +} + +export default Hits; diff --git a/src/components/Nav.js b/src/components/Nav.js index 7f5c973..eee50c6 100644 --- a/src/components/Nav.js +++ b/src/components/Nav.js @@ -1,5 +1,6 @@ import { SHOW_ROUTE } from '../common/constants/route.js'; import BurgerNavPopup from './BurggerNavPopup.js'; + import Modal from './Modal.js'; class Nav { @@ -29,7 +30,7 @@ class Nav { render = () => { this.$wrapper.innerHTML = ` -

Sanghun(Cloud) Lee

+

Sanghun Lee