Skip to content

Commit e01df40

Browse files
authored
Update README.md
1 parent a326bbe commit e01df40

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
# Social Media Dashboard
1+
# Social Media Dashboard
22

3-
## 🛠 Tools used
4-
5-
[![My Skills](https://skillicons.dev/icons?i=html,css,js,react,npm,webpack,vscode)](https://skillicons.dev)
6-
7-
![Description](https://img.shields.io/badge/Description-purple?style=for-the-badge)
8-
> This project is a comprehensive social media dashboard composed of several key components that demonstrate fundamental concepts in React development. Each component has been carefully designed to handle specific data structures, styled using > modern CSS techniques, and tested to ensure they meet the project requirements. The dashboard includes a user profile display, a statistics section, a friend list, and a transaction history table, all driven by JSON data files.
9-
>
3+
## Description
4+
This project is a comprehensive social media dashboard composed of several key components that demonstrate fundamental concepts in React development. Each component has been carefully designed to handle specific data structures, styled using > modern CSS techniques, and tested to ensure they meet the project requirements. The dashboard includes a user profile display, a statistics section, a friend list, and a transaction history table, all driven by JSON data files.
105

116
## Components Overview
127

13-
![1. Profile Component](https://img.shields.io/badge/1.%20Profile%20Component-purple?style=for-the-badge)
8+
## 1. Profile Component
149

1510
The `Profile` component displays user information for a social media account. The component takes in several props to render details such as the username, social media tag, location, avatar, and activity statistics. These data are stored in the `user.json` file.
1611

@@ -32,7 +27,7 @@ import user from 'path/to/user.json';
3227
/>
3328
```
3429

35-
![2. Statistics Component](https://img.shields.io/badge/2.%20Statistics%20Component-purple?style=for-the-badge)
30+
## 2. Statistics Component
3631

3732
The `Statistics` component is designed to display a variety of statistics based on the provided data. The data is passed as props, allowing the component to dynamically render the statistics. The title prop is optional, and the stats prop contains an array of statistical data stored in `data.json`.
3833

@@ -49,7 +44,7 @@ import data from 'path/to/data.json';
4944
<Statistics stats={data} />
5045
```
5146

52-
![3. FriendList Component](https://img.shields.io/badge/3.%20FriendList%20Component-purple?style=for-the-badge)
47+
## 3. FriendList Component
5348

5449
The `FriendList` component shows a list of the user's friends, with each friend's online status clearly indicated. This component accepts a `friends` prop, which is an array of objects representing each friend, stored in `friends.json`.
5550

@@ -64,7 +59,7 @@ import friends from 'path/to/friends.json';
6459
<FriendList friends={friends} />
6560
```
6661

67-
![4. TransactionHistory Component](https://img.shields.io/badge/4.%20TransactionHistory%20Component-purple?style=for-the-badge)
62+
## 4. TransactionHistory Component
6863

6964

7065
The `TransactionHistory` component displays a table of financial transactions, ideal for tracking activities in an internet banking application. The transactions are passed in as the `items` prop, sourced from the `transactions.json` file.
@@ -81,7 +76,7 @@ import transactions from 'path/to/transactions.json';
8176
<TransactionHistory items={transactions} />
8277
```
8378

84-
![Overview](https://img.shields.io/badge/Overview-purple?style=for-the-badge)
79+
## Overview
8580

8681
Through the development of these components, I gained valuable insights into React's component-based architecture, prop handling, and state management. I improved my understanding of how to efficiently structure and pass data between components using JSON files. Additionally, I enhanced my skills in CSS styling, particularly in creating responsive and visually appealing user interfaces.
8782

0 commit comments

Comments
 (0)