Skip to content

Commit

Permalink
fix: 누락된 alt 태그 추가 및 title 순서 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
redundant4u committed May 12, 2023
1 parent 28cddef commit a178615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Code/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Code = ({ code, language }) => {
<div className="relative">
<div className="absolute mt-6 right-6 flex space-x-4">
{isClick && <span className="text-sm text-slate-500">복사 완료</span>}
<img className="mt-0" width={24} src="/icons/copy.png" onClick={onClick} />
<img className="mt-0" width={24} src="/icons/copy.png" alt="copy" onClick={onClick} />
</div>
<SyntaxHighlighter
style={isDarkMode ? atomOneDarkReasonable : undefined}
Expand Down
2 changes: 1 addition & 1 deletion pages/post/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type PropTypes = {
const Post = ({ postId, post }: PropTypes) => {
const { Title: title } = post;

const titleConent = `설명탕 | ${title}`;
const titleConent = `${title} | 설명탕`;
const urlContent = `https://redundant4u.com/post/${postId}`;

return (
Expand Down

0 comments on commit a178615

Please sign in to comment.