-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] 웹 사이트에서 북마크 생성하는 컴포넌트 및 로직 제거. 익스텐션 이동하는 방식으로 변경 (#931)
* feat: 사용하지 않는 OG Data 호출 함수 삭제 * feat: 북마크 생성 버튼 익스텐션 링크 이동으로 기능 변경
- Loading branch information
Showing
8 changed files
with
36 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
frontend/techpick/src/components/ChromeExtensionLinkButton/ChromeExtensionLinkButton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { PlusIcon } from 'lucide-react'; | ||
import { chromeExtensionLinkButtonStyle } from './chromeExtensionLinkButton.css'; | ||
|
||
export function ChromeExtensionLinkButton() { | ||
return ( | ||
<a | ||
href="https://chromewebstore.google.com/detail/%EB%B0%94%EA%B5%AC%EB%8B%88-%EC%9D%B5%EC%8A%A4%ED%85%90%EC%85%98/gfkkgllophliamkdclhekgfiohnbdddl" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<button className={chromeExtensionLinkButtonStyle}> | ||
<PlusIcon size={12} /> | ||
<span>북마크 추가하기</span> | ||
</button> | ||
</a> | ||
); | ||
} |
17 changes: 17 additions & 0 deletions
17
frontend/techpick/src/components/ChromeExtensionLinkButton/chromeExtensionLinkButton.css.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { style } from '@vanilla-extract/css'; | ||
import { orangeOutlineButtonStyle } from '@/styles/orangeButtonStyle.css'; | ||
|
||
export const chromeExtensionLinkButtonStyle = style([ | ||
orangeOutlineButtonStyle, | ||
{ | ||
display: 'flex', | ||
flexShrink: 0, | ||
gap: '4px', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
width: '112px', | ||
height: '24px', | ||
fontSize: '12px', | ||
cursor: 'pointer', | ||
}, | ||
]); |
91 changes: 0 additions & 91 deletions
91
frontend/techpick/src/components/CreatePickPopover/CreatePickPopoverButton.tsx
This file was deleted.
Oops, something went wrong.
66 changes: 0 additions & 66 deletions
66
frontend/techpick/src/components/CreatePickPopover/createPickPopoverButton.css.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters