Stories is a user profile page for Terribly Tiny Tales, showcasing a beautifully designed UI layout. This project is implemented using React.js, CSS, and Bootstrap.
Link to the live deployment: https://ttt-stories-dp.netlify.app/
- Responsive design: The user profile page is designed to adapt to various screen sizes, providing a seamless experience on both desktop and mobile devices.
- Post Display: The posts on the user profile page are populated dynamically from the
Posts
component.
The following components are used in the project:
-
App
: The main component that renders the entire page. -
TopBar
: The top bar of the page that contains the Terribly Tiny Tales logo, STORIES a text and a Courses Button. -
UserInfo
: The component that renders the user's cover picture, profile picture, name, and bio. -
Posts
: The component that renders the posts on the page.
The posts displayed on the page are generated using the following Posts
function:
const Posts = () => {
const posts = [
// ... (list of post objects)
];
return (
// ... (JSX rendering posts)
);
};
export default Posts;
The following packages are used in the project:
-
react: A JavaScript library for building user interfaces.
-
react-icons: A collection of icons for React.js.
-
bootstrap: A CSS framework for developing responsive, mobile-first websites.
To run the React.js app locally, follow these steps:
- Clone the repository to your local machine.
git clone https://github.com/deveshp007/stories.git
- Navigate to the project directory.
cd stories
- Install the dependencies.
npm install
- Run the app.
npm start
- Open the app in your browser.
http://localhost:3000