chore: dummy placeholder

pull/3813/head
Arik Chakma 2 years ago
parent 6061377f70
commit e41cc2f4e6
  1. 2
      src/components/Login/EmailLoginForm.tsx
  2. 4
      src/components/Login/EmailSignupForm.tsx
  3. 4
      src/components/Login/GoogleLogin.astro
  4. 2
      src/components/Profile/ForgotPasswordForm.tsx

@ -130,7 +130,7 @@ const EmailLoginForm: FunctionComponent<{}> = () => {
autoComplete="email" autoComplete="email"
required required
className="block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1" className="block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1"
placeholder="Enter you email" placeholder="john@example.com"
value={email} value={email}
onChange={(e) => setEmail(String((e.target as any).value))} onChange={(e) => setEmail(String((e.target as any).value))}
/> />

@ -63,7 +63,7 @@ const EmailSignupForm: FunctionComponent<{}> = () => {
autoComplete="name" autoComplete="name"
required required
className="block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1" className="block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1"
placeholder="Enter you name" placeholder="John Doe"
value={name} value={name}
onChange={(e) => setName(String((e.target as any).value))} onChange={(e) => setName(String((e.target as any).value))}
/> />
@ -77,7 +77,7 @@ const EmailSignupForm: FunctionComponent<{}> = () => {
autoComplete="email" autoComplete="email"
required required
className="mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1" className="mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1"
placeholder="Enter you email" placeholder="john@example.com"
value={email} value={email}
onChange={(e) => setEmail(String((e.target as any).value))} onChange={(e) => setEmail(String((e.target as any).value))}
/> />

@ -7,7 +7,7 @@ import Spinner from '../Spinner.astro';
class='inline-flex h-10 w-full items-center justify-center rounded border border-slate-300 bg-white p-2 text-sm font-medium text-black outline-none transition duration-150 ease-in-out focus:ring-2 focus:ring-[#333] focus:ring-offset-1 disabled:opacity-60' class='inline-flex h-10 w-full items-center justify-center rounded border border-slate-300 bg-white p-2 text-sm font-medium text-black outline-none transition duration-150 ease-in-out focus:ring-2 focus:ring-[#333] focus:ring-offset-1 disabled:opacity-60'
id='google-login-button' id='google-login-button'
> >
<Spinner class='text-black hidden' data-google-login-spinner /> <Spinner class='hidden text-black' data-google-login-spinner />
<div class='flex items-center' data-google-text> <div class='flex items-center' data-google-text>
<Icon icon='google' /> <Icon icon='google' />
<span class='ml-2'>Continue with Google</span> <span class='ml-2'>Continue with Google</span>
@ -20,7 +20,7 @@ import Spinner from '../Spinner.astro';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
import { TOKEN_COOKIE_NAME } from '../../lib/utils'; import { TOKEN_COOKIE_NAME } from '../../lib/utils';
const googleLoginButton = document.getElementById('google-login-button'); const googleLoginButton = document.getElementById('google-login-button');
const googleLoginSpinner = document.getElementById( const googleLoginSpinner = document.querySelector(
'[data-google-login-spinner]' '[data-google-login-spinner]'
); );
const googleLoginText = document.querySelector('[data-google-text]'); const googleLoginText = document.querySelector('[data-google-text]');

@ -81,7 +81,7 @@ export default function ForgotPasswordForm() {
id="email" id="email"
className="mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1" className="mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1"
required required
placeholder="arik@roadmap.sh" placeholder="john@example.com"
value={email} value={email}
onChange={(e) => setEmail((e.target as HTMLInputElement).value)} onChange={(e) => setEmail((e.target as HTMLInputElement).value)}
/> />

Loading…
Cancel
Save