diff --git a/components/PageTitle.js b/components/PageTitle.js index 82419b5..32d3302 100644 --- a/components/PageTitle.js +++ b/components/PageTitle.js @@ -1,6 +1,6 @@ export default function PageTitle({ children }) { return ( -

+

{children}

) diff --git a/layouts/AuthorLayout.js b/layouts/AuthorLayout.js index e62699b..02a54f6 100644 --- a/layouts/AuthorLayout.js +++ b/layouts/AuthorLayout.js @@ -8,32 +8,26 @@ export default function AuthorLayout({ children, frontMatter }) { return ( <> -
-
-

- About -

-
-
-
+
+
+
+

Lucas dos Santos Alves

+

+ {occupation} {company} +

+
+
avatar -

{name}

-
{occupation}
-
{company}
-
- - - - -
-
{children}
+
+
+ {children}
diff --git a/layouts/PostLayout.js b/layouts/PostLayout.js index c7c65b8..c5917b2 100644 --- a/layouts/PostLayout.js +++ b/layouts/PostLayout.js @@ -29,12 +29,12 @@ export default function PostLayout({ frontMatter, authorDetails, next, prev, chi
-
+
Published on
-
+
@@ -44,49 +44,22 @@ export default function PostLayout({ frontMatter, authorDetails, next, prev, chi
{title}
+
+ {authorDetails.map((author) => ( + + {' '} + {author.name} + + ))} +
-
-
Authors
-
-
    - {authorDetails.map((author) => ( -
  • - {author.avatar && ( - avatar - )} -
    -
    Name
    -
    {author.name}
    -
    Twitter
    -
    - {author.twitter && ( - - {author.twitter.replace('https://twitter.com/', '@')} - - )} -
    -
    -
  • - ))} -
-
-
-
-
{children}
+
+
{children}