Skip to content

Commit

Permalink
Merged Article Grid Titles
Browse files Browse the repository at this point in the history
  • Loading branch information
tsakshi011 committed Nov 4, 2024
2 parents 4a5cb66 + d5e20bb commit ead929c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/components/ArticleGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ const TitleContainer = styled.div`
z-index: 1;
`;
const Title = styled.div`
font-family: BruinBlock;
font-size: clamp(40px, 5vw, 70px);
font-weight: 900;
line-height: 90px;
text-align: center;
color: #FBFBFB;
text-align: center;
font-family: Moul;
font-size: clamp(25px, 5vw, 70px);
font-style: normal;
font-weight: 400;
line-height: normal;
`

Expand All @@ -66,7 +67,7 @@ const ArticleGrid = ({ articles, title, isLast }) => {
return (
<>
<TitleContainer>
<Title>{title}</Title>
<Title> {title} </Title>
</TitleContainer>
<WhiteStripe />
<RedStripe />
Expand All @@ -79,4 +80,4 @@ const ArticleGrid = ({ articles, title, isLast }) => {
);
};

export default ArticleGrid;
export default ArticleGrid;

0 comments on commit ead929c

Please sign in to comment.