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