Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/components/landing/CTASection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useGSAP } from '@gsap/react';
import gsap from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';
import { useWindowSize } from 'react-use';
import { InquiryDialog } from './InquiryDialog';
import Link from 'next/link';

gsap.registerPlugin(ScrollTrigger);

Expand Down Expand Up @@ -69,11 +69,12 @@ function CTASection({ className }: { className?: string }) {
3분 만에 사이트를 개설해보세요.
</p>
<div className="flex gap-3">
<InquiryDialog>
<button className="typo-button1 flex-1 rounded-md bg-[#00C8AA] px-400 py-300 text-white hover:bg-[#00877a]">
지금 무료로 시작하기
</button>
</InquiryDialog>
<Link
href="/login?intent=create"
className="typo-button1 flex-1 rounded-md bg-[#00C8AA] px-400 py-300 text-white hover:bg-[#00877a]"
>
지금 무료로 시작하기
</Link>
</div>
</div>
</section>
Expand Down
6 changes: 3 additions & 3 deletions src/components/landing/heroSection.shared.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import { InquiryDialog } from './InquiryDialog';
import Link from 'next/link';
import { Button } from '../ui';

interface HeroSectionProps {
Expand All @@ -19,11 +19,11 @@ const TEXT_STYLE = {
function HeroSectionCTA() {
return (
<div className="flex gap-3">
<InquiryDialog>
<Link href="/login?intent=create">
<Button className="block w-fit rounded-md bg-[#00C8AA] px-400 py-300 text-[16px] leading-[24px] font-semibold tracking-[-0.005em] text-white hover:bg-[#00877a]">
지금 무료로 시작하기
</Button>
</InquiryDialog>
</Link>
</div>
);
}
Expand Down
Loading