Skip to content

Commit

Permalink
Feat: header.js, footer.js 추가
Browse files Browse the repository at this point in the history
header,footer component 추가
purify.js.map 에러 해결(client폴더 pakage.json script->start -> set \"GENERATE_SOURCEMAP=false)
nhn/tui.editor#2137
  • Loading branch information
e1-mslee committed Jan 8, 2024
1 parent 4c42fbc commit 746b6b2
Show file tree
Hide file tree
Showing 4 changed files with 2,317 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"start": "set \"GENERATE_SOURCEMAP=false\" && react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand Down
11 changes: 11 additions & 0 deletions client/src/components/footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const MyHeader = () => {
return (
<div>
<footer id="footer">
<p class="copyright">&copy; enterprise1 BS Team</p>
</footer>
</div>
);
}

export default MyHeader;
16 changes: 16 additions & 0 deletions client/src/components/header.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const MyHeader = () => {
return (
<div>
<header id='header'>
<div id='logo'>
<img src={''} alt='logo'></img>
</div>
<div className='buttonGroup'>
<button className='button small'>글쓰기</button>
</div>
</header>
</div>
);
}

export default MyHeader;
Loading

0 comments on commit 746b6b2

Please sign in to comment.