-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:frontend: fix some ui and layout
- Loading branch information
1 parent
0fda416
commit a82d350
Showing
25 changed files
with
361 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
NEXT_PUBLIC_API_BASE_URL=http://localhost:5000/api | ||
NEXT_PUBLIC_IMGBB_API=468a47d5f64ecfb9b135bba4c38d559d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,5 @@ yarn-error.log* | |
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
|
||
.vercel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,131 @@ | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
# Lost & Found Frontend | ||
|
||
## Overview | ||
|
||
The Lost & Found website is a community-driven platform designed to help individuals report and reclaim lost items. This repository contains the frontend code for the Lost & Found website. | ||
|
||
## Technologies Used | ||
|
||
- Next.js | ||
- TypeScript | ||
- Tailwind CSS | ||
- React | ||
- Redux Toolkit | ||
- API Integration with Backend | ||
|
||
## Live Demo | ||
|
||
[Frontend Live Link](https://the-missing-place.vercel.app/) | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
### Prerequisites | ||
|
||
- Node.js (v14 or higher) | ||
- npm (v6 or higher) or yarn (v1.22 or higher) | ||
|
||
### Installation | ||
|
||
1. Clone the repository: | ||
|
||
```sh | ||
|
||
``` | ||
|
||
# git clone https://github.com/mdrianislam0or1/lost-and-found-frontend.git | ||
|
||
Navigate to the project directory: | ||
|
||
sh | ||
|
||
``` | ||
cd lost-and-found-frontend | ||
Install dependencies: | ||
sh | ||
npm install | ||
# or | ||
yarn install | ||
Running the Development Server | ||
sh | ||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# Open http://localhost:3000 with your browser to see the result. | ||
Building for Production | ||
sh | ||
npm run build | ||
# or | ||
pnpm dev | ||
yarn build | ||
Running the Production Server | ||
After building the project, you can start the production server with: | ||
sh | ||
npm start | ||
# or | ||
bun dev | ||
``` | ||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
yarn start | ||
# Project Structure | ||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
pages/ - Contains all the Next.js pages. | ||
components/ - Contains reusable React components. | ||
styles/ - Contains global and component-specific styles. | ||
redux/ - Contains Redux slices and store configuration. | ||
public/ - Contains static assets. | ||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
# Features | ||
## Learn More | ||
Home Page/Landing Page: | ||
Header with navigation links. | ||
Hero section with headline and buttons to report lost or found items. | ||
About section with purpose and mission of the website. | ||
Display of recent lost item reports. | ||
To learn more about Next.js, take a look at the following resources: | ||
# Login & Registration: | ||
Login and registration forms with validation. | ||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
#Submit Lost Items: | ||
Form to submit lost items with details like category, description, date, and location. | ||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
# Submit Found Items: | ||
Form to submit found items with details like category, description, date, and location. | ||
## Deploy on Vercel | ||
# My Profile: | ||
User account information with options to edit profile and change password. | ||
Sections for claim requests, lost items, and found items reported by the user. | ||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
# Admin Dashboard: | ||
User management and website activity monitoring features for administrators. | ||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. | ||
# View Recent Posts: | ||
List of recently reported lost and found items with filters and search functionality. | ||
# Change Password Page: | ||
Form to change the user's password. | ||
# Contribution | ||
Feel free to contribute to this project by opening issues and submitting pull requests. | ||
License | ||
# Contact | ||
For any inquiries, please contact us at rianislamrian@gmail.com. | ||
``` |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
"use client"; | ||
import Image from "next/image"; | ||
|
||
export default function About() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.