Skip to content

Commit 2f1aef6

Browse files
working on dashboard
1 parent 39ee88e commit 2f1aef6

File tree

19 files changed

+151
-2198
lines changed

19 files changed

+151
-2198
lines changed

client/src/App.css

Lines changed: 0 additions & 1525 deletions
This file was deleted.

client/src/App.css.map

Lines changed: 0 additions & 29 deletions
This file was deleted.

client/src/App.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import React, { useEffect } from "react";
2-
import "./App.css";
3-
42
// Router
53
import { BrowserRouter as Router, Switch } from "react-router-dom";
64

client/src/components/auth/Login.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, { useState, useEffect, Fragment } from "react";
2-
import "../../App.css";
32
import { connect } from "react-redux";
43
import { login } from "../../actions/authAction";
54
import { removeNav } from "../../actions/navAction";

client/src/components/auth/Register.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, { useState, useEffect, Fragment } from "react";
2-
import "../../App.css";
32
import { connect } from "react-redux";
43
import { register } from "../../actions/authAction";
54
import { removeNav } from "../../actions/navAction";

client/src/components/comment/_comment.scss

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
import React from 'react';
1+
import { Flex, Heading, Text } from "@chakra-ui/react";
2+
import React from "react";
23

34
const PopularPosts = () => {
4-
return (
5-
<div className='popular-posts'>
6-
<h1>Popular Posts</h1>
7-
<div className='posts-list'>No posts available</div>
8-
</div>
9-
);
5+
return (
6+
<Flex flexDirection='column' px='100px' mt='3rem'>
7+
<Heading as="h1">Popular Posts</Heading>
8+
<Text>No posts available</Text>
9+
</Flex>
10+
);
1011
};
1112

1213
export default PopularPosts;

client/src/components/layout components/General posts/_popularpostitem.scss

Whitespace-only changes.

client/src/components/layout components/General posts/_popularposts.scss

Lines changed: 0 additions & 7 deletions
This file was deleted.

client/src/components/layout components/Trending/Trending.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const Trending = ({
3535
}, [trendingPosts.length, post.uploadedStatus]);
3636

3737
return (
38-
<Flex>
38+
<Flex justifyContent='center' mt='0rem'>
3939
{posts.length > 0 ? (
4040
posts.map((post) => (
4141
<TrendingItem

0 commit comments

Comments
 (0)