Skip to content

Commit

Permalink
Merge branch 'main' of github.com:WebmasterCamp/ywc19-hackathon-d
Browse files Browse the repository at this point in the history
  • Loading branch information
DrowningToast committed Jul 16, 2023
2 parents 7f26f11 + 1398585 commit fca0fe0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file added Problem (1).pdf
Binary file not shown.
Binary file added public/images/blog-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/constants/blogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const blogs: Blog[] = [
{
slug: '2',
title: 'รีวิวการรับบริการจากจากคุณเกด คุณแม่มือใหม่วัย 27 ปี',
imageURL: 'https://picsum.photos/1440/585',
imageURL: '/images/blog-2.jpg',
tags: ['ค่าใช้จ่าย', 'เลี้ยงดูบุตร'],
createdAt: new Date('2023-07-16'),
author: 'ปอนด์',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blogs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const BlogsListPage = () => {
{blogs.map((blog) => (
<Link href={`/blogs/${blog.slug}`} key={blog.slug}>
<Card className="w-96">
<img src={blog.imageURL} alt="blog image" className="h-[136px]" />
{/* <img src={blog.imageURL} alt="blog image" className="h-[136px]" /> */}
<div className="text-gray-900 text-2xl font-bold leading-[30px]">{blog.title}</div>
<Button>
Read more
Expand Down

0 comments on commit fca0fe0

Please sign in to comment.