diff --git a/app/analyzers/clarity.tsx b/app/analyzers/clarity.tsx new file mode 100644 index 00000000..b1cb5879 --- /dev/null +++ b/app/analyzers/clarity.tsx @@ -0,0 +1,15 @@ +import Script from 'next/script'; + +export const Clarity = () => { + return ( + + ); +}; diff --git a/app/analyzers/index.ts b/app/analyzers/index.ts new file mode 100644 index 00000000..5b96b769 --- /dev/null +++ b/app/analyzers/index.ts @@ -0,0 +1 @@ +export * from './clarity'; diff --git a/app/join/finish/page.tsx b/app/join/finish/page.tsx index 2f0a32d0..4e638076 100644 --- a/app/join/finish/page.tsx +++ b/app/join/finish/page.tsx @@ -14,8 +14,8 @@ export default function Page() { const router = useRouter(); const authInfo = useAtomValue(AuthInfoAtom); - const handleGoToMain = () => { - router.push('/'); + const handleStartClick = () => { + router.push('/on-boarding'); }; return ( @@ -41,7 +41,7 @@ export default function Page() { buttonType="primary" size="large" className={buttonStyles} - onClick={handleGoToMain} + onClick={handleStartClick} /> diff --git a/app/layout.tsx b/app/layout.tsx index 5a564d0a..601841ff 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -9,6 +9,7 @@ import MetaTagImage from '@/public/images/meta-tag.png'; import { css } from '@/styled-system/css'; import { pretendard } from '@/styles/font'; +import { Clarity } from './analyzers'; import ReactQueryProvider from './providers/ReactQueryProvider'; export const metadata: Metadata = { @@ -62,6 +63,9 @@ export default function RootLayout({ }>) { return ( +
++ {getHighlightedText( + stepsIntroduce[current].total, + stepsIntroduce[current].highlight, + )} +
+