Commit 1dd42fc7 authored by baesangjune's avatar baesangjune
Browse files

링크 색 변경

parent 2b2b96aa
[{"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Search.js":"1","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\index.js":"2","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\PrivateRoute.js":"3","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Place.js":"4","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\App.js":"5","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Bookmark.js":"6"},{"size":6738,"mtime":1612290129913,"results":"7","hashOfConfig":"8"},{"size":1345,"mtime":1612156521448,"results":"9","hashOfConfig":"8"},{"size":438,"mtime":1612133560394,"results":"10","hashOfConfig":"8"},{"size":3291,"mtime":1612290884779,"results":"11","hashOfConfig":"8"},{"size":5510,"mtime":1612292446873,"results":"12","hashOfConfig":"8"},{"size":5982,"mtime":1612290784227,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"13y9yvi",{"filePath":"16","messages":"17","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"18","messages":"19","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"20","messages":"21","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"24","messages":"25","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Search.js",["26"],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\index.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\PrivateRoute.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Place.js",["27","28","29","30"],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\App.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Bookmark.js",["31","32"],{"ruleId":null,"fatal":true,"severity":2,"message":"33","line":86,"column":2},{"ruleId":"34","severity":1,"message":"35","line":1,"column":10,"nodeType":"36","messageId":"37","endLine":1,"endColumn":15},{"ruleId":"34","severity":1,"message":"38","line":11,"column":10,"nodeType":"39","messageId":"37","endLine":11,"endColumn":15},{"ruleId":"40","severity":1,"message":"41","line":30,"column":6,"nodeType":"42","endLine":30,"endColumn":8,"suggestions":"43"},{"ruleId":"44","severity":1,"message":"45","line":89,"column":11,"nodeType":"46","endLine":89,"endColumn":44},{"ruleId":"34","severity":1,"message":"47","line":26,"column":19,"nodeType":"39","messageId":"37","endLine":26,"endColumn":30},{"ruleId":"40","severity":1,"message":"48","line":77,"column":8,"nodeType":"42","endLine":77,"endColumn":10,"suggestions":"49"},"Parsing error: Unexpected token\n\n 84 | const include = bookmark.findIndex(i => i.name === place.name) !== -1\n 85 | if (!include) {\n> 86 | <<<<<<< HEAD\n | ^\n 87 | =======\n 88 | console.log(pagePlace[index])\n 89 | >>>>>>> origin/cherry","no-unused-vars","'kakao' is defined but never used.","Program","unusedVar","'error' is assigned a value but never used.","Identifier","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'getReview'. Either include it or remove the dependency array.","ArrayExpression",["50"],"jsx-a11y/anchor-is-valid","The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement","'bookmarkArr' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'getBookmark'. Either include it or remove the dependency array.",["51"],{"desc":"52","fix":"53"},{"desc":"54","fix":"55"},"Update the dependencies array to be: [getReview]",{"range":"56","text":"57"},"Update the dependencies array to be: [getBookmark]",{"range":"58","text":"59"},[1055,1057],"[getReview]",[2593,2595],"[getBookmark]"] [{"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Search.js":"1","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\index.js":"2","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\PrivateRoute.js":"3","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Place.js":"4","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\App.js":"5","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Bookmark.js":"6","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Login.js":"7","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Signup.js":"8"},{"size":6738,"mtime":1612290129913,"results":"9","hashOfConfig":"10"},{"size":1345,"mtime":1612156521448,"results":"11","hashOfConfig":"10"},{"size":438,"mtime":1612133560394,"results":"12","hashOfConfig":"10"},{"size":3514,"mtime":1612314087002,"results":"13","hashOfConfig":"10"},{"size":5510,"mtime":1612292446873,"results":"14","hashOfConfig":"10"},{"size":5982,"mtime":1612290784227,"results":"15","hashOfConfig":"10"},{"size":3150,"mtime":1612140232971,"results":"16","hashOfConfig":"10"},{"size":2959,"mtime":1612275114296,"results":"17","hashOfConfig":"10"},{"filePath":"18","messages":"19","errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"13y9yvi",{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"23","messages":"24","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"25","messages":"26","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"29","messages":"30","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Search.js",["35"],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\index.js",[],["36","37"],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\PrivateRoute.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Place.js",["38","39","40","41"],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\App.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Bookmark.js",["42","43"],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Login.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Signup.js",[],{"ruleId":null,"fatal":true,"severity":2,"message":"44","line":86,"column":2},{"ruleId":"45","replacedBy":"46"},{"ruleId":"47","replacedBy":"48"},{"ruleId":"49","severity":1,"message":"50","line":1,"column":10,"nodeType":"51","messageId":"52","endLine":1,"endColumn":15},{"ruleId":"49","severity":1,"message":"53","line":11,"column":10,"nodeType":"54","messageId":"52","endLine":11,"endColumn":15},{"ruleId":"55","severity":1,"message":"56","line":30,"column":6,"nodeType":"57","endLine":30,"endColumn":8,"suggestions":"58"},{"ruleId":"59","severity":1,"message":"60","line":98,"column":11,"nodeType":"61","endLine":98,"endColumn":44},{"ruleId":"49","severity":1,"message":"62","line":26,"column":19,"nodeType":"54","messageId":"52","endLine":26,"endColumn":30},{"ruleId":"55","severity":1,"message":"63","line":77,"column":8,"nodeType":"57","endLine":77,"endColumn":10,"suggestions":"64"},"Parsing error: Unexpected token\n\n 84 | const include = bookmark.findIndex(i => i.name === place.name) !== -1\n 85 | if (!include) {\n> 86 | <<<<<<< HEAD\n | ^\n 87 | =======\n 88 | console.log(pagePlace[index])\n 89 | >>>>>>> origin/cherry","no-native-reassign",["65"],"no-negated-in-lhs",["66"],"no-unused-vars","'kakao' is defined but never used.","Program","unusedVar","'error' is assigned a value but never used.","Identifier","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'getReview'. Either include it or remove the dependency array.","ArrayExpression",["67"],"jsx-a11y/anchor-is-valid","The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement","'bookmarkArr' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'getBookmark'. Either include it or remove the dependency array.",["68"],"no-global-assign","no-unsafe-negation",{"desc":"69","fix":"70"},{"desc":"71","fix":"72"},"Update the dependencies array to be: [getReview]",{"range":"73","text":"74"},"Update the dependencies array to be: [getBookmark]",{"range":"75","text":"76"},[1055,1057],"[getReview]",[2593,2595],"[getBookmark]"]
\ No newline at end of file \ No newline at end of file
...@@ -31,6 +31,15 @@ function Place(props) { ...@@ -31,6 +31,15 @@ function Place(props) {
return ( return (
<>
<style type="text/css">
{`
.link{
color: #17a2b8;
}
`}
</style>
<Container> <Container>
<Link to="/"><Image style={{ margin: "1%" }} src={ohuh} /></Link> <Link to="/"><Image style={{ margin: "1%" }} src={ohuh} /></Link>
...@@ -62,7 +71,7 @@ function Place(props) { ...@@ -62,7 +71,7 @@ function Place(props) {
</Row> </Row>
<small class="d-block text-end mt-3"> <small class="d-block text-end mt-3">
<a href={`https://www.google.com/search?q=${name}&tbm=isch`}>사진 더보러가기</a> <a class="link" href={`https://www.google.com/search?q=${name}&tbm=isch`}>사진 더보러가기</a>
</small> </small>
</div> </div>
...@@ -74,7 +83,7 @@ function Place(props) { ...@@ -74,7 +83,7 @@ function Place(props) {
<div class="pb-3 mb-0 small lh-sm border-bottom w-100"> <div class="pb-3 mb-0 small lh-sm border-bottom w-100">
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<strong class="text-gray-dark">{review.title}</strong> <strong class="text-gray-dark">{review.title}</strong>
<a href={review.link}>블로그로 이동</a> <a class="link" href={review.link}>블로그로 이동</a>
</div> </div>
<span class="d-block">{review.summary}</span> <span class="d-block">{review.summary}</span>
</div> </div>
...@@ -90,6 +99,7 @@ function Place(props) { ...@@ -90,6 +99,7 @@ function Place(props) {
</small> </small>
</div> </div>
</Container> </Container>
</>
); );
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment