diff --git a/source/src/pages/Page/index.tsx b/source/src/pages/Page/index.tsx index 65a11cc..d439e51 100644 --- a/source/src/pages/Page/index.tsx +++ b/source/src/pages/Page/index.tsx @@ -23,8 +23,16 @@ import { useEffect } from "react" const map: Map = _map -const StyledTitle = styled.h1` +const StyledTitle = styled.h1<{ pageType: PageType }>` margin-bottom: 1rem; + + word-wrap: break-word; + + ${(props) => { + if (props.pageType == PageType.PORTFOLIO_PROJECT) { + return "margin-right: 3rem;" + } + }} ` const PortfolioGithubLinkContainer = styled.div` @@ -249,7 +257,9 @@ const Page = () => { )} - {pageData.title} + + {pageData.title} + {pageType == PageType.PORTFOLIO_PROJECT && pageData.badges.map((badge) => (