diff --git a/blogs/debugging-tales.mdx b/blogs/debugging-tales.mdx index 6eaafa2..97047fb 100644 --- a/blogs/debugging-tales.mdx +++ b/blogs/debugging-tales.mdx @@ -1,5 +1,8 @@ --- title: Debugging Tales +author: Ali Reza +headline: Front-End developer +img: https://www.alirezasamadi.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2FMy%20Image.0e022541.png&w=256&q=75 bio: Throughout the past two weeks, I've been learning MDX with Nextjs. published: 2023/03/01 banner: https://cdn.hashnode.com/res/hashnode/image/upload/v1677105369366/9cfd870b-146f-4867-b598-b55b173a6bac.png?w=1600&h=840&fit=crop&crop=entropy&auto=compress,format&format=webp diff --git a/blogs/how-do-i-make-a-website.mdx b/blogs/how-do-i-make-a-website.mdx index 776807d..aa26587 100644 --- a/blogs/how-do-i-make-a-website.mdx +++ b/blogs/how-do-i-make-a-website.mdx @@ -1,5 +1,8 @@ --- title: "How do I make a Website?" +author: Ali Reza +headline: Front-End developer +img: https://www.alirezasamadi.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2FMy%20Image.0e022541.png&w=256&q=75 bio: "Read this blog as if you are talking to yourself. These are all my thoughts and 2 years of experience." published: "2023/01/15" banner: "https://cdn.hashnode.com/res/hashnode/image/upload/v1673768148176/0fb5d5d5-34b3-4dff-8e97-82bb54118d72.png?w=1600&h=840&fit=crop&crop=entropy&auto=compress,format&format=webp" diff --git a/components/blogs/BlockQuote.tsx b/components/blogs/BlockQuote.tsx index 3f6910b..d20262b 100644 --- a/components/blogs/BlockQuote.tsx +++ b/components/blogs/BlockQuote.tsx @@ -6,7 +6,7 @@ type props = { const BlockQuote = ({ children }: props) => { return ( -
+
{children}
); diff --git a/components/blogs/Code.tsx b/components/blogs/Code.tsx index e81c808..c5052ba 100644 --- a/components/blogs/Code.tsx +++ b/components/blogs/Code.tsx @@ -6,7 +6,7 @@ type Props = { export default function Code({ children }: Props) { return ( - + {children} ); diff --git a/next.config.js b/next.config.js index 0e16085..43d0c51 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,7 @@ const nextConfig = { reactStrictMode: true, images: { - domains: ["i.ibb.co", "cdn.hashnode.com"], + domains: ["i.ibb.co", "cdn.hashnode.com", "www.alirezasamadi.com"], }, }; diff --git a/pages/blogs/[slug].tsx b/pages/blogs/[slug].tsx index 768c714..996d9cf 100644 --- a/pages/blogs/[slug].tsx +++ b/pages/blogs/[slug].tsx @@ -18,6 +18,9 @@ type Props = { mdxSource: any; data: { title: string; + img: string; + author: string; + headline: string; banner: string; bio: string; published: string; @@ -32,7 +35,7 @@ export default function Slug({ mdxSource, data }: Props) { return ( <> -
+

{data.bio}

{data.published}

+
+
+ +
+

{data.author}

+ {data.headline} +
+
+
-
+