Compare commits

..

No commits in common. "1fe72cd4f52d174082e21d65e47ec98ba52e4b8f" and "96717643c5afc5a82a1faf46d3acff8903e14633" have entirely different histories.

3 changed files with 11 additions and 25 deletions

View File

@ -32,7 +32,7 @@ What things you need to install the software and how to install them:
1. Clone the repo
```sh
git clone https://github.com/micosilent/devspace.git
git clone https://github.com/your_username_/devspace.git
```
2. Set the docker-compose.yml to match your environment, pay special attention at the secrets, and routes set in the environment variables.

View File

@ -137,7 +137,7 @@ export default function PostView() {
{postToDisplay?.comments?.map((comment) => (
<Paper>
<Box sx={{ margin: "1rem" }}>
<Box sx={{ display: "flex", mb: "0.3rem", pt: "0.3rem" }}>
<Box sx={{ display: "flex", mb: "0.3rem" }}>
<AppAvatar user={comment.createdBy!} small />
<Typography variant="subtitle2" sx={{ ml: "0.5rem" }}>
{comment.createdBy?.firstName} {comment.createdBy?.lastName}

View File

@ -85,10 +85,6 @@ export default function Profile(props: ProfileProps) {
<Paper
sx={{
width: "100%",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
}}
>
<Box>
@ -142,25 +138,15 @@ export default function Profile(props: ProfileProps) {
</Box>
</Box>
</Paper>
<Box
sx={{
width: "75%",
margin: "auto",
display: "flex",
justifyContent: "center",
alignItems: "center",
}}
>
<List>
{userToDisplay!.posts?.map((post: Post) => (
<PostListItem post={post} postType="user" key={post.id} />
)) || (
<Typography variant="h3">
This user has no posts yet!
</Typography>
)}
</List>
</Box>
<List sx={{ width: "75%" }}>
{userToDisplay!.posts?.map((post: Post) => (
<PostListItem post={post} postType="user" key={post.id} />
)) || (
<Typography variant="h3">
This user has no posts yet!
</Typography>
)}
</List>
</>
)}
</Box>