Skip to content

Commit

Permalink
Upgrade composer and npm
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisdelicata committed Jul 20, 2024
1 parent 04b7016 commit 2f0e62d
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 36 deletions.
59 changes: 31 additions & 28 deletions resources/views/auth/forgot-password.blade.php
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
<x-guest-layout>
<x-authentication-card>
<x-slot name="logo">
<x-authentication-card-logo />
</x-slot>

<div class="mb-4 text-sm text-gray-600">
{{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }}
</div>
@extends('layouts.home')

@section('content')
<div class="h-full flex flex-col sm:justify-center items-center pt-3 sm:pt-0">
<div class="w-full sm:max-w-md px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">

@session('status')
<div class="mb-4 font-medium text-sm text-green-600">
{{ $value }}
<div class="mb-4 text-sm text-gray-600">
{{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }}
</div>
@endsession

<x-validation-errors class="mb-4" />
@session('status')
<div class="mb-4 font-medium text-sm text-green-600">
{{ $value }}
</div>
@endsession

<form method="POST" action="{{ route('password.email') }}">
@csrf
<x-validation-errors class="mb-4" />

<div class="block">
<x-label for="email" value="{{ __('Email') }}" />
<x-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus autocomplete="username" />
</div>
<form method="POST" action="{{ route('password.email') }}">
@csrf

<div class="flex items-center justify-end mt-4">
<x-button>
{{ __('Email Password Reset Link') }}
</x-button>
</div>
</form>
</x-authentication-card>
</x-guest-layout>
<div class="block">
<x-label for="email" value="{{ __('Email') }}" />
<x-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')"
required autofocus autocomplete="username" />
</div>

<div class="flex items-center justify-end mt-4">
<x-button>
{{ __('Email Password Reset Link') }}
</x-button>
</div>
</form>
</div>
</div>

@endsection
6 changes: 4 additions & 2 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
@extends('layouts.home')

@section('content')
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0">
<div class="min-h-full flex flex-col sm:justify-center items-center pt-6 sm:pt-0">
<div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
<div class="mb-4 text-sm text-gray-600">
{{ __('Please sign in to access the admin panel.') }}
</div>

<form method="POST" action="{{ route('login') }}">
@csrf
@csrf

<div>
<label class="block font-medium text-sm text-gray-700" for="email">
Expand Down Expand Up @@ -36,6 +36,8 @@
{{ __('Log in') }}
</button>
</div>

<a href="/forgot-password" class="underline text-sm text-gray-600 hover:text-gray-900" >Forgot password?</a>
</form>
</div>
</div>
Expand Down
7 changes: 1 addition & 6 deletions resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
@extends('layouts.home')

@section('content')
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0">
<div>
<a href="/">
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
</a>
</div>
<div class="min-h-full flex flex-col sm:justify-center items-center pt-6 sm:pt-0">

<div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
<form method="POST" action="{{ route('register') }}">
Expand Down

0 comments on commit 2f0e62d

Please sign in to comment.