Skip to content

Commit

Permalink
fix(*): adj blod id screen
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed Feb 25, 2024
1 parent d88b6b1 commit 43cd209
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 27 deletions.
58 changes: 32 additions & 26 deletions src/Components/Article/RightColumn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,32 +300,38 @@ const RightColumn = (props) => {
onChange={updateSearch}
/>
</MarginTop>
<SideUserContainer Primary>
<CircleImage
Secondary
src={
currentUser.avatar ||
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT0k6I8WItSjK0JTttL3FwACOA6yugI29xvLw&usqp=CAU"
}
alt="author"
/>
<UserInfo Padding4>{currentUser.name || "Will Smith"}</UserInfo>
<UserInfo GrayWPadding>119 Followers</UserInfo>
<UserInfo GrayWPadding>
Software Engineer | Python Programmer | Java Programmer | Tech
Enthusiast | JavaScript Programmer | React Lover | Mobile
Developer
</UserInfo>
</SideUserContainer>
<SideUserContainer ButtonGroup>
<Button size="small" backgroundColor="green" label="Follow" />
<Button
icon={<MdBookmarkBorder style={{ fontSize: "2rem", position: 'absolute', left: '66%', top: '59%' }} />}
size="small"
backgroundColor="green"
shape={"round"}
/>
</SideUserContainer>
{
isLoggedIn && (
<>
<SideUserContainer Primary>
<CircleImage
Secondary
src={
currentUser.avatar ||
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT0k6I8WItSjK0JTttL3FwACOA6yugI29xvLw&usqp=CAU"
}
alt="author"
/>
<UserInfo Padding4>{currentUser.name || "Will Smith"}</UserInfo>
<UserInfo GrayWPadding>119 Followers</UserInfo>
<UserInfo GrayWPadding>
Software Engineer | Python Programmer | Java Programmer | Tech
Enthusiast | JavaScript Programmer | React Lover | Mobile
Developer
</UserInfo>
</SideUserContainer>
<SideUserContainer ButtonGroup>
<Button size="small" backgroundColor="green" label="Follow" />
<Button
icon={<MdBookmarkBorder style={{ fontSize: "2rem", position: 'absolute', left: '66%', top: '59%' }} />}
size="small"
backgroundColor="green"
shape={"round"}
/>
</SideUserContainer>
</>
)
}
<SideUserContainer Primary>
<PostText>Related</PostText>
{recentPosts.map((article) => {
Expand Down
2 changes: 1 addition & 1 deletion src/Layout/Container/styledArticle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const JustifyContent = styled.div`
${props => props.MiniPost && css`
justify-content: space-between;
align-items: center;
width: 80%;
width: 100%;
margin-top: 4%;
`}
${props => props.SpaceAroundPaddingRight && css`
Expand Down

0 comments on commit 43cd209

Please sign in to comment.