diff --git a/public/src/components/footer.js b/public/src/components/footer.js index 85f2b53..b7ae57c 100644 --- a/public/src/components/footer.js +++ b/public/src/components/footer.js @@ -1,19 +1,13 @@ -import store from '../store.js'; - const Footer = () => ` `; -const StacksList = () => ` - -`; - -const StacksItem = ({ name, ver }) => ` -
  • ${name} ${ver}
  • -`; - export default Footer; diff --git a/public/src/components/header.js b/public/src/components/header.js index 61c33f2..c2e6af4 100644 --- a/public/src/components/header.js +++ b/public/src/components/header.js @@ -1,5 +1,3 @@ -import store from '../store.js'; - const Header = () => `
    @@ -8,23 +6,16 @@ const Header = () => `
    - ${ZumService()} + +
    `; -const ZumService = () => ` - -
    로그인
    -`; - -const ServiceItem = ({ link, content }) => ` -
  • - ${content} -
  • -`; - export default Header; diff --git a/public/src/components/home.js b/public/src/components/home.js index 8b70ef2..4e9afcb 100644 --- a/public/src/components/home.js +++ b/public/src/components/home.js @@ -5,7 +5,14 @@ const Home = () => `

    줌 허브 홈

    ${Life()} ${Food()} @@ -15,16 +22,6 @@ const Home = () => ` `; -const MenuList = () => ` - -`; - -const MenuItem = ({ title }) => ` - -`; - const Life = () => `

    #라이프

    diff --git a/public/src/store.js b/public/src/store.js index 50d6d95..c48bad9 100644 --- a/public/src/store.js +++ b/public/src/store.js @@ -1,26 +1,5 @@ const store = { state: { - serviceItems: [ - { link: '#', content: '뉴스' }, - { link: '#', content: 'TV' }, - { link: '#', content: '허브' }, - { link: '#', content: '쇼핑' }, - ], - menuItems: [ - { title: 'HOME' }, - { title: '라이프' }, - { title: '푸드' }, - { title: '여행' }, - { title: '컬쳐' }, - { title: '즐겨찾기' }, - ], - stacks: [ - { name: 'Vanilla JS', ver: '' }, - { name: 'Node.js', ver: 'v14.18.1' }, - { name: 'Express.js', ver: 'v4.17.1' }, - { name: 'Nodemon', ver: 'v2.0.13' }, - { name: 'HTML5, CSS3', ver: '' }, - ], life: [], food: [], trip: [],