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

Signup page fixed and placeholders added #349

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
25 changes: 23 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion src/components/Signup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ const Signup = () => {
type="text"
id="full-name"
name="displayName"
placeholder="Enter your name"
className={`w-full bg-white rounded border ${
errors.displayName ? "border-red-500" : "border-gray-300"
} focus:border-indigo-500 focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out`}
Expand All @@ -173,6 +174,7 @@ const Signup = () => {
type="email"
id="email"
name="email"
placeholder="Enter your email"
className={`w-full bg-white rounded border ${
errors.email ? "border-red-500" : "border-gray-300"
} focus:border-indigo-500 focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out`}
Expand All @@ -191,12 +193,13 @@ const Signup = () => {
<PhoneInput
id="contact-no"
name="phoneNumber"
placeholder="Enter your phone no."
country="in"
onChange={(value) => setData({ ...data, phoneNumber: value })}
onKeyDown={handleKeyDown}
countryCodeEditable={false}
inputClass="focus:ring-0"
inputStyle={{ border: "0px"}}
inputStyle={{ border: "0px", width: "auto"}}
containerClass="border-none outline-none focus:ring-0"
className={`w-full bg-white rounded border ${
errors.phoneNumber ? "border-red-500" : "border-gray-300"
Expand Down Expand Up @@ -236,6 +239,7 @@ const Signup = () => {
</label>
<input
type={showPassword}
placeholder="Enter your password"
id="password"
name="password"
className={`w-full bg-white rounded border ${
Expand Down Expand Up @@ -271,6 +275,7 @@ const Signup = () => {
type={passwordType}
id="confirm-password"
name="confirmPassword"
placeholder="Confirm password"
className={`w-full bg-white rounded border ${
errors.confirmPassword ? "border-red-500" : "border-gray-300"
} focus:border-indigo-500 focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out`}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styles from '../style'
import Button from '../components/Ui/SecButton'
import Contributor from "../components/Contributor";
import AdminAbout from "../components/AdminAbout";
import background from '../assets/image/bg1.png'
import background from '../assets/image/bg1.webp'
const About = () => {
return (
<div className="dark:bg-primary dark:text-dimWhite p-1 ">
Expand Down
27 changes: 16 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"resolved" "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.7.tgz"
"version" "7.17.7"

"@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.12.3", "@babel/core@^7.16.0", "@babel/core@^7.7.2", "@babel/core@^7.8.0":
"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.12.3", "@babel/core@^7.16.0", "@babel/core@^7.4.0-0", "@babel/core@^7.7.2", "@babel/core@^7.8.0", "@babel/core@>=7.11.0":
"integrity" "sha512-OdQDV/7cRBtJHLSOBqqbYNkOcydOgnX59TZx4puf41fzcVtN3e/4yqY8lMQsK+5X2lJtAdmA+6OHqsj1hBJ4IQ=="
"resolved" "https://registry.npmjs.org/@babel/core/-/core-7.17.8.tgz"
"version" "7.17.8"
Expand Down Expand Up @@ -491,7 +491,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"

"@babel/plugin-syntax-flow@^7.18.6":
"@babel/plugin-syntax-flow@^7.14.5", "@babel/plugin-syntax-flow@^7.18.6":
"integrity" "sha512-l9xd3N+XG4fZRxEP3vXdK6RW7vN1Uf5dxzRC/09wV86wqZ/YYQooBIGNsiRdfNR3/q2/5pPzV4B54J/9ctX5jw=="
"resolved" "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.21.4.tgz"
"version" "7.21.4"
Expand Down Expand Up @@ -795,7 +795,7 @@
dependencies:
"@babel/plugin-transform-react-jsx" "^7.16.7"

"@babel/plugin-transform-react-jsx@^7.16.7":
"@babel/plugin-transform-react-jsx@^7.14.9", "@babel/plugin-transform-react-jsx@^7.16.7":
"integrity" "sha512-9tjBm4O07f7mzKSIlEmPdiE6ub7kfIe6Cd+w+oQebpATfTQMAgW+YOuWxogbKVTulA+MEO7byMeIUtQ1z+z+ZQ=="
"resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.17.3.tgz"
"version" "7.17.3"
Expand Down Expand Up @@ -2461,7 +2461,7 @@
dependencies:
"@types/yargs-parser" "*"

"@typescript-eslint/eslint-plugin@^5.5.0":
"@typescript-eslint/eslint-plugin@^4.0.0 || ^5.0.0", "@typescript-eslint/eslint-plugin@^5.5.0":
"integrity" "sha512-BL+jYxUFIbuYwy+4fF86k5vdT9lT0CNJ6HtwrIvGh0PhH8s0yy5rjaKH2fDCrz5ITHy07WCzVGNvAmjJh4IJFA=="
"resolved" "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.7.tgz"
"version" "5.59.7"
Expand All @@ -2484,7 +2484,7 @@
dependencies:
"@typescript-eslint/utils" "5.59.7"

"@typescript-eslint/parser@^5.5.0":
"@typescript-eslint/parser@^5.0.0", "@typescript-eslint/parser@^5.5.0":
"integrity" "sha512-VhpsIEuq/8i5SF+mPg9jSdIwgMBBp0z9XqjiEay+81PYLJuroN+ET1hM5IhkiYMJd9MkTz8iJLt7aaGAgzWUbQ=="
"resolved" "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.7.tgz"
"version" "5.59.7"
Expand Down Expand Up @@ -3310,7 +3310,7 @@
"resolved" "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz"
"version" "1.0.0"

"browserslist@^4.0.0", "browserslist@^4.14.5", "browserslist@^4.16.6", "browserslist@^4.17.5", "browserslist@^4.18.1", "browserslist@^4.20.2", "browserslist@^4.20.3", "browserslist@^4.21.5":
"browserslist@^4.0.0", "browserslist@^4.14.5", "browserslist@^4.16.6", "browserslist@^4.17.5", "browserslist@^4.18.1", "browserslist@^4.20.2", "browserslist@^4.20.3", "browserslist@^4.21.5", "browserslist@>= 4.21.0":
"integrity" "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w=="
"resolved" "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz"
"version" "4.21.5"
Expand Down Expand Up @@ -4717,7 +4717,7 @@
"normalize-path" "^3.0.0"
"schema-utils" "^3.1.1"

"eslint@^8.3.0":
"eslint@*", "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8", "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8", "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0", "eslint@^6.0.0 || ^7.0.0 || ^8.0.0", "eslint@^6.0.0 || ^7.0.0 || >=8.0.0", "eslint@^7.5.0 || ^8.0.0", "eslint@^8.0.0", "eslint@^8.1.0", "eslint@^8.3.0", "eslint@>= 6":
"integrity" "sha512-it1oBL9alZg1S8UycLm5YDMAkIhtH6FtAzuZs6YvoGVldWjbS08BkAdb/ymP9LlAyq8koANu32U7Ib/w+UNh8Q=="
"resolved" "https://registry.npmjs.org/eslint/-/eslint-8.12.0.tgz"
"version" "8.12.0"
Expand Down Expand Up @@ -8095,7 +8095,7 @@
"strip-ansi" "^6.0.1"
"text-table" "^0.2.0"

"react-dom@^17.0.2":
"react-dom@^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0", "react-dom@^17.0.2", "react-dom@>=16":
"integrity" "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA=="
"resolved" "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz"
"version" "17.0.2"
Expand Down Expand Up @@ -8245,7 +8245,7 @@
"prop-types" "15.8.1"
"youtube-player" "5.5.2"

"react@^17.0.2":
"react@*", "react@^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0", "react@^17.0.2", "react@>= 16", "react@>=0.14.1", "react@>=16":
"integrity" "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA=="
"resolved" "https://registry.npmjs.org/react/-/react-17.0.2.tgz"
"version" "17.0.2"
Expand Down Expand Up @@ -9455,6 +9455,11 @@
dependencies:
"is-typedarray" "^1.0.0"

"typescript@^3.2.1 || ^4", "typescript@>= 2.7", "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta":
"integrity" "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g=="
"resolved" "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz"
"version" "4.9.5"

"unbox-primitive@^1.0.2":
"integrity" "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw=="
"resolved" "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz"
Expand Down Expand Up @@ -9721,7 +9726,7 @@
"resolved" "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz"
"version" "3.2.3"

"webpack@^5.64.4":
"webpack@^5.64.4", "webpack@>= 4":
"integrity" "sha512-ZMWWy8CeuTTjCxbeaQI21xSswseF2oNOwc70QSKNePvmxE7XW36i7vpBMYZFAUHPwQiEbNGCEYIOOlyRbdGmxw=="
"resolved" "https://registry.npmjs.org/webpack/-/webpack-5.70.0.tgz"
"version" "5.70.0"
Expand Down Expand Up @@ -10123,4 +10128,4 @@
dependencies:
"debug" "^2.6.6"
"load-script" "^1.0.0"
"sister" "^3.0.0"
"sister" "^3.0.0"