Coder Social home page Coder Social logo

prosper74 / safe-haven-fe Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 1015 KB

A real estate Jamstack app, built with NextJS, Typescript, Tailwind css and Strapi

Home Page: https://safe-haven-fe.vercel.app/

JavaScript 13.08% TypeScript 86.74% CSS 0.18%
nextjs strapi typescript tailwindcss rest-api jest zod react-hook-form swiper-js

safe-haven-fe's People

Contributors

prosper74 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

safe-haven-fe's Issues

Make the Edit user button functional

Currently, in the user dashboard, there is an Edit Profile. When this button is clicked, we want the user to see a form to edit the profile and save it.

The component should open in the same route.

The goal is to display the edit profile form when Edit Profile button is clicked and display the user dashboard content when the button is not clicked

Change all properties to advert

Currently, all the site is fetching data from the properties content type from strapi. Everywhere /properties is being fetched should be changed to /adverts

This will require some changes to the fields too. So make sure to check all the components using the data, and effect all necessary changes.

Prompt users before delete

Add a prompt to all delete buttons.

Are you sure you want to delete this item?
This action is irreversible

Add two buttons; Sure and Cancel

Make the edit advert button functional

In the user dashboard, all user's adverts are currently displayed. But the edit icon in each advert is not functioning.

The goal is to make the button open a modal that can enable users to edit the advert and save it.

Move all SVG to the svgIcons component

There is a component called svgIcons. Currently, it has many icons in it.

The goal should be to put all the icons in that component so they can be reused site wide

Create a route for account verification

Currently, the account verification button is not working.

The goal is to create a modal for users to be able to verify their accounts. The page will two input fields and two file upload fields.

The first input field will be Identity verification, the user has to select from a list that will include; International Passport, Drivers Licence, Valid ID card (Issued by the government). The file upload field will be underneath.

The second input field will be address verification. The user is expected to select from the list; Bank statement, Utility bill. The file upload field will be underneath.

Note: the file upload field should take a maximum of 1 file and the file size should not exceed 1MB. the submit button should be disabled until all fields have been properly filled.

Change account to login on mobile navigation menu

Currently the mobile menu show Account whether the user is logged in or not.

What we want is to show Login when a user is not logged in, and show Account when a user is logged in.
Also, make the Login to set the auth modal to 'open'

Note: these changes should affect only the mobile view

Make property features appear in List format

The property features are currently a string. The user inputs the features separated by the pipe | symbol.

Convert the string to an array using the pipe | symbol and List the array in the features tab in the single property page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.