Skip to content

Commit

Permalink
refactor(land): replace <a> tag with Next.js <Link> components
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeong-Ag committed Nov 24, 2024
1 parent f6b8a3c commit aed5c79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions apps/land/src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { INFORMATION_URL } from '@/constants';
import Image from 'next/image';
import Link from 'next/link';

export default function Footer() {
return (
Expand All @@ -11,14 +12,14 @@ export default function Footer() {
<p>© C-Lab. All rights reserved.</p>
</ul>
</div>
<a href={INFORMATION_URL.GITHUB} target="_blank">
<Link href={INFORMATION_URL.GITHUB} target="_blank">
<Image
src="/github-mark-white.svg"
width={40}
height={40}
alt="C-Lab"
/>
</a>
</Link>
</footer>
);
}
5 changes: 2 additions & 3 deletions apps/land/src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@ export default function Nav() {
>
문의
</Link>
<a
<Link
className="bg-clab-yellow border-clab-yellow text-clab-yellow rounded-full border bg-opacity-30 px-4 py-2 text-sm hover:bg-opacity-0"
href={INFORMATION_URL.MEMBERS}
target="_blank"
rel="noopener noreferrer"
>
VISIT MEMBERS
</a>
</Link>
</div>
<MenuOutline
width={20}
Expand Down

0 comments on commit aed5c79

Please sign in to comment.