Skip to content

Commit

Permalink
feat: LoginButton에 github logo 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed Aug 14, 2024
1 parent dfe10f8 commit a3bcb8a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/client/components/LoginButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";

import Image from "next/image";
import { useRouter } from "next/navigation";
import { color } from "wowds-tokens";
import Button from "wowds-ui/Button";
Expand All @@ -18,6 +19,7 @@ const LoginButton = () => {

return (
<Button
icon={githubLogoIcon}
style={{ backgroundColor: `${color.github}` }}
onClick={handleClickLogin}
>
Expand All @@ -27,3 +29,12 @@ const LoginButton = () => {
};

export default LoginButton;

const githubLogoIcon = (
<Image
alt="github-logo"
height={18}
src="/images/github-logo.svg"
width={18}
/>
);
3 changes: 3 additions & 0 deletions apps/client/public/images/github-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a3bcb8a

Please sign in to comment.