src/
|-- assets/
| |-- icons/
| | |-- all.svg
| | |-- brightness.svg
| | |-- home.svg
| | |-- message.svg
| | |-- more.svg
| | |-- notify.svg
| | |-- notify_gray.svg
| | |-- popular.svg
| | |-- search.svg
| | |-- share.svg
| |-- user.png
| |-- logo.png
| |-- thumbnail.jpg
|-- components/
| |-- Header.jsx
| |-- contentarea/
| |-- ContentArea.jsx
| |-- comps/
| |-- Post.jsx
|-- context/
|-- App.jsx
|-- App.css
git clone https://github.com/yourusername/acorn.git
cd acorn
npm install
npm start
http://localhost:3000
.The Header
component contains the navigation bar with links to different sections and a search bar.
The ContentArea
component displays the main content of the application, including posts.
The Post
component represents an individual post with details such as title, author, time, comments, and shares.
The application uses React Context to manage the search state across components.
The application uses Tailwind CSS for styling. Custom styles are defined in App.css
.
This project is licensed under the MIT License.