-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 31.9 KB
/
.eslintcache
1
[{"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\index.js":"1","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\App.js":"2","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\store.js":"3","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\modules\\index.js":"4","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\modules\\main.js":"5","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\MainPage.js":"6","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\SecondPage\\SecondPage.js":"7","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\pages.js":"8","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\history.js":"9","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\actionCreators.js":"10","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Carousel\\Carousel.js":"11","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section1.js":"12","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section4.js":"13","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section2.js":"14","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section3.js":"15","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section5.js":"16","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section6.js":"17","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section7.js":"18","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section8.js":"19","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Footer\\Footer.js":"20","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Header\\Header.js":"21","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Card\\ClientReview.js":"22","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\modules\\user.js":"23","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\store_story.js":"24","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\main\\Main.stories.js":"25","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\main\\Section.stories.js":"26","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Button\\Button.js":"27","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\component\\Header.stories.js":"28","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\component\\Footer.stories.js":"29","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\component\\Carousel.stories.js":"30"},{"size":168,"mtime":1608695904372,"results":"31","hashOfConfig":"32"},{"size":638,"mtime":1608696157899,"results":"33","hashOfConfig":"32"},{"size":426,"mtime":1608648155953,"results":"34","hashOfConfig":"32"},{"size":157,"mtime":1609047858438,"results":"35","hashOfConfig":"32"},{"size":1320,"mtime":1609092634858,"results":"36","hashOfConfig":"32"},{"size":979,"mtime":1609043591056,"results":"37","hashOfConfig":"32"},{"size":172,"mtime":1609047618137,"results":"38","hashOfConfig":"32"},{"size":629,"mtime":1609043623112,"results":"39","hashOfConfig":"32"},{"size":117,"mtime":1608648064325,"results":"40","hashOfConfig":"32"},{"size":432,"mtime":1609047504074,"results":"41","hashOfConfig":"32"},{"size":1125,"mtime":1608984815017,"results":"42","hashOfConfig":"32"},{"size":2476,"mtime":1609090092030,"results":"43","hashOfConfig":"32"},{"size":1813,"mtime":1609057517297,"results":"44","hashOfConfig":"32"},{"size":2972,"mtime":1608984069760,"results":"45","hashOfConfig":"32"},{"size":1305,"mtime":1608906700576,"results":"46","hashOfConfig":"32"},{"size":1864,"mtime":1608980980264,"results":"47","hashOfConfig":"32"},{"size":2477,"mtime":1608979816146,"results":"48","hashOfConfig":"32"},{"size":1012,"mtime":1608904227443,"results":"49","hashOfConfig":"32"},{"size":1257,"mtime":1609001182347,"results":"50","hashOfConfig":"32"},{"size":1335,"mtime":1609057607990,"results":"51","hashOfConfig":"32"},{"size":4718,"mtime":1609077495388,"results":"52","hashOfConfig":"32"},{"size":562,"mtime":1608983843292,"results":"53","hashOfConfig":"32"},{"size":1037,"mtime":1609048421714,"results":"54","hashOfConfig":"32"},{"size":345,"mtime":1609071056895,"results":"55","hashOfConfig":"56"},{"size":209,"mtime":1609073098058,"results":"57","hashOfConfig":"56"},{"size":1517,"mtime":1609073091647,"results":"58","hashOfConfig":"56"},{"size":615,"mtime":1609075753675,"results":"59","hashOfConfig":"60"},{"size":210,"mtime":1609074294935,"results":"61","hashOfConfig":"56"},{"size":210,"mtime":1609074277385,"results":"62","hashOfConfig":"56"},{"size":537,"mtime":1609076327644,"results":"63","hashOfConfig":"56"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},"o91q1m",{"filePath":"67","messages":"68","errorCount":0,"warningCount":9,"fixableErrorCount":0,"fixableWarningCount":0,"source":"69","usedDeprecatedRules":"66"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"74","messages":"75","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"76","messages":"77","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"78","usedDeprecatedRules":"66"},{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"87","messages":"88","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"89","usedDeprecatedRules":"90"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"97","usedDeprecatedRules":"66"},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"100","messages":"101","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"102","usedDeprecatedRules":"66"},{"filePath":"103","messages":"104","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"105","messages":"106","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"107","usedDeprecatedRules":"66"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"112","messages":"113","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"114","usedDeprecatedRules":"66"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"rd0ydu",{"filePath":"121","messages":"122","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"123","messages":"124","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"q4txr",{"filePath":"127","messages":"128","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"129","messages":"130","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"131","messages":"132","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\index.js",[],["133","134"],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\App.js",["135","136","137","138","139","140","141","142","143"],"import React from 'react';\nimport {\n BrowserRouter,\n HashRouter,\n Router,\n Switch,\n Route,\n Link,\n} from 'react-router-dom';\nimport { Main, Second } from './components/pages/pages';\nimport History from './history';\nimport { Provider } from 'react-redux';\nimport store from './redux/store';\nimport Pages from './components/pages/pages';\n\n//BrouserRouter 가 아닌, 일반 Router을 생성해서 history를 연동해주는 이유는\n//리덕스 내부에서, history.push와 같은 함수를 가능하게 해준다.\n\nfunction App() {\n return (\n <Provider store={store}>\n <Pages />\n </Provider>\n );\n}\nexport default App;\n","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\store.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\modules\\index.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\modules\\main.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\MainPage.js",["144","145","146","147"],"import React, { useEffect, useState } from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport { MainActions } from '../../../redux/actionCreators';\r\nimport Header from '../../common/Header/Header';\r\nimport Footer from '../../common/Footer/Footer';\r\nimport Section1 from './sections/Section1';\r\nimport Section2 from './sections/Section2';\r\nimport Section3 from './sections/Section3';\r\nimport Section4 from './sections/Section4';\r\nimport Section5 from './sections/Section5';\r\nimport Section6 from './sections/Section6';\r\nimport Section7 from './sections/Section7';\r\nimport Section8 from './sections/Section8';\r\n\r\nfunction MainPage(props) {\r\n return (\r\n <>\r\n <Header />\r\n <div className=\"main_container\">\r\n <Section1 />\r\n <Section2 />\r\n <Section3 />\r\n <Section4 />\r\n <Section5 />\r\n <Section6 />\r\n <Section7 />\r\n <Section8 />\r\n </div>\r\n <Footer />\r\n </>\r\n );\r\n}\r\n\r\nexport default MainPage;\r\n","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\SecondPage\\SecondPage.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\pages.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\history.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\actionCreators.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Carousel\\Carousel.js",["148"],"import React, { useEffect, useState } from 'react';\r\nimport Slider from 'react-slick';\r\nimport './Carousel.scss';\r\n\r\nfunction Carousel(props) {\r\n let { setting } = props;\r\n\r\n //화면 크기에 따라서 setting 변경.\r\n const [settings, setSettings] = useState(\r\n window.innerWidth > 768\r\n ? setting\r\n : {\r\n infinite: true,\r\n speed: 1000,\r\n slidesToShow: 1,\r\n slidesToScroll: 1,\r\n autoplay: true,\r\n centerMode: true,\r\n },\r\n );\r\n\r\n const onResize = () => {\r\n if (window.innerWidth < 768) {\r\n setSettings({\r\n infinite: true,\r\n speed: 1000,\r\n slidesToShow: 1,\r\n slidesToScroll: 1,\r\n autoplay: true,\r\n centerMode: true,\r\n });\r\n } else {\r\n setSettings(setting);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n window.addEventListener('resize', onResize);\r\n\r\n return () => window.removeEventListener('resize', onResize);\r\n }, []);\r\n\r\n return (\r\n <div className=\"carousel_wrapper\">\r\n <Slider {...settings}>{props.children}</Slider>\r\n </div>\r\n );\r\n}\r\n\r\nexport default Carousel;\r\n",["149","150"],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section1.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section4.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section2.js",["151"],"import React from 'react';\r\nimport Carousel from '../../../common/Carousel/Carousel';\r\nimport Slider from 'react-slick';\r\nimport ClientReviewCard from '../../../common/Card/ClientReview';\r\n\r\nfunction Section2() {\r\n const settings = {\r\n infinite: true, //무한 스크롤\r\n speed: 1000, //넘어가는 시간.\r\n slidesToShow: 4, // 한번에 보여지는 슬라이드 수\r\n slidesToScroll: 4, //스크롤시 한번에 넘어가는 슬라이드 수\r\n autoplay: true, // 자동 넘어감.\r\n pauseOnHover: true,\r\n centerMode: true,\r\n };\r\n return (\r\n <section className=\"main_section2\">\r\n <div className=\"container\">\r\n {/* 상단 텍스트 부분 */}\r\n <div className=\"text_wrapper\">\r\n <h1 className=\"main_title\">\r\n We Are Loved By Users And Clients Worldwide\r\n </h1>\r\n <p className=\"main_desc\">\r\n Only those who risk going too far can possibly find out how far one\r\n can go.\r\n </p>\r\n </div>\r\n <Carousel setting={settings}>\r\n <ClientReviewCard\r\n item={{\r\n profile: 'statics/Image_ia.png',\r\n review:\r\n '“It’s not only about what you write but how you present it. Only those who risk going too far can possibly find out how far one can go.\"',\r\n name: 'Pin Jung-Eum',\r\n job: 'Product Designer',\r\n }}\r\n />\r\n <ClientReviewCard\r\n item={{\r\n profile: 'statics/Image_h.png',\r\n review:\r\n '“It’s not only about what you write but how you present it. Only those who risk going too far can possibly find out how far one can go.\"',\r\n name: 'Pin Jung-Eum',\r\n job: 'Product Designer',\r\n }}\r\n />\r\n <ClientReviewCard\r\n item={{\r\n profile: 'statics/Image_hu.png',\r\n review:\r\n '“It’s not only about what you write but how you present it. Only those who risk going too far can possibly find out how far one can go.\"“It’s not only about what you write but how you present it. Only those who risk going too far can possibly find out how far one can go.\"“It’s not only about what you write but how you present it. Only those who risk going too far can possibly find out how far one can go.\"',\r\n name: 'Pin Jung-Eum',\r\n job: 'Product Designer',\r\n }}\r\n />\r\n <ClientReviewCard\r\n item={{\r\n profile: 'statics/Image_hm.png',\r\n review:\r\n '“It’s not only about what you write but how you present it. Only those who risk going too far can possibly find out how far one can go.\"',\r\n name: 'Pin Jung-Eum',\r\n job: 'Product Designer',\r\n }}\r\n />\r\n </Carousel>\r\n </div>\r\n </section>\r\n );\r\n}\r\n\r\nexport default Section2;\r\n","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section3.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section5.js",["152"],"import React from 'react';\r\nimport Slider from 'react-slick';\r\nimport Carousel from '../../../common/Carousel/Carousel';\r\n\r\nfunction Section5() {\r\n const settings = {\r\n infinite: true, //무한 스크롤\r\n speed: 1000, //넘어가는 시간.\r\n slidesToShow: 3, // 한번에 보여지는 슬라이드 수\r\n slidesToScroll: 4, //스크롤시 한번에 넘어가는 슬라이드 수\r\n autoplay: true, // 자동 넘어감.\r\n pauseOnHover: true,\r\n centerMode: true,\r\n centerPadding: '10%',\r\n };\r\n return (\r\n <section className=\"main_section5\">\r\n <div className=\"container\">\r\n <h1>Teamwork Makes The Dream Work</h1>\r\n\r\n {/* <div className=\"team_wrapper\"> */}\r\n <Carousel setting={settings}>\r\n <div className=\"team_member_wrapper\">\r\n <img src=\"statics/Image_dk.png\" alt=\"images\" />\r\n <h6>Paulina Gayoso</h6>\r\n <p>Head Of Sales</p>\r\n </div>\r\n <div className=\"team_member_wrapper\">\r\n <img src=\"statics/Image_dd.png\" alt=\"images\" />\r\n <h6>Georges Embolo</h6>\r\n <p>Product Manager</p>\r\n </div>\r\n <div className=\"team_member_wrapper\">\r\n <img src=\"statics/Image_da.png\" alt=\"images\" />\r\n <h6>Justine Marshall</h6>\r\n <p>Senior Developer</p>\r\n </div>\r\n <div className=\"team_member_wrapper\">\r\n <img src=\"statics/Image_cz.png\" alt=\"images\" />\r\n <h6>Gabriel Soares</h6>\r\n <p>Product Manager</p>\r\n </div>\r\n <div className=\"team_member_wrapper\">\r\n <img src=\"statics/Image_cs.png\" alt=\"images\" />\r\n <h6>EEdward Lindgren</h6>\r\n <p>Marketing Manager</p>\r\n </div>\r\n </Carousel>\r\n {/* </div> */}\r\n </div>\r\n </section>\r\n );\r\n}\r\n\r\nexport default Section5;\r\n","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section6.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section7.js",["153"],"import React from 'react';\r\n\r\nfunction Section7() {\r\n return (\r\n <section className=\"main_section7\">\r\n <div className=\"container\">\r\n <div className=\"title_wrapper\">\r\n <h6>portfolio</h6>\r\n <h1>Creating Results</h1>\r\n </div>\r\n\r\n <div className=\"content_wrapper\">\r\n <div className=\"content_left\">\r\n <div className=\"image_wrapper\">\r\n <img src=\"statics/image_phone.png\"></img>\r\n <div className=\"background\"></div>\r\n </div>\r\n </div>\r\n <div className=\"content_right\">\r\n <div className=\"info_wrapper\">\r\n <h1>Building Brands With Purpose And Passion</h1>\r\n <p>\r\n Only those who risk going too far can possibly find out how far\r\n one can go.\r\n </p>\r\n <button>View Case Study</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n );\r\n}\r\n\r\nexport default Section7;\r\n","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\pages\\MainPage\\sections\\Section8.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Footer\\Footer.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Header\\Header.js",["154"],"import React, { useRef, useEffect, useState, useCallback } from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport './Header.scss';\r\nimport { UserActions } from '../../../redux/actionCreators';\r\nimport { useSelector } from 'react-redux';\r\n\r\nfunction Header() {\r\n const { y: currentY } = useScroll();\r\n const { isLogin } = useSelector((state) => state.user);\r\n\r\n return (\r\n <>\r\n <header className={currentY > 100 ? 'scrolled' : ''}>\r\n <nav className=\"navbar_wrapper\">\r\n <span className=\"logo\">\r\n <Link to=\"/\">Kraft8</Link>\r\n </span>\r\n\r\n <div className=\"navbar_left\">\r\n <span>\r\n <Link to=\"/\">Explore</Link>\r\n </span>\r\n <span>\r\n <Link to=\"/\">Work</Link>\r\n </span>\r\n <span>\r\n <Link to=\"/\">Services</Link>\r\n </span>\r\n <span>\r\n <Link to=\"/\">Contact</Link>\r\n </span>\r\n </div>\r\n\r\n <div className=\"navbar_right\">\r\n {isLogin ? (\r\n <button onClick={UserActions.logoutAction} className=\"orange_btn\">\r\n log out\r\n </button>\r\n ) : (\r\n <>\r\n <span>\r\n <Link to=\"/\" onClick={UserActions.loginAction}>\r\n Log In\r\n </Link>\r\n </span>\r\n <Link to=\"/2\">\r\n <button className=\"yellow_btn\">Sign Up</button>\r\n </Link>\r\n </>\r\n )}\r\n </div>\r\n <MobileMenu />\r\n </nav>\r\n </header>\r\n <button\r\n className={`scroll_top ${currentY < 100 ? 'hide' : ''}`}\r\n onClick={() => {\r\n window.scrollTo(0, 0);\r\n }}\r\n >\r\n TOP\r\n </button>\r\n </>\r\n );\r\n}\r\n\r\nconst MobileMenu = () => {\r\n const ref = useRef(null);\r\n const [active, setActive] = useState(false);\r\n const { isLogin } = useSelector((state) => state.user);\r\n\r\n useEffect(() => {\r\n document.addEventListener('mousedown', handleClickOutside);\r\n return () => {\r\n document.removeEventListener('mousedown', handleClickOutside);\r\n };\r\n });\r\n\r\n //모바일 메뉴가 활성화 되었을때, 외부 클릭 감지.\r\n const handleClickOutside = (event) => {\r\n if (ref.current && !ref.current.contains(event.target)) {\r\n activeOff();\r\n }\r\n };\r\n\r\n //모바일 메뉴 열기\r\n const activeOn = () => {\r\n setActive(true);\r\n };\r\n\r\n //모바일 메뉴 닫기\r\n const activeOff = () => {\r\n setActive(false);\r\n };\r\n\r\n return (\r\n <div className=\"mobile_menu\">\r\n <div id=\"navicon\" onClick={activeOn}>\r\n <i className=\"fa fa-bars\" style={{ fontSize: '2.5rem' }}></i>\r\n </div>\r\n <menu\r\n className={`mobile_menu_items ${active ? 'active' : ''}`}\r\n ref={active ? ref : null}\r\n >\r\n <div id=\"navicon_close\" onClick={activeOff}>\r\n <i className=\"fa fa-times\" style={{ fontSize: '2.5rem' }}></i>\r\n </div>\r\n <div className=\"item_container\" onClick={activeOff}>\r\n <Link to=\"/\">Home</Link>\r\n {isLogin ? (\r\n <Link to=\"/\" onClick={UserActions.logoutAction}>\r\n Log out\r\n </Link>\r\n ) : (\r\n <>\r\n {' '}\r\n <Link to=\"/\" onClick={UserActions.loginAction}>\r\n Log In\r\n </Link>\r\n <Link to=\"/\">Sign Up</Link>\r\n </>\r\n )}\r\n\r\n <Link to=\"/\">Explore</Link>\r\n <Link to=\"/\">Work</Link>\r\n <Link to=\"/\">Services</Link>\r\n <Link to=\"/\">Contact</Link>\r\n </div>\r\n </menu>\r\n </div>\r\n );\r\n};\r\n\r\n//스크롤 감지를 위한 훅\r\nconst useScroll = () => {\r\n const [state, setState] = useState({\r\n x: 0,\r\n y: 0,\r\n });\r\n\r\n //계속 함수가 변화해야 하는 상황에서, useCallback으로 묶어버린다면 업데이트가 되지 않는 상황 발생한다.\r\n // const onScroll = useCallback(() => {\r\n // const { pageYOffset } = window;\r\n // const deltaY = pageYOffset - state.y;\r\n // const hide = pageYOffset !== 0 && deltaY >= 0;\r\n\r\n // // console.log(window.scrollY);\r\n // // console.log(window.pageYOffset);\r\n // console.log(state.y);\r\n // // console.log(deltaY);\r\n // // console.log(hide);\r\n\r\n // setState({ x: window.scrollX, y: window.scrollY });\r\n // }, []);\r\n\r\n const onScroll = () => {\r\n setState({ x: window.scrollX, y: window.scrollY });\r\n };\r\n\r\n useEffect(() => {\r\n window.addEventListener('scroll', onScroll);\r\n\r\n return () => window.removeEventListener('scroll', onScroll);\r\n }, []);\r\n\r\n return state;\r\n};\r\n\r\nexport default Header;\r\n","C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Card\\ClientReview.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\modules\\user.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\redux\\store_story.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\main\\Main.stories.js",["155"],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\main\\Section.stories.js",["156"],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\components\\common\\Button\\Button.js",[],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\component\\Header.stories.js",["157"],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\component\\Footer.stories.js",["158"],"C:\\Users\\dlscj\\OneDrive\\바탕 화면\\프로젝트\\firma_kangincheol\\src\\stories\\component\\Carousel.stories.js",["159","160","161"],{"ruleId":"162","replacedBy":"163"},{"ruleId":"164","replacedBy":"165"},{"ruleId":"166","severity":1,"message":"167","line":3,"column":3,"nodeType":"168","messageId":"169","endLine":3,"endColumn":16},{"ruleId":"166","severity":1,"message":"170","line":4,"column":3,"nodeType":"168","messageId":"169","endLine":4,"endColumn":13},{"ruleId":"166","severity":1,"message":"171","line":5,"column":3,"nodeType":"168","messageId":"169","endLine":5,"endColumn":9},{"ruleId":"166","severity":1,"message":"172","line":6,"column":3,"nodeType":"168","messageId":"169","endLine":6,"endColumn":9},{"ruleId":"166","severity":1,"message":"173","line":7,"column":3,"nodeType":"168","messageId":"169","endLine":7,"endColumn":8},{"ruleId":"166","severity":1,"message":"174","line":8,"column":3,"nodeType":"168","messageId":"169","endLine":8,"endColumn":7},{"ruleId":"166","severity":1,"message":"175","line":10,"column":10,"nodeType":"168","messageId":"169","endLine":10,"endColumn":14},{"ruleId":"166","severity":1,"message":"176","line":10,"column":16,"nodeType":"168","messageId":"169","endLine":10,"endColumn":22},{"ruleId":"166","severity":1,"message":"177","line":11,"column":8,"nodeType":"168","messageId":"169","endLine":11,"endColumn":15},{"ruleId":"166","severity":1,"message":"178","line":1,"column":17,"nodeType":"168","messageId":"169","endLine":1,"endColumn":26},{"ruleId":"166","severity":1,"message":"179","line":1,"column":28,"nodeType":"168","messageId":"169","endLine":1,"endColumn":36},{"ruleId":"166","severity":1,"message":"174","line":2,"column":10,"nodeType":"168","messageId":"169","endLine":2,"endColumn":14},{"ruleId":"166","severity":1,"message":"180","line":3,"column":10,"nodeType":"168","messageId":"169","endLine":3,"endColumn":21},{"ruleId":"181","severity":1,"message":"182","line":41,"column":6,"nodeType":"183","endLine":41,"endColumn":8,"suggestions":"184"},{"ruleId":"162","replacedBy":"185"},{"ruleId":"164","replacedBy":"186"},{"ruleId":"166","severity":1,"message":"187","line":3,"column":8,"nodeType":"168","messageId":"169","endLine":3,"endColumn":14},{"ruleId":"166","severity":1,"message":"187","line":2,"column":8,"nodeType":"168","messageId":"169","endLine":2,"endColumn":14},{"ruleId":"188","severity":1,"message":"189","line":15,"column":15,"nodeType":"190","endLine":15,"endColumn":50},{"ruleId":"166","severity":1,"message":"191","line":1,"column":46,"nodeType":"168","messageId":"169","endLine":1,"endColumn":57},{"ruleId":"192","severity":1,"message":"193","line":5,"column":1,"nodeType":"194","endLine":8,"endColumn":3},{"ruleId":"192","severity":1,"message":"193","line":11,"column":1,"nodeType":"194","endLine":14,"endColumn":3},{"ruleId":"192","severity":1,"message":"193","line":5,"column":1,"nodeType":"194","endLine":8,"endColumn":3},{"ruleId":"192","severity":1,"message":"193","line":5,"column":1,"nodeType":"194","endLine":8,"endColumn":3},{"ruleId":"192","severity":1,"message":"193","line":5,"column":1,"nodeType":"194","endLine":8,"endColumn":3},{"ruleId":"188","severity":1,"message":"189","line":13,"column":7,"nodeType":"190","endLine":13,"endColumn":151},{"ruleId":"188","severity":1,"message":"189","line":14,"column":7,"nodeType":"190","endLine":14,"endColumn":108},"no-native-reassign",["195"],"no-negated-in-lhs",["196"],"no-unused-vars","'BrowserRouter' is defined but never used.","Identifier","unusedVar","'HashRouter' is defined but never used.","'Router' is defined but never used.","'Switch' is defined but never used.","'Route' is defined but never used.","'Link' is defined but never used.","'Main' is defined but never used.","'Second' is defined but never used.","'History' is defined but never used.","'useEffect' is defined but never used.","'useState' is defined but never used.","'MainActions' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'onResize'. Either include it or remove the dependency array.","ArrayExpression",["197"],["195"],["196"],"'Slider' is defined but never used.","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","'useCallback' is defined but never used.","import/no-anonymous-default-export","Assign object to a variable before exporting as module default","ExportDefaultDeclaration","no-global-assign","no-unsafe-negation",{"desc":"198","fix":"199"},"Update the dependencies array to be: [onResize]",{"range":"200","text":"201"},[941,943],"[onResize]"]