Skip to content

Commit

Permalink
fix button
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubinquitous committed Mar 6, 2024
1 parent 72da805 commit 029309f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @ubinquitous @5ewon @jyh071116
2 changes: 1 addition & 1 deletion components/Button/Create/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Pen from "assets/pen.svg";

const DocsCreateButton = () => {
return (
<S.CreateButtonWrap>
<S.CreateButtonWrap href="/create">
<S.PenWrap src={Pen} alt="pen" />
<S.PenText>글쓰기</S.PenText>
</S.CreateButtonWrap>
Expand Down
3 changes: 2 additions & 1 deletion components/Button/Create/style.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import Image from "next/image";
import Link from "next/link";
import styled from "styled-components";

export const CreateButtonWrap = styled.button`
export const CreateButtonWrap = styled(Link)`
background-color: #274168;
color: #fff;
display: flex;
Expand Down

0 comments on commit 029309f

Please sign in to comment.