Skip to content

Commit 0019de3

Browse files
committed
feat: added button to go to blog posts from the latest news section
1 parent 9fb157b commit 0019de3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/(home)/latestNews.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {BlogPost} from "../../types/blogPost";
22
import classNames from "classnames";
33
import Container from "../common/uiLibrary/container";
44
import PageSectionTitle from "../common/uiLibrary/pageSectionTitle";
5-
import Button from "../common/uiLibrary/Button";
5+
import LinkButton from "../common/uiLibrary/linkButton";
66

77
interface PostPreviewCardProps {
88
post: BlogPost,
@@ -110,9 +110,7 @@ const LatestNews = (props: LatestNewsProps) => {
110110
</div>
111111
</div>
112112
<div className="flex justify-end px-20">
113-
<Button filled={false} >
114-
Read More
115-
</Button>
113+
<LinkButton filled={false} text="Read More" linkTo="/blog" />
116114
</div>
117115
</div>
118116
</Container>

0 commit comments

Comments
 (0)