GithubHelp home page GithubHelp logo

voting-system's Introduction

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
   parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
   },
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list

voting-system's People

Contributors

eggzylog avatar

Stargazers

 avatar

Watchers

 avatar

voting-system's Issues

Re-design the forms

Display the sign-up and sign-in forms to the center of the page.

Sign-up form:
image

Sign-in form:
image

Reorganize files

  • Fix routes
  • Add mobile responsiveness of the footer section
  • Refactor duplicate files (partially completed. ImageAuth and ImageNoAuth still needs refactoring.)
  • Reorganize import files
  • Add a SignIn form modal
  • Run prettier to format files

Fix backgroundImage

  • Remove backgroundImage in tailwind.config.ts, and add it to index.css as a regular css file

Fix mobile view of navbar

  • Place the forms to the center
  • Use alias when importing components
  • Add the project's GitHub link to the footer
  • Protect the Vote button
  • Add mobile view and fix mobile responsiveness
  • Fix styles
  • Remove unused files

Link to PR: #27

Add a NotFound page for catch-all route

  • Add a catch-all route for undefined routes
  • Create a catch-all component with proper navigation
  • Create a Loading component
  • Remove unused lines of codes
  • Add a temporary image placeholder
  • Refactor redundant lines of codes
  • Fix minor errors (providing alt values, etc)
  • Run prettier

Fix the sign-up and sign-in links.

Sign In page:
image

In this screenshot of the Sign In page, the Sign up link redirects to the clerk portal for signing up. It should redirect to http://localhost:5173/sign-up.

Do the same in the Sign Up 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.