Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dcgleason committed Jan 13, 2023
1 parent c5c089c commit 6e5cd1b
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions pages/signin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import axios from 'axios';
import { Link } from 'react-router-dom';
import logo from '../images/bundlelogowhite.png'
import Image from 'next/image';

function LoginSignupForm() {
const [username, setUsername] = useState("");
Expand Down Expand Up @@ -53,18 +53,14 @@ const onSubmit = async e => {
*/}
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="sm:mx-auto sm:w-full sm:max-w-md">
<img
className="mx-auto h-12 w-auto"
src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600"
alt="Your Company"
<Image
className="mx-auto w-auto"
src={logo}
width={100}
alt="Bundle logoo"
/>
<h2 className="mt-6 text-center text-3xl font-bold tracking-tight text-gray-900">Sign in to your account</h2>
<p className="mt-2 text-center text-sm text-gray-600">
Or{' '}
<a href="#" className="font-medium text-indigo-600 hover:text-indigo-500">
start your 14-day free trial
</a>
</p>

</div>

<div className="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
Expand All @@ -84,7 +80,7 @@ const onSubmit = async e => {
onChange={e => setUsername(e.target.value)}
required
// autoComplete="email"
className="block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm"
className="block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-red-500 focus:outline-none focus:ring-red-500 sm:text-sm"
/>
</div>
</div>
Expand All @@ -102,7 +98,7 @@ const onSubmit = async e => {
onChange={e => setPassword(e.target.value)}
autoComplete="current-password"
required
className="block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm"
className="block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-red-500 focus:outline-none focus:ring-red-500 sm:text-sm"
/>
</div>
</div>
Expand All @@ -113,15 +109,15 @@ const onSubmit = async e => {
id="remember-me"
name="remember-me"
type="checkbox"
className="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500"
className="h-4 w-4 rounded border-gray-300 text-red-600 focus:ring-red-500"
/>
<label htmlFor="remember-me" className="ml-2 block text-sm text-gray-900">
Remember me
</label>
</div>

<div className="text-sm">
<a href="#" className="font-medium text-indigo-600 hover:text-indigo-500">
<a href="#" className="font-medium text-red-600 hover:text-red-500">
Forgot your password?
</a>
</div>
Expand All @@ -131,14 +127,14 @@ const onSubmit = async e => {
<button
type="submit"
onClick={e => onSubmit(e)}
className="flex w-full justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
className="flex w-full justify-center rounded-md border border-transparent bg-red-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2"
>
Sign in
</button>
</div>
</form>

<div className="mt-6">
{/* <div className="mt-6">
<div className="relative">
<div className="absolute inset-0 flex items-center">
<div className="w-full border-t border-gray-300" />
Expand Down Expand Up @@ -193,7 +189,7 @@ const onSubmit = async e => {
</a>
</div>
</div>
</div>
</div> */}
</div>
</div>
</div>
Expand Down

0 comments on commit 6e5cd1b

Please sign in to comment.