芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/resources/js/Frontend/Pages/Blogs/BlogDetails.jsx
import { Head, Link } from "@inertiajs/react"; import Spacing from "@/Frontend/Components/Spacing"; import Div from "@/Frontend/Components/Div/index.jsx"; import moment from "moment"; import BlogLayout from "@/Frontend/Layouts/BlogLayout"; import limitString from "@/utils/limitString.js"; import removeHTMLTags from "@/utils/removeHTMLTags.js"; import gravatarUrl from "gravatar-url"; import BlogComment from "@/Frontend/Components/Post/PostComent"; export default function BlogDetails({ blog }) { // page header data let pageHeaderData = { title: blog.title, breadcrumb: [ { label: "Home", url: "/" }, { label: "Blog", url: route("blog.index") }, { label: blog.category_name, url: route("blog.index", { filter: { category: blog.category_name }, }), }, { label: blog.title, url: null }, ], }; return (
{blog.title}
{/* Start Details Post Content */}
{moment(blog.created_at).format("ll")}
{blog.category_name}
{blog.title}
{/* End Details Post Content */}
Written by
{blog.user.name}
{blog.user.about}
{/* Start Comment Section */}
{/* End Comment Section */}
); }