Feat: Login page and css related to it

This commit is contained in:
Sallu9007
2025-04-27 17:44:40 +05:30
parent 4156ebe873
commit 0cf3c0e396
81 changed files with 59936 additions and 53 deletions

View File

@@ -1,47 +1,50 @@
<x-guest-layout>
@extends('layouts.guest')
@section('title','Login')
@section('content')
<!-- Session Status -->
<link rel="stylesheet" href="{{ asset('assets/frontend/css/guest.css') }}">
<x-auth-session-status class="mb-4" :status="session('status')" />
<div class="fakeHeader">
<img src="{{ asset('assets\frontend\logos\kjsce-formerly.png') }}">
<h1 class="title mr-7">Faculty Documentation Portal</h1>
<img src="{{ asset('assets\frontend\logos\SomaiyaTrustLogo.png') }}">
</div>
<div class="loginFooter">
<div class="footerRight"></div><!--
--><div class="footerMiddle"></div><!--
--><div class="footerLeft"></div>
</div>
<form method="POST" action="{{ route('login') }}">
@csrf
<!-- Email Address -->
<div>
<x-input-label for="email" :value="__('Email')" />
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus autocomplete="username" />
<x-input-error :messages="$errors->get('email')" class="mt-2" />
</div>
<!-- Password -->
<div class="mt-4">
<x-input-label for="password" :value="__('Password')" />
<x-text-input id="password" class="block mt-1 w-full"
type="password"
name="password"
required autocomplete="current-password" />
<x-input-error :messages="$errors->get('password')" class="mt-2" />
</div>
<!-- Remember Me -->
<div class="block mt-4">
<label for="remember_me" class="inline-flex items-center">
<input id="remember_me" type="checkbox" class="rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500" name="remember">
<span class="ms-2 text-sm text-gray-600">{{ __('Remember me') }}</span>
</label>
</div>
<div class="flex items-center justify-end mt-4">
@if (Route::has('password.request'))
<a class="underline text-sm text-gray-600 hover:text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" href="{{ route('password.request') }}">
{{ __('Forgot your password?') }}
</a>
@endif
<x-primary-button class="ms-3">
{{ __('Log in') }}
</x-primary-button>
<!-- <div class="min-vh-100 min-vw-100 d-flex justify-content-center align-items-center"> -->
<div class="customHeight d-flex justify-content-center align-items-center">
<div class="container bg-white col-md-4 p-3 shadow-lg rounded border-0 m-3">
<form>
<div class="form_head">
<label class="fs-5">Welcome In,<br>Please Enter Your Credentials</label>
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label mt-4">SVV Username/Somaiya Email ID:</label>
<input type="email" id="email" class="form-control" name="email" aria-describedby="emailHelp" >
<x-input-error :messages="$errors->get('email')" class="mt-2 text-danger" />
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Password</label>
<input type="password" id="password" class="form-control" name="password">
<x-input-error :messages="$errors->get('password')" class="mt-2 text-danger" />
</div>
<div class="d-flex flex-row-reverse">
<a class="text-decoration-none text-danger" href="{{ route('password.request') }}">Forgot Your Password?</a>
</div>
<div class="d-flex justify-content-center align-items-center">
<button type="submit" class="btn btn-danger col-4 mt-4 ">Log in</button>
</div>
</form>
</div>
</div>
</form>
</x-guest-layout>
@endsection

View File

@@ -209,6 +209,11 @@
<!-- Select2 JS -->
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<!-- Chart JS -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2.0.0"></script>
@yield('scripts')
</body>
</html>

View File

@@ -1,30 +1,45 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
<title>@yield('title')</title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/vendors/bootstrap/css/bootstrap.min.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<!-- Scripts -->
@vite(['resources/css/app.css', 'resources/js/app.js'])
<!-- @vite(['resources/css/app.css', 'resources/js/app.js']) -->
</head>
<body class="font-sans text-gray-900 antialiased">
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100">
<div>
<a href="/">
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
</a>
</div>
<div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
{{ $slot }}
</div>
<style>
.container,
.navbar {
font-family: Roboto;
}
.viewPort{
background-image: url({{asset('assets/frontend/images/backgroundImage.png')}});
background-size: cover;
}
</style>
<body>
<!--<div class="fixed-top">
</div>-->
<div class="vh-100 col-md-12 ml-sm-auto col-lg-12 viewPort">
@yield('content')
</div>
</body>
<script type="text/javascript" src="{{ asset('assets/frontend/vendors/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
@yield('scripts')
</html>