Add VerifyEmail and add panel for admin

main
matin 6 days ago
parent 5c87e92388
commit 6203718b0b

@ -6,6 +6,7 @@ use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Rule;
use Illuminate\Auth\Events\Registered;
use Laravel\Fortify\Contracts\CreatesNewUsers;
class CreateNewUser implements CreatesNewUsers
@ -40,5 +41,9 @@ class CreateNewUser implements CreatesNewUsers
'phone' => $input['phone'] ?? null,
'type' => 'user', // default
]);
event(new Registered($user));
return $user;
}
}

@ -0,0 +1,53 @@
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
class VerifyEmail extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*/
public function __construct()
{
//
}
/**
* Get the message envelope.
*/
public function envelope(): Envelope
{
return new Envelope(
subject: 'Verify Email',
);
}
/**
* Get the message content definition.
*/
public function content(): Content
{
return new Content(
markdown: 'emails.verify-email',
);
}
/**
* Get the attachments for the message.
*
* @return array<int, \Illuminate\Mail\Mailables\Attachment>
*/
public function attachments(): array
{
return [];
}
}

@ -2,15 +2,16 @@
namespace App\Models;
// use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Fortify\TwoFactorAuthenticatable;
class User extends Authenticatable
class User extends Authenticatable implements MustVerifyEmail
{
/** @use HasFactory<\Database\Factories\UserFactory> */
use HasFactory, Notifiable;
use HasFactory, Notifiable, TwoFactorAuthenticatable;
/**
* The attributes that are mass assignable.

@ -35,8 +35,6 @@ class FortifyServiceProvider extends ServiceProvider
return view('auth.register');
});
Fortify::createUsersUsing(CreateNewUser::class);
Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);

@ -146,7 +146,7 @@ return [
'features' => [
Features::registration(),
Features::resetPasswords(),
// Features::emailVerification(),
Features::emailVerification(),
Features::updateProfileInformation(),
Features::updatePasswords(),
Features::twoFactorAuthentication([

@ -16,6 +16,7 @@ return new class extends Migration
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('email_verification_token')->nullable();
$table->string('password');
$table->rememberToken();
$table->timestamps();

@ -1 +1,5 @@
This is Admin Home
@extends('admin.layouts.master')
@section('content')
this is Admin panel
@endsection

@ -0,0 +1,35 @@
<div class="intro-x dropdown w-8 h-8 relative">
<div class="dropdown-toggle w-8 h-8 rounded-full overflow-hidden shadow-lg image-fit zoom-in">
<img alt="Midone Tailwind HTML Admin Template" src="{{ asset('dist/images/profile-11.jpg') }}">
</div>
<div class="dropdown-box mt-10 absolute w-56 top-0 right-0 z-20">
<div class="dropdown-box__content box bg-theme-38 text-white">
<div class="p-4 border-b border-theme-40">
<div class="font-medium">Johnny Depp</div>
<div class="text-xs text-theme-41">DevOps Engineer</div>
</div>
<div class="p-2">
<a href=""
class="flex items-center block p-2 transition duration-300 ease-in-out hover:bg-theme-1 rounded-md">
<i data-feather="user" class="w-4 h-4 mr-2"></i> Profile </a>
<a href=""
class="flex items-center block p-2 transition duration-300 ease-in-out hover:bg-theme-1 rounded-md">
<i data-feather="edit" class="w-4 h-4 mr-2"></i> Add Account </a>
<a href=""
class="flex items-center block p-2 transition duration-300 ease-in-out hover:bg-theme-1 rounded-md">
<i data-feather="lock" class="w-4 h-4 mr-2"></i> Reset Password </a>
<a href=""
class="flex items-center block p-2 transition duration-300 ease-in-out hover:bg-theme-1 rounded-md">
<i data-feather="help-circle" class="w-4 h-4 mr-2"></i> Help </a>
</div>
<form action="{{ route('logout') }}" method="post">
@csrf
<div class="p-2 border-t border-theme-40">
<button type="submit"
class="flex items-center block p-2 transition duration-300 ease-in-out hover:bg-theme-1 rounded-md">
<i data-feather="toggle-right" class="w-4 h-4 mr-2"></i> Logout </button>
</div>
</form>
</div>
</div>
</div>

@ -0,0 +1,8 @@
<head>
<meta charset="utf-8">
<link href="{{ asset('dist/images/logo.svg') }}" rel="shortcut icon">
<title>@yield('title', 'Admin Dashboard')</title>
<!-- BEGIN: CSS Assets-->
<link rel="stylesheet" href="{{ asset('dist/css/app.css') }}" />
<!-- END: CSS Assets-->
</head>

@ -0,0 +1,5 @@
<script
src="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=[" your-google-map-api
"]&libraries=places"></script>
<script src="{{ asset('dist/js/app.js') }}"></script>

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<!-- BEGIN: Head -->
@include('admin.layouts.head-tag')
<!-- END: Head -->
<body class="app">
<!-- BEGIN: Mobile Menu -->
@include('admin.layouts.mobile-menu')
<!-- END: Mobile Menu -->
<div class="flex">
<!-- BEGIN: Side Menu -->
@include('admin.layouts.side-menu')
<!-- END: Side Menu -->
<!-- BEGIN: Content -->
<div class="content">
<!-- BEGIN: Top Bar -->
<div class="top-bar">
<!-- BEGIN: Breadcrumb -->
{{-- Todo: hear rote link on dashbord --}}
<div class="-intro-x breadcrumb mr-auto hidden sm:flex"><a href="" class="">Application</a> <i
data-feather="chevron-right" class="breadcrumb__icon"></i> <a href="" class="breadcrumb--active">Dashboard</a>
</div>
<!-- END: Breadcrumb -->
<!-- BEGIN: Account Menu -->
@include('admin.layouts.account-menu')
<!-- END: Account Menu -->
</div>
<!-- END: Top Bar -->
<div class="intro-y news p-5 box mt-8">
@yield('content', 'Welcome')
</div>
</div>
<!-- END: Content -->
</div>
<!-- BEGIN: JS Assets-->
@include('admin.layouts.js')
<!-- END: JS Assets-->
</body>
</html>

@ -0,0 +1,470 @@
<div class="mobile-menu md:hidden">
<div class="mobile-menu-bar">
<a href="" class="flex mr-auto">
<img alt="Midone Tailwind HTML Admin Template" class="w-6" src="{{ asset('dist/images/logo.svg') }}">
</a>
<a href="javascript:;" id="mobile-menu-toggler"> <i data-feather="bar-chart-2"
class="w-8 h-8 text-white transform -rotate-90"></i> </a>
</div>
<ul class="border-t border-theme-24 py-5 hidden">
<li>
<a href="index.html" class="menu">
<div class="menu__icon"><i data-feather="home"></i></div>
<div class="menu__title"> Dashboard</div>
</a>
</li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="box"></i></div>
<div class="menu__title"> Menu Layout <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="index.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Side Menu</div>
</a>
</li>
<li>
<a href="simple-menu-dashboard.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Simple Menu</div>
</a>
</li>
<li>
<a href="top-menu-dashboard.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Top Menu</div>
</a>
</li>
</ul>
</li>
<li>
<a href="side-menu-inbox.html" class="menu">
<div class="menu__icon"><i data-feather="inbox"></i></div>
<div class="menu__title"> Inbox</div>
</a>
</li>
<li>
<a href="side-menu-file-manager.html" class="menu">
<div class="menu__icon"><i data-feather="hard-drive"></i></div>
<div class="menu__title"> File Manager</div>
</a>
</li>
<li>
<a href="side-menu-point-of-sale.html" class="menu">
<div class="menu__icon"><i data-feather="credit-card"></i></div>
<div class="menu__title"> Point of Sale</div>
</a>
</li>
<li>
<a href="side-menu-chat.html" class="menu">
<div class="menu__icon"><i data-feather="message-square"></i></div>
<div class="menu__title"> Chat</div>
</a>
</li>
<li>
<a href="side-menu-post.html" class="menu">
<div class="menu__icon"><i data-feather="file-text"></i></div>
<div class="menu__title"> Post</div>
</a>
</li>
<li class="menu__devider my-6"></li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="edit"></i></div>
<div class="menu__title"> Crud <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-crud-data-list.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Data List</div>
</a>
</li>
<li>
<a href="side-menu-crud-form.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Form</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="users"></i></div>
<div class="menu__title"> Users <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-users-layout-1.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-users-layout-2.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Layout 2</div>
</a>
</li>
<li>
<a href="side-menu-users-layout-3.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Layout 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="trello"></i></div>
<div class="menu__title"> Profile <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-profile-overview-1.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Overview 1</div>
</a>
</li>
<li>
<a href="side-menu-profile-overview-2.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Overview 2</div>
</a>
</li>
<li>
<a href="side-menu-profile-overview-3.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Overview 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;.html" class="menu menu--active">
<div class="menu__icon"><i data-feather="layout"></i></div>
<div class="menu__title"> Pages <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="menu__sub-open">
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Wizards <i data-feather="chevron-down" class="menu__sub-icon"></i>
</div>
</a>
<ul class="">
<li>
<a href="side-menu-wizard-layout-1.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-wizard-layout-2.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 2</div>
</a>
</li>
<li>
<a href="side-menu-wizard-layout-3.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;.html" class="menu menu--active">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Blog <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="menu__sub-open">
<li>
<a href="side-menu-blog-layout-1.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-blog-layout-2.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 2</div>
</a>
</li>
<li>
<a href="side-menu-blog-layout-3.html" class="menu menu--active">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Pricing <i data-feather="chevron-down" class="menu__sub-icon"></i>
</div>
</a>
<ul class="">
<li>
<a href="side-menu-pricing-layout-1.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-pricing-layout-2.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 2</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Invoice <i data-feather="chevron-down" class="menu__sub-icon"></i>
</div>
</a>
<ul class="">
<li>
<a href="side-menu-invoice-layout-1.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-invoice-layout-2.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 2</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> FAQ <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-faq-layout-1.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-faq-layout-2.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 2</div>
</a>
</li>
<li>
<a href="side-menu-faq-layout-3.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Layout 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="login-login.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Login</div>
</a>
</li>
<li>
<a href="login-register.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Register</div>
</a>
</li>
<li>
<a href="main-error-page.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Error Page</div>
</a>
</li>
<li>
<a href="side-menu-update-profile.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Update profile</div>
</a>
</li>
<li>
<a href="side-menu-change-password.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Change Password</div>
</a>
</li>
</ul>
</li>
<li class="menu__devider my-6"></li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="inbox"></i></div>
<div class="menu__title"> Components <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Grid <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-regular-table.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Regular Table</div>
</a>
</li>
<li>
<a href="side-menu-datatable.html" class="menu">
<div class="menu__icon"><i data-feather="zap"></i></div>
<div class="menu__title">Datatable</div>
</a>
</li>
</ul>
</li>
<li>
<a href="side-menu-accordion.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Accordion</div>
</a>
</li>
<li>
<a href="side-menu-button.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Button</div>
</a>
</li>
<li>
<a href="side-menu-modal.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Modal</div>
</a>
</li>
<li>
<a href="side-menu-alert.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Alert</div>
</a>
</li>
<li>
<a href="side-menu-progress-bar.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Progress Bar</div>
</a>
</li>
<li>
<a href="side-menu-tooltip.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Tooltip</div>
</a>
</li>
<li>
<a href="side-menu-dropdown.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Dropdown</div>
</a>
</li>
<li>
<a href="side-menu-toast.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Toast</div>
</a>
</li>
<li>
<a href="side-menu-typography.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Typography</div>
</a>
</li>
<li>
<a href="side-menu-icon.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Icon</div>
</a>
</li>
<li>
<a href="side-menu-loading-icon.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Loading Icon</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="sidebar"></i></div>
<div class="menu__title"> Forms <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-regular-form.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Regular Form</div>
</a>
</li>
<li>
<a href="side-menu-datepicker.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Datepicker</div>
</a>
</li>
<li>
<a href="side-menu-select2.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Select2</div>
</a>
</li>
<li>
<a href="side-menu-file-upload.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> File Upload</div>
</a>
</li>
<li>
<a href="side-menu-wysiwyg-editor.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Wysiwyg Editor</div>
</a>
</li>
<li>
<a href="side-menu-validation.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Validation</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="menu">
<div class="menu__icon"><i data-feather="hard-drive"></i></div>
<div class="menu__title"> Widgets <i data-feather="chevron-down" class="menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-chart.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Chart</div>
</a>
</li>
<li>
<a href="side-menu-slider.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Slider</div>
</a>
</li>
<li>
<a href="side-menu-image-zoom.html" class="menu">
<div class="menu__icon"><i data-feather="activity"></i></div>
<div class="menu__title"> Image Zoom</div>
</a>
</li>
</ul>
</li>
</ul>
</div>

@ -0,0 +1,479 @@
<nav class="side-nav">
<a href="" class="intro-x flex items-center pl-5 pt-4">
<img alt="Midone Tailwind HTML Admin Template" class="w-6" src="dist/images/logo.svg">
<span class="hidden xl:block text-white text-lg ml-3"> Mid<span class="font-medium">one</span> </span>
</a>
<div class="side-nav__devider my-6"></div>
<ul>
<li>
<a href="index.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="home"></i></div>
<div class="side-menu__title"> Dashboard</div>
</a>
</li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="box"></i></div>
<div class="side-menu__title"> Menu Layout <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="index.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Side Menu</div>
</a>
</li>
<li>
<a href="simple-menu-dashboard.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Simple Menu</div>
</a>
</li>
<li>
<a href="top-menu-dashboard.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Top Menu</div>
</a>
</li>
</ul>
</li>
<li>
<a href="side-menu-inbox.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="inbox"></i></div>
<div class="side-menu__title"> Inbox</div>
</a>
</li>
<li>
<a href="side-menu-file-manager.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="hard-drive"></i></div>
<div class="side-menu__title"> File Manager</div>
</a>
</li>
<li>
<a href="side-menu-point-of-sale.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="credit-card"></i></div>
<div class="side-menu__title"> Point of Sale</div>
</a>
</li>
<li>
<a href="side-menu-chat.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="message-square"></i></div>
<div class="side-menu__title"> Chat</div>
</a>
</li>
<li>
<a href="side-menu-post.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="file-text"></i></div>
<div class="side-menu__title"> Post</div>
</a>
</li>
<li class="side-nav__devider my-6"></li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="edit"></i></div>
<div class="side-menu__title"> Crud <i data-feather="chevron-down" class="side-menu__sub-icon"></i>
</div>
</a>
<ul class="">
<li>
<a href="side-menu-crud-data-list.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Data List</div>
</a>
</li>
<li>
<a href="side-menu-crud-form.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Form</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="users"></i></div>
<div class="side-menu__title"> Users <i data-feather="chevron-down" class="side-menu__sub-icon"></i>
</div>
</a>
<ul class="">
<li>
<a href="side-menu-users-layout-1.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-users-layout-2.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Layout 2</div>
</a>
</li>
<li>
<a href="side-menu-users-layout-3.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Layout 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="trello"></i></div>
<div class="side-menu__title"> Profile <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-profile-overview-1.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Overview 1</div>
</a>
</li>
<li>
<a href="side-menu-profile-overview-2.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Overview 2</div>
</a>
</li>
<li>
<a href="side-menu-profile-overview-3.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Overview 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;.html" class="side-menu side-menu--active">
<div class="side-menu__icon"><i data-feather="layout"></i></div>
<div class="side-menu__title"> Pages <i data-feather="chevron-down" class="side-menu__sub-icon"></i>
</div>
</a>
<ul class="side-menu__sub-open">
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Wizards <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-wizard-layout-1.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-wizard-layout-2.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 2</div>
</a>
</li>
<li>
<a href="side-menu-wizard-layout-3.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;.html" class="side-menu side-menu--active">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Blog <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="side-menu__sub-open">
<li>
<a href="side-menu-blog-layout-1.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-blog-layout-2.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 2</div>
</a>
</li>
<li>
<a href="side-menu-blog-layout-3.html" class="side-menu side-menu--active">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Pricing <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-pricing-layout-1.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-pricing-layout-2.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 2</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Invoice <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-invoice-layout-1.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-invoice-layout-2.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 2</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> FAQ <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-faq-layout-1.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 1</div>
</a>
</li>
<li>
<a href="side-menu-faq-layout-2.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 2</div>
</a>
</li>
<li>
<a href="side-menu-faq-layout-3.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Layout 3</div>
</a>
</li>
</ul>
</li>
<li>
<a href="login-login.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Login</div>
</a>
</li>
<li>
<a href="login-register.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Register</div>
</a>
</li>
<li>
<a href="main-error-page.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Error Page</div>
</a>
</li>
<li>
<a href="side-menu-update-profile.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Update profile</div>
</a>
</li>
<li>
<a href="side-menu-change-password.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Change Password</div>
</a>
</li>
</ul>
</li>
<li class="side-nav__devider my-6"></li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="inbox"></i></div>
<div class="side-menu__title"> Components <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Grid <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-regular-table.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Regular Table</div>
</a>
</li>
<li>
<a href="side-menu-datatable.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="zap"></i></div>
<div class="side-menu__title">Datatable</div>
</a>
</li>
</ul>
</li>
<li>
<a href="side-menu-accordion.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Accordion</div>
</a>
</li>
<li>
<a href="side-menu-button.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Button</div>
</a>
</li>
<li>
<a href="side-menu-modal.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Modal</div>
</a>
</li>
<li>
<a href="side-menu-alert.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Alert</div>
</a>
</li>
<li>
<a href="side-menu-progress-bar.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Progress Bar</div>
</a>
</li>
<li>
<a href="side-menu-tooltip.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Tooltip</div>
</a>
</li>
<li>
<a href="side-menu-dropdown.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Dropdown</div>
</a>
</li>
<li>
<a href="side-menu-toast.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Toast</div>
</a>
</li>
<li>
<a href="side-menu-typography.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Typography</div>
</a>
</li>
<li>
<a href="side-menu-icon.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Icon</div>
</a>
</li>
<li>
<a href="side-menu-loading-icon.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Loading Icon</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="sidebar"></i></div>
<div class="side-menu__title"> Forms <i data-feather="chevron-down" class="side-menu__sub-icon"></i>
</div>
</a>
<ul class="">
<li>
<a href="side-menu-regular-form.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Regular Form</div>
</a>
</li>
<li>
<a href="side-menu-datepicker.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Datepicker</div>
</a>
</li>
<li>
<a href="side-menu-select2.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Select2</div>
</a>
</li>
<li>
<a href="side-menu-file-upload.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> File Upload</div>
</a>
</li>
<li>
<a href="side-menu-wysiwyg-editor.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Wysiwyg Editor</div>
</a>
</li>
<li>
<a href="side-menu-validation.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Validation</div>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="side-menu">
<div class="side-menu__icon"><i data-feather="hard-drive"></i></div>
<div class="side-menu__title"> Widgets <i data-feather="chevron-down"
class="side-menu__sub-icon"></i></div>
</a>
<ul class="">
<li>
<a href="side-menu-chart.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Chart</div>
</a>
</li>
<li>
<a href="side-menu-slider.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Slider</div>
</a>
</li>
<li>
<a href="side-menu-image-zoom.html" class="side-menu">
<div class="side-menu__icon"><i data-feather="activity"></i></div>
<div class="side-menu__title"> Image Zoom</div>
</a>
</li>
</ul>
</li>
</ul>
</nav>

@ -0,0 +1,28 @@
<div class="container py-4">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Verify Your Email Address') }}</div>
<div class="card-body">
@if (session('status') == 'verification-link-sent')
<div class="alert alert-success">
{{ __('A new verification link has been sent to your email address.') }}
</div>
@endif
{{ __('Before proceeding, please check your email for a verification link.') }}
{{ __('If you did not receive the email') }},
<form method="POST" action="{{ route('verification.send') }}">
@csrf
<button type="submit" class="btn btn-link p-0 m-0 align-baseline">
{{ __('click here to request another') }}
</button>.
</form>
</div>
</div>
</div>
</div>
</div>

@ -0,0 +1,11 @@
@component('mail::message')
# Verify Email Address
Click the button below to verify your email address.
@component('mail::button', ['url' => $verificationUrl])
Verify Email
@endcomponent
If you did not create an account, no further action is required.
@endcomponent

@ -1,13 +1,29 @@
<?php
use Illuminate\Support\Facades\Route;
use Laravel\Fortify\Features;
use Laravel\Fortify\Http\Controllers\EmailVerificationNotificationController;
use Laravel\Fortify\Http\Controllers\VerifyEmailController;
require __DIR__ . '/admin.php';
if (Features::enabled(Features::emailVerification())) {
Route::get('/email/verify', function () {
return view('auth.verify-email');
})->middleware(['auth'])->name('verification.notice');
Route::get('/email/verify/{id}/{hash}', [VerifyEmailController::class, '__invoke'])
->middleware(['auth', 'signed'])
->name('verification.verify');
Route::post('/email/verification-notification', [EmailVerificationNotificationController::class, 'store'])
->middleware(['auth', 'throttle:6,1'])
->name('verification.send');
}
Route::get('/', function () {
return view('welcome');
});
Route::middleware(['auth'])->group(function () {
Route::middleware(['auth', 'verified'])->group(function () {
Route::get('/dashboard', function () {
return view('dashboard.home');
})->name('dashboard');

Loading…
Cancel
Save