Skip to content

Commit

Permalink
Updated views
Browse files Browse the repository at this point in the history
  • Loading branch information
elyerr committed Aug 15, 2024
1 parent 876b72c commit a76ce09
Show file tree
Hide file tree
Showing 10 changed files with 228 additions and 197 deletions.
49 changes: 46 additions & 3 deletions resources/scss/pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,56 @@ body {

&:last-child {
display: flex;
background-color: var(--primary);
background: var(--primary);
justify-content: center;
align-items: center;

.page {
padding: 0.5em;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: inherit;

div {
text-align: center;

h1 {
font-size: 5em;
color: var(--white);
// animation: slide 5s linear infinite;
}

p {
font-size: large;
color: var(--first-color);
font-size: 2em;
}


@keyframes slide {
0% {
color: var(--white);
}

25% {
color: var(--secondary);
}

50% {
color: var(--ternary);
}


75% {
color: var(--quaternary);
}

100% {
color: var(--code);
}
}
}
}

}
Expand Down
45 changes: 23 additions & 22 deletions resources/views/auth/forgot-password.blade.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
@extends('layouts.pages')

@section('content')
<div class="forgot-password">
<div class="head">
<p>{{ __('Request to change password') }}</p>
<p>
{{ __('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.') }}
</p>
</div>
<div class="body">
<form action="{{ route('password.email') }}" method="post">
@csrf
<div class="item">
<div class="form-forgot-password">
<div class="forgot-password">
<div class="head">
<p>{{ __('Request to change password') }}</p>
<p>
{{ __('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.') }}
</p>
</div>
<div class="body">
<form action="{{ route('password.email') }}" method="post">
@csrf
<div class="item">

<input type="email" class="form-control" name="email" placeholder="{{ __('Email') }}">
@if ($errors->has('email'))
@foreach ($errors->get('email') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
</div>
<input type="email" class="form-control" name="email" placeholder="{{ __('Email') }}">
@if ($errors->has('email'))
@foreach ($errors->get('email') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
</div>

<div class="buttons">
<div class="buttons">

<button type="submit">{{ __('Send Password Reset Link') }}</button>
<button type="submit">{{ __('Send Password Reset Link') }}</button>

</div>
</div>
</div>
</div>
</div>

@endsection
105 changes: 63 additions & 42 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,60 +2,81 @@

@section('content')
@if (session('status'))
<div class="message-status">
<div class="notify" id="notify">
<p>
{{ session('status') }}
</p>
</div>
@endif

<div class="login">
<div class="head">
<p>
{{ config('app.name') }}
</p>
</div>
<div class="body">
<form action="{{ route('login') }}" method="post">
@csrf

<div class="item">
<input type="email" name="email" placeholder="{{ __('Email') }}">
@if ($errors->has('email'))
@foreach ($errors->get('email') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
</div>
<div class="login-form">

<div class="item">
<a class="" href="/forgot-password">{{ __('Forgot your password?') }}</a>
<input type="password" name="password" placeholder="{{ __('Password') }}">
@if ($errors->has('password'))
@foreach ($errors->get('password') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
<div class="box">
<div class="login">
<div class="head">
<p>
{{ config('app.name') }}
</p>
</div>
<!--Do not remove this lines-->
<div>
@foreach ($query as $item => $value)
<input type="hidden" id="{{ $item }}" name="{{ $item }}"
value="{{ $value }}">
@endforeach
<div class="body">
<form action="{{ route('login') }}" method="post">
@csrf

<div class="item">
<input type="email" name="email" placeholder="{{ __('Email') }}">
@if ($errors->has('email'))
@foreach ($errors->get('email') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
</div>

<div class="item">
<a class="" href="/forgot-password">{{ __('Forgot your password?') }}</a>
<input type="password" name="password" placeholder="{{ __('Password') }}">
@if ($errors->has('password'))
@foreach ($errors->get('password') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
</div>
<!--Do not remove this lines-->
<div>
@foreach ($query as $item => $value)
<input type="hidden" id="{{ $item }}" name="{{ $item }}"
value="{{ $value }}">
@endforeach
</div>
<!--end of the lines-->
<div class="buttons">

<button type="submit">
{{ __('Sign in') }}
</button>

<a href="{{ route('register') }}">
{{ __("Don't have an account? Sign up.") }}
</a>
</div>
</form>
</div>
<!--end of the lines-->
<div class="buttons">
</div>
</div>

<button type="submit">
{{ __('Sing in') }}
</button>
<div class="box">

<a href="{{ route('register') }}">
{{ __("Don't have an account? Sign up.") }}
</a>
<div class="page">
<div>
<h1>
Astian. Inc
</h1>
</div>
<div class="body">
<p>
{{ __('A new way to browse the internet.') }}
</p>
</div>
</form>
</div>
</div>
</div>
@endsection
69 changes: 35 additions & 34 deletions resources/views/auth/reset-password.blade.php
Original file line number Diff line number Diff line change
@@ -1,44 +1,45 @@
@extends('layouts.pages')

@section('content')
<div class="form-reset-password">
<div class="reset-password">
<div class="head">
<p>{{ __('Update your password') }}</p>
<p>{{ __('Dear User in this section you can reset a new password') }}</p>
</div>
<div class="body">
<form action="{{ route('password.store') }}" method="post">
@csrf
<input type="hidden" name="token" id="token" value="{{ $token }}">

<div class="reset-password">
<div class="head">
<p>{{ __('Update your password') }}</p>
<p>{{ __('Dear User in this section you can reset a new password') }}</p>
</div>
<div class="body">
<form action="{{ route('password.store') }}" method="post">
@csrf
<input type="hidden" name="token" id="token" value="{{ $token }}">

<div class="item">
<input type="email" name="email" id="email" value="{{ $email }}">
@if ($errors->has('email'))
@foreach ($errors->get('email') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
</div>
<div class="item">
<input type="password" name="password" id="password" placeholder="{{ __('New Password') }}">
@if ($errors->has('password'))
@foreach ($errors->get('password') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
</div>
<div class="item">
<input type="email" name="email" id="email" value="{{ $email }}">
@if ($errors->has('email'))
@foreach ($errors->get('email') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
</div>
<div class="item">
<input type="password" name="password" id="password" placeholder="{{ __('New Password') }}">
@if ($errors->has('password'))
@foreach ($errors->get('password') as $item)
<span class="errors">{{ $item }}</span>
@endforeach
@endif
</div>

<div class="item">
<input type="password" name="password_confirmation" id="password_confirmation"
placeholder="{{ __('Confirm New Password') }}">
</div>
<div class="item">
<input type="password" name="password_confirmation" id="password_confirmation"
placeholder="{{ __('Confirm New Password') }}">
</div>

<div class="buttons">
<button type="submit">{{ __('Change Password') }}</button>
</div>
<div class="buttons">
<button type="submit">{{ __('Change Password') }}</button>
</div>

</form>
</form>
</div>
</div>
</div>
@endsection
2 changes: 1 addition & 1 deletion resources/views/auth/terms.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
By choosing this option, you accept the <a href="{{ env('MIX_HOME_PAGE') }}" target="_black">Astian
Inc</a>. <a href="{{ env('MIX_HOME_POLICY') }}" target="_black">Services Agreement,
Privacy Statement</a>, and
<a href="{{ config('MIX_HOME_COOKIES') }}" target="_black"> Cookies Policy </a>.
<a href="{{ env('MIX_HOME_COOKIES') }}" target="_black"> Cookies Policy </a>.
</label>
</p>
@if ($errors->has('accept_terms'))
Expand Down
18 changes: 9 additions & 9 deletions resources/views/client/register.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@section('content')

<div class="register-client">
<div class="form-register-client">

<div class="form">

Expand Down Expand Up @@ -46,7 +46,7 @@

<div class="item">
<label for="birthday">{{ __('Date of birth') }}</label>
<input type="date" id="birthday" name="birthday" placeholder="{{ __('Birthday') }}"
<input type="text" id="birthday" name="birthday" placeholder="{{ __('Birthday') }}"
value="{{ old('birthday') }}">
@if ($errors->has('birthday'))
@foreach ($errors->get('birthday') as $item)
Expand Down Expand Up @@ -75,30 +75,30 @@
@endif
</div>
<div class="terms">
<p>
<div class="box">
<input name="accept_terms" id="accept_terms" value="{{ true }}" type="checkbox">
</div>
<div class="box">
<label for="accept_terms">
By choosing this option, you accept the <a href="{{ env('MIX_HOME_PAGE') }}"
target="_black">Astian
Inc</a>. <a href="{{ env('MIX_HOME_POLICY') }}" target="_black">Services Agreement,
Privacy Statement</a>, and
<a href="{{ config('MIX_HOME_COOKIES') }}" target="_black"> Cookies Policy </a>.
<a href="{{ env('MIX_HOME_COOKIES') }}" target="_black"> Cookies Policy </a>.
</label>
</p>
</div>
</div>

@if ($errors->has('accept_terms'))
@foreach ($errors->get('accept_terms') as $item)
<span class="errors">{{ $item }}</span>
<p class="errors">{{ $item }}</p>
@endforeach
@endif


<div class="buttons">
<button type="submit">{{ __('Register') }}</button>
</div>
</form>
</div>
</div>

</div>
@endsection
Loading

0 comments on commit a76ce09

Please sign in to comment.