diff --git a/src/app/page.tsx b/src/app/page.tsx index 6a775f1..cc0777a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,6 +2,8 @@ import HomeHeader from "@/components/HomeHeader"; import HomeInput from "@/components/home/HomeInput"; import Link from "next/link"; import {cls} from '@/utils/util'; +import LoginBtn from '@/components/LoginBtn'; + export default function Home() { return ( @@ -27,9 +29,7 @@ export default function Home() { {/*
국문 / 영어
*/} {/**/} - - 로그인 - + diff --git a/src/components/LoginBtn.tsx b/src/components/LoginBtn.tsx new file mode 100644 index 0000000..958b294 --- /dev/null +++ b/src/components/LoginBtn.tsx @@ -0,0 +1,21 @@ +"use client"; + +import Link from 'next/link'; +import { sendGAEvent } from '@next/third-parties/google' + + + +export default function LoginBtn() { + const onClick = () => { + sendGAEvent({ + event: 'buttonClicked', + value: 'start-sugang', + }); + } + + return ( + + 로그인 + + ) +} \ No newline at end of file