page home responsive & change component element & page blog item
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
import Detail from "./detail";
|
||||
import Head from "./head";
|
||||
import RelatedContent from "./relatedContent";
|
||||
|
||||
function BlogPage({ article }) {
|
||||
|
||||
console.log(article);
|
||||
|
||||
function BlogPage({ article, articles }) {
|
||||
return (
|
||||
<div className="padding-responsive pt-[176px]">
|
||||
<Head data={article} />
|
||||
<div className="flex items-center justify-center gap-6">
|
||||
<div className="flex items-start justify-center gap-[24px] mt-[24px]">
|
||||
<Detail data={article} />
|
||||
<RelatedContent data={articles} />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user