Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added Form part and Firebase integration #11

Merged
merged 68 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
ca40680
feat: added form information
Srish-ty Mar 10, 2024
a635742
feat:adding input fields
Srish-ty Mar 10, 2024
9ff374a
feat: finished form, made responsive
Srish-ty Mar 10, 2024
fb34d5a
fix: content changes
Srish-ty Mar 10, 2024
d2728d2
fix: made image responsive
Srish-ty Mar 10, 2024
1fbce6f
fix: removed unnecessary borders
Srish-ty Mar 10, 2024
5fc7f84
fix: fixed styling and added bgimage
Srish-ty Mar 11, 2024
e41d2a4
feat: added bg image
Srish-ty Mar 11, 2024
1bca628
Merge branch 'main' into feat/form
Srish-ty Mar 11, 2024
dc7eeb9
fix: resolved conflicts
Srish-ty Mar 11, 2024
c17dcd5
fix: resolved conflicts
Srish-ty Mar 11, 2024
d0344bf
fix: input sizes
Srish-ty Mar 12, 2024
d5c9d70
fix: styling
Srish-ty Mar 13, 2024
758251f
Merge branch 'main' into feat/form
Srish-ty Mar 13, 2024
df2c60b
feat: form validation
Srish-ty Mar 13, 2024
2fcfa22
feat: validation function and error msgs
Srish-ty Mar 13, 2024
3a0d72b
fix: regex for roll num
Srish-ty Mar 13, 2024
9e81510
fix: moved to partials
Srish-ty Mar 13, 2024
83f7d7e
fix: moved to partials
Srish-ty Mar 13, 2024
3a0e6cf
feat: destructuring props
Srish-ty Mar 14, 2024
bcdb817
feat: added stages and usercontext
Srish-ty Mar 14, 2024
0e6d983
feat: added stages and usercontext
Srish-ty Mar 14, 2024
8e2296e
feat: added registration function
Srish-ty Mar 14, 2024
3756589
feat: added form validation and submission functions
Srish-ty Mar 14, 2024
145ddcb
feat: added firebaseconfig files
Srish-ty Mar 16, 2024
9ea7070
feat: added firebaseconfig files
Srish-ty Mar 16, 2024
78f7c48
feat: added login with google function fixed viteconfig
Srish-ty Mar 17, 2024
9f5cea9
feat: added registration function and form validation
Srish-ty Mar 17, 2024
a5c58c5
feat: added validation function
Srish-ty Mar 18, 2024
bf8d0d4
fix: env variables import in vite
Shurtu-gal Mar 22, 2024
955977c
feat: added textArea component
Srish-ty Mar 22, 2024
c82630e
Merge branch 'feat/form' of https://github.com/Srish-ty/project-udon …
Srish-ty Mar 22, 2024
d715360
fix: moved content to config
Srish-ty Mar 22, 2024
464c97e
Merge branch 'main' into feat/form
Srish-ty Mar 22, 2024
90eb246
fix: resolved merge conflicts
Srish-ty Mar 22, 2024
6b6384c
fix: fixed validatation function and regex for rollnum
Srish-ty Mar 25, 2024
d40e8b4
feat: disabling submitButton and added error msg at the end
Srish-ty Mar 25, 2024
024c62d
fix: validation function
Srish-ty Mar 25, 2024
e463816
fix: added global state for validity
Srish-ty Mar 25, 2024
911ac54
feat: added empty inputs checking
Srish-ty Mar 25, 2024
f173a1f
feat: added validation filter before registering
Srish-ty Mar 25, 2024
d6429be
feat: added validation filter before registering
Srish-ty Mar 25, 2024
7036570
feat: added authContext and name, mail of logged user in formData
Srish-ty Mar 25, 2024
c3ade26
feat: added function to retrieve firestore reg data using userId
Srish-ty Mar 26, 2024
06ef4c4
feat: added function to retrieve firestore reg data using userId
Srish-ty Mar 26, 2024
d864b3d
fix: changed regex for name to allow spaces
Srish-ty Mar 26, 2024
048cb74
feat: added authcontext for logged User and userData
Srish-ty Mar 27, 2024
6a88c7f
fix: authcontext reverted
Srish-ty Mar 27, 2024
0f45d92
feat: added reusable functions for validty of inputs checking
Srish-ty Mar 27, 2024
b4de216
feat: added reusable functions for validty of inputs checking
Srish-ty Mar 27, 2024
7316bb1
feat: added input field to upload image
Srish-ty Apr 1, 2024
70cab53
feat: added profileImage file field in userdata document to save in f…
Srish-ty Apr 1, 2024
0607929
feat: added functio to save files to cloudinary
Srish-ty Apr 2, 2024
3c5463c
feat: added dropdown for regType
Srish-ty Apr 2, 2024
fdd22c2
fix: styling changes in dropdwon menu
Srish-ty Apr 2, 2024
1ef30fe
fix: changed registration type option
Srish-ty Apr 8, 2024
dab1d40
fix: added cloudinary links for images and moved css file in form folder
Srish-ty Apr 8, 2024
6ecba69
fix: added changed hero section
Srish-ty Apr 8, 2024
57c1184
Merge branch 'main' into feat/form
Srish-ty Apr 8, 2024
dff7b38
fix: removed tobase64 function and inline styling
Srish-ty Apr 8, 2024
9a548c5
Merge branch 'feat/form' of https://github.com/Srish-ty/project-udon …
Srish-ty Apr 8, 2024
95958ce
feat: added branch option dropdown
Srish-ty Apr 9, 2024
d3efab0
feat: added authcontext and authprovider
Srish-ty Apr 9, 2024
47f47f5
feat: added fields for branch and regtype in firestore doc
Srish-ty Apr 9, 2024
c798e96
feat: added onauthstatechanged function and logout button
Srish-ty Apr 10, 2024
86a377f
feat: added field for testimonial in both form and fs doc
Srish-ty Apr 10, 2024
dcb8095
fix: fixed phn number input
Srish-ty Apr 10, 2024
82f1ce3
feat: moved authChange func to authContext and added Signout function
Srish-ty Apr 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# env files
*.env
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)
=======
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-)

<!-- ALL-CONTRIBUTORS-BADGE:END -->
Expand Down Expand Up @@ -87,6 +85,7 @@ To setup the project locally the steps below.

- [Node.js](https://nodejs.org/en/download/)


```sh
# homebrew
brew install nodejs
Expand All @@ -109,9 +108,16 @@ To setup the project locally the steps below.
```

- [PNPM](https://pnpm.io/installation)
Install pnpm: If pnpm is not installed, you can install it globally using npm. Run one of the following commands:

```bash
npm install -g pnpm
```

or

> [!NOTE]
> Best way to install it is using `corepack`. It is recommended to use pnpm as the package manager for this project. It is faster and more efficient than npm and yarn.
> [!NOTE]
> Best way to install it is using `corepack`. It is recommended to use pnpm as the package manager for this project. It is faster and more efficient than npm and yarn.

- [Git](https://git-scm.com/downloads)

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"format": "prettier --write --config .prettierrc --ignore-path .prettierignore ./src",
"prepare": "husky install"
"prepare": "husky"
},
"dependencies": {
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"firebase": "^10.9.0",
"husky": "^9.0.10",
"lottie-web": "^5.12.2",
"prettier": "^3.2.4",
Expand Down
Loading
Loading