Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions resources/assets/sass/components/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,13 @@
}

.codeweek-form-field input{
flex: 1;
height: 57px;
border: 1px solid #e8e8e8;
border-radius: 29px;
text-indent: 20px;
width: 100%;
border-radius: 24px;
border: 2px solid var(--Dark-Blue-200, #A4B8D9);
color: var(--Slate-500, #333E48);
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 30px;
}

.codeweek-form-field textarea {
Expand Down
80 changes: 79 additions & 1 deletion resources/assets/sass/pages/login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,82 @@

.help-block .errorlist {
margin: 0;
}
}

.codeweek-content-wrapper {
display: flex;
justify-content: center;
align-items: left;
height: 100%;
padding: 80px 150px;
margin: 0 !important;
max-height: 850px;

}
.codeweek-content-wrapper-inside {
width: 760px;
padding: 64px;
flex-direction: column !important;
align-items: left;
gap: 40px;
background-color: #fff;
border-radius: 32px;
}


.reset_title {
color: var(--Dark-Blue-500, #1C4DA1);

/* Display md/Montserrat Medium */
font-family: Montserrat;
font-size: 36px;
font-style: normal;
font-weight: 500;
line-height: 44px; /* 122.222% */
letter-spacing: -0.72px;
padding-bottom: 40px;
}
.reset_description {
color: var(--Slate-500, #333E48);

/* Text xl/Blinker Regular */
font-family: Blinker;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 30px; /* 150% */
padding-bottom: 40px;
}

.codeweek-form-field input, .codeweek-form-field-wrapper input {
padding: 12px 0px;
}

#codeweek-login-page .codeweek-form-field{
flex-direction: column;
align-items: flex-start;
}

@media screen and (max-width: 1080px) {
.reset_title {
color: var(--Dark-Blue-500, #1C4DA1);
font-family: Montserrat;
font-size: 30px;
font-style: normal;
font-weight: 400;
line-height: 36px;
letter-spacing: -0.72px;
display: flex;
padding-bottom: 24px;
}

.reset_description {
font-family: Blinker;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 30px; /* 150% */
padding-bottom: 24px;
}
}

10 changes: 6 additions & 4 deletions resources/lang/en/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@
'google' => 'Sign in with Google',
'azure' => 'Sign in with Azure',

'email' => 'Email address',
'email' => 'E-Mail Address',
'password' => 'Password',
'remember' => 'Keep me signed in',
'forgotten_password' => 'Forgot Your Password',
'no_account' => 'Don\'t have an account ?',
'signup' => 'Sign Up',
'reset' => 'Reset Your Password',
'send_password' => 'Send Password Reset Link',
'send_password' => 'Reset Password',
'confirm_password' => 'Confirm Password',
'name' => 'Full name',
];
'name' => 'Fullname',
'resetpage_title' => 'Forgotten your password?',
'resetpage_description'=>'Confirm your email address below and we’ll send you instructions on how to create your new password',
];
31 changes: 16 additions & 15 deletions resources/views/auth/passwords/email.blade.php
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
@extends('layout.base')
@extends('layout.new_base')

@section('content')
<section id="codeweek-forgotpassword-page" class="codeweek-page">
<section id="codeweek-forgotpassword-page">
<section class="py-10 px-5 lg:p-20 bg-secondary-gradient flex justify-center relative overflow-hidden">

<section class="codeweek-banner simple">
<div class="text">
<h2>#EUCodeWeek</h2>
<h1>@lang('login.reset')</h1>
</div>
</section>

<section class="codeweek-content-wrapper">
<section class="bg-white pb-10 pt-6 px-6 lg:p-16 rounded-[2rem] w-full md:max-w-[760px] z-10" >

<section class="codeweek-content-wrapper-inside">
<div class="reset_title">@lang('login.resetpage_title')</div>
<div class="reset_description">@lang('login.resetpage_description')</div>
<form method="POST" action="{{ route('password.email') }}">
@csrf

<div class="codeweek-form-field-wrapper">
<div class="codeweek-form-field">
<label for="email">@lang('login.email')</label>
<input id="email" type="email" name="email"
<label for="email" class="font-normal text-xl">@lang('login.email')</label>
<input class="border-2 border-solid border-dark-blue-200 w-full rounded-full h-12 px-4 mt-3" id="email" type="email" name="email"
value="{{old('email')}}" required autofocus>
</div>
<div class="errors">
Expand All @@ -29,14 +24,20 @@

<div class="codeweek-form-button-container">
<div class="codeweek-button">
<input type="submit" value="@lang('login.send_password')">
<input class="cursor-pointer bg-primary hover:bg-hover-orange rounded-full py-4 px-20 font-semibold text-base w-full md:w-auto text-center text-[#20262C] transition-all duration-300" type="submit" value="@lang('login.send_password')">
</div>
</div>

</form>
<img
class="absolute top-0 -right-1/4 h-full max-w-[calc(70vw)] object-cover opacity-70 hidden md:block"
loading="lazy"
src="../images/login_bg.png"
style="clip-path: ellipse(70% 140% at 70% 25%);"
/>
</section>

</section>

</section>
@endsection
@endsection