added hscode link
This commit is contained in:
parent
89c5243b2d
commit
a966ca77f4
BIN
ipi-survey-platform/public/assets/images/HS-Code UAE (002).pdf
Normal file
BIN
ipi-survey-platform/public/assets/images/HS-Code UAE (002).pdf
Normal file
Binary file not shown.
@ -18,6 +18,7 @@ const trashActiveSrc = '/assets/images/Trash - active.svg';
|
||||
const searchIcon = '/assets/images/material-symbols_search-rounded.svg';
|
||||
const uae_currency = '/assets/images/UAE_Dirham_Symbol.svg';
|
||||
|
||||
|
||||
const Input = ({ placeholder = '', type = 'text', value = '', onChange = () => {}, required = false, error = false }) => {
|
||||
const [isFocused, setIsFocused] = React.useState(false);
|
||||
|
||||
@ -1219,7 +1220,17 @@ const location = useLocation();
|
||||
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="flex items-center gap-3">
|
||||
<h2 className="text-lg font-semibold text-gray-900">Products</h2>
|
||||
<div className="flex items-center">
|
||||
<h2 className="text-lg font-semibold text-gray-900">Products</h2>
|
||||
<a
|
||||
href="/assets/images/HS-Code UAE (002).pdf"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="ml-3 mt-1 text-sm text-black-600 hover:underline"
|
||||
>
|
||||
Please click here to view the list of HS codes
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center gap-3">
|
||||
<button
|
||||
|
||||
@ -861,6 +861,7 @@ const CompanyProfile = () => {
|
||||
type="password"
|
||||
showToggle={true}
|
||||
className={passwordError || passwordReuseError ? 'border-red-500' : ''}
|
||||
autoComplete="new-password"
|
||||
required
|
||||
/>
|
||||
{passwordError && <p className="text-xs text-[#B91C1C]">{passwordError}</p>}
|
||||
@ -876,6 +877,7 @@ const CompanyProfile = () => {
|
||||
type="password"
|
||||
showToggle={true}
|
||||
className={confirmError ? 'border-red-500' : ''}
|
||||
autoComplete="new-password"
|
||||
required
|
||||
/>
|
||||
{confirmError && <p className="text-xs text-[#B91C1C]">{confirmError}</p>}
|
||||
|
||||
@ -179,7 +179,7 @@ if (newPassword !== confirmPassword) {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<form onSubmit={handleSubmit} className="px-7 py-8 space-y-4">
|
||||
<form onSubmit={handleSubmit} className="px-7 py-8 space-y-4" autoComplete="off">
|
||||
{error && (
|
||||
<div className="text-sm text-red-700 bg-red-50 border border-red-200 rounded px-3 py-2">
|
||||
{error}
|
||||
@ -199,6 +199,7 @@ if (newPassword !== confirmPassword) {
|
||||
type="email"
|
||||
value={registeredEmail}
|
||||
disabled
|
||||
autoComplete="username"
|
||||
className="block w-full h-10 rounded-md border-2 border-gray-300 px-4 text-sm bg-gray-50 cursor-not-allowed"
|
||||
/>
|
||||
</div>
|
||||
@ -227,6 +228,7 @@ if (newPassword !== confirmPassword) {
|
||||
toggleShow={() => setShowOtp((v) => !v)}
|
||||
placeholder="Enter 6-digit code"
|
||||
error={otpError}
|
||||
autoComplete="one-time-code"
|
||||
/>
|
||||
|
||||
<ToggleableInput
|
||||
@ -239,6 +241,7 @@ if (newPassword !== confirmPassword) {
|
||||
const passwordError = validatePassword(value);
|
||||
setNewPasswordError(passwordError);
|
||||
}}
|
||||
autoComplete="new-password"
|
||||
show={showNewPassword}
|
||||
toggleShow={() => setShowNewPassword((v) => !v)}
|
||||
placeholder="Enter new password"
|
||||
@ -254,6 +257,7 @@ if (newPassword !== confirmPassword) {
|
||||
setConfirmPassword(value);
|
||||
if (newPassword === value) setConfirmPasswordError("");
|
||||
}}
|
||||
autoComplete="new-password"
|
||||
show={showConfirmPassword}
|
||||
toggleShow={() => setShowConfirmPassword((v) => !v)}
|
||||
placeholder="Re-enter new password"
|
||||
|
||||
@ -322,7 +322,7 @@ const Login = () => {
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<form onSubmit={submit} className="px-7 py-8 space-y-4">
|
||||
<form onSubmit={submit} className="px-7 py-8 space-y-4" autoComplete="off">
|
||||
{isLocked && remainingTime > 0 && (
|
||||
<div className="bg-red-50 border-l-4 border-red-500 p-4 rounded">
|
||||
<div className="flex items-start gap-3">
|
||||
@ -366,6 +366,7 @@ const Login = () => {
|
||||
}}
|
||||
placeholder="name@company.com"
|
||||
disabled={isLocked}
|
||||
autoComplete="username"
|
||||
className={`block w-full h-10 rounded-md border-2 px-4 text-sm focus:ring-0 ${
|
||||
emailError
|
||||
? 'border-red-500 bg-red-50'
|
||||
@ -390,6 +391,7 @@ const Login = () => {
|
||||
if (passwordError) setPasswordError('');
|
||||
}}
|
||||
disabled={isLocked}
|
||||
autoComplete="current-password"
|
||||
className={`block w-full h-10 rounded-md border-2 px-4 pr-11 text-sm focus:ring-0 ${
|
||||
passwordError
|
||||
? 'border-red-500 bg-red-50'
|
||||
|
||||
@ -224,7 +224,7 @@ const PublicContactForm = () => {
|
||||
</div>
|
||||
|
||||
{!otpStep ? (
|
||||
<form onSubmit={handleSubmit} className="px-7 py-8 space-y-4">
|
||||
<form onSubmit={handleSubmit} className="px-7 py-8 space-y-4" autoComplete="off">
|
||||
{errorMsg && (
|
||||
<div className="text-sm text-red-700 bg-red-50 border border-red-200 rounded px-3 py-2">
|
||||
{errorMsg}
|
||||
@ -306,6 +306,7 @@ const PublicContactForm = () => {
|
||||
value={formData.email}
|
||||
onChange={handleChange}
|
||||
error={errors.email}
|
||||
autoComplete="username"
|
||||
/>
|
||||
|
||||
<button
|
||||
|
||||
Loading…
Reference in New Issue
Block a user