diff --git a/src/components/common/card/card.module.scss b/src/components/common/card/card.module.scss index 9bec660..67fb7b7 100644 --- a/src/components/common/card/card.module.scss +++ b/src/components/common/card/card.module.scss @@ -5,6 +5,7 @@ flex-direction: column; width: 100%; padding-bottom: tovw(2px, 'default', 2px); + cursor: pointer; &-blog { .content { diff --git a/src/components/common/card/index.tsx b/src/components/common/card/index.tsx index 7ddb107..04c3645 100644 --- a/src/components/common/card/index.tsx +++ b/src/components/common/card/index.tsx @@ -1,4 +1,5 @@ import clsx from 'clsx' +import NextLink from 'next/link' import { Calendar, Clock } from '~/components/icons/events' import Heading from '~/components/primitives/heading' @@ -18,40 +19,44 @@ interface CardProps { const Card = ({ className, data, isNews = false }: CardProps) => { return ( -
{data?.preview}
+ + {isNews ? 'READ ARTICLE' : 'LEARN MORE'} +{data?.preview}
- {isNews ? 'READ ARTICLE' : 'LEARN MORE'} -