From 9d861bc1d9587baef35b1255620a2a69529ee4cc Mon Sep 17 00:00:00 2001 From: Zeke Abshire Date: Fri, 2 Jun 2023 23:49:18 -0500 Subject: [PATCH] Started working on the profile pages --- src/components/MDX.tsx | 10 +-- src/components/layouts/MainLayout.tsx | 2 +- src/components/projects/ProjectCards.tsx | 6 +- src/pages/profile/[username].tsx | 18 +++-- src/pages/projects/[projectId].tsx | 88 ++---------------------- src/utils/styles/globals.css | 9 ++- 6 files changed, 36 insertions(+), 97 deletions(-) diff --git a/src/components/MDX.tsx b/src/components/MDX.tsx index dd1cd17..b1958bc 100644 --- a/src/components/MDX.tsx +++ b/src/components/MDX.tsx @@ -28,7 +28,7 @@ const components = { ), blockquote: (props: Tag) => (
), @@ -41,17 +41,17 @@ const components = {
), img: (props: Tag) => ( - + ), li: (props: Tag) =>
  • , ol: (props: Tag) => ( -
      +
        ), ul: (props: Tag) => ( -
          +
            ), pre: (props: Tag) => ( -
            +    
               ),
               strong: (props: HTMLTag) => ,
             };
            diff --git a/src/components/layouts/MainLayout.tsx b/src/components/layouts/MainLayout.tsx
            index b1f3a3c..e03dabe 100644
            --- a/src/components/layouts/MainLayout.tsx
            +++ b/src/components/layouts/MainLayout.tsx
            @@ -5,7 +5,7 @@ export const MainLayout: React.FC = ({ children }) => {
               return (
                 
            -
            {children}
            +
            {children}
            ); }; diff --git a/src/components/projects/ProjectCards.tsx b/src/components/projects/ProjectCards.tsx index 107f5e6..f1abf77 100644 --- a/src/components/projects/ProjectCards.tsx +++ b/src/components/projects/ProjectCards.tsx @@ -89,8 +89,8 @@ export const ProjectCard: React.FC = ({ alt={title} /> -
            -