main
ilhamwara 2025-06-11 14:39:44 +07:00
parent c63a4481a5
commit 0890f881ce
26 changed files with 547 additions and 74 deletions

View File

@ -0,0 +1,12 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class FrontController extends Controller
{
function index() {
return view('index');
}
}

View File

@ -1,3 +1,25 @@
@font-face {
font-family: 'Poppins';
src: url('../fonts/Poppins-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Poppins Bold';
src: url('../fonts/Poppins-Bold.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
body,h1,h2,h3,h4,h5,h6,p {
font-family: 'Poppins', sans-serif;
}
.bold{
font-family: 'Poppins Bold', sans-serif;
}
:root,
[data-bs-theme="light"] {
--bs-blue: #3e60d5;

View File

@ -0,0 +1,93 @@
Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -19,6 +19,7 @@
<!-- Icons css -->
<link href="{{asset('assets/css/icons.min.css')}}" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="{{asset('assets/css/toast.min.css')}}">
</head>
<body class="">
@ -143,6 +144,7 @@
</div>
<!-- Plugin Js -->
<script src="{{asset('assets/js/jquery.min.js')}}"></script>
<script src="{{asset('assets/libs/simplebar/simplebar.min.js')}}"></script>
<script src="{{asset('assets/libs/lucide/umd/lucide.min.js')}}"></script>
<script src="{{asset('assets/libs/@frostui/tailwindcss/frostui.js')}}"></script>
@ -156,6 +158,22 @@
<!-- Swiper Auth Demo Js -->
<script src="{{asset('assets/js/pages/auth-swiper.js')}}"></script>
<script src="{{asset('assets/js/toast.min.js')}}"></script>
<script>
@if (Session::get('type')=='error')
toastr.error("{{ Session::get('message') }}", 'Error!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'});
@endif
@if (Session::get('type')=='success')
toastr.success("{{ Session::get('message') }}", 'Berhasil!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'});
@endif
@if (Session::get('type')=='warning')
toastr.warning("{{ Session::get('message') }}", 'Whoopss!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'});
@endif
@if (Session::get('type')=='info')
toastr.info("{{ Session::get('message') }}", 'Info!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'});
@endif
</script>
</body>
</html>

View File

@ -0,0 +1,278 @@
@extends('layouts.app')
@section('content')
<div class="relative flex flex-col justify-center items-center mx-auto gap-10 bg-gradient-to-r from-cyan-500 to-success mix-blend-multiply blur-3xl inset-y-0 w-full -z-10" style='min-height:60vh;'>
<div>
<h1 class="text-white text-center bold text-4xl">Pencarian Data Menjadi Lebih Sederhana</h1>
</div>
<form action="">
<div class="flex flex-row justify-between items-center gap-10 rounded-full bg-white p-3">
<div>
<select name="" id="" class="form-select border-none">
<option value="">All</option>
</select>
</div>
<div class="">
<input type="text" class="px-6 form-input border-none" placeholder="Data apa yang ingin anda cari..">
</div>
<div class="pl-3">
<button class="btn"><i class="ri-search-line"></i></button>
</div>
</div>
</form>
<div class="relative container mx-auto">
<div class="flex flex-row -z-10 w-full gap-6 justify-center items-center">
<div class="card rounded-full p-3">
<div class="flex flex-row items-center gap-3">
<div class="p-3 ">
<i class="ri-database-line text-xl"></i>
</div>
<h5 class="text-xl bold">1.000</h5>
<span>Dataset</span>
</div>
</div>
<div class="card rounded-full p-3">
<div class="flex flex-row items-center gap-3">
<div class="p-3 ">
<i class="ri-survey-line text-xl"></i>
</div>
<h5 class="text-xl bold">290</h5>
<span>Survei</span>
</div>
</div>
<div class="card rounded-full p-3">
<div class="flex flex-row items-center gap-3">
<div class="p-3 ">
<i class="ri-box-3-line text-xl"></i>
</div>
<h5 class="text-xl bold">19</h5>
<span>Produk Statistik</span>
</div>
</div>
</div>
</div>
</div>
<div class="container mx-auto">
<div class="px-6 py-10">
<div class="grid md:grid-cols-3 xl:grid-cols-4 gap-6 justify-center items-center">
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-team-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Pekerjaan Umum</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-earth-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Kehutanan, Pertanian & Ketahanan Pangan</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-book-3-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Perpustakaan & Arsip</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-building-4-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Penataan Kota</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-riding-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Olahraga & Pemuda</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-line-chart-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Penanaman Modal</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-home-8-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Perumahan dan Kawasan Permikuman</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-home-office-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Pemerintahan</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-shake-hands-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Kesatuan Bangsa & Politik</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-group-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Kependudukan</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-plant-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Pertamanan & Pemakaman</h5>
</div>
</div>
</div>
<div class="card px-6 py-3 rounded-full">
<div class="flex flex-row items-center gap-2">
<div class="p-2 ">
<i class="ri-coins-line text-xl"></i>
</div>
<div class="">
<h5 class=" text-md">Perekonomian</h5>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card p-10">
<div class="container mx-auto">
<div class="flex flex-col gap-6">
<div>
<h5 class="bold text-2xl">Dataset Terbaru</h5>
</div>
<div>
<div class="flex flex-row gap-3">
<div class="card p-6">
<div class="flex flex-col gap-2">
<div class="flex flex-row gap-3">
<div>
<img src="https://lingkunganhidup.jakarta.go.id/dist/images/logo/logo-dlh-big.png" width="80" alt="">
</div>
<div class="flex flex-col gap-3">
<h4 class="font-bold text-md">Data Harga dan Pasokan Pangan Jakarta</h4>
<h4 class="text-xs">Dinas Lingkungan Hidup Provinsi DKI</h4>
</div>
</div>
<div>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae architecto et adipisci, laborum odit deserunt fuga asperiores sed sint! Officiis magni omnis neque.</p>
</div>
<div>
<p><i class="ri-calendar-line"></i>&nbsp;11-09-2025</p>
</div>
<div>
<a href="" class="btn bg-primary mt-4 text-white">Lihat Selengkapnya&nbsp;<i class="ri-arrow-right-line"></i></a>
</div>
</div>
</div>
<div class="card p-6">
<div class="flex flex-col gap-2">
<div class="flex flex-row gap-3">
<div>
<img src="https://lingkunganhidup.jakarta.go.id/dist/images/logo/logo-dlh-big.png" width="80" alt="">
</div>
<div class="flex flex-col gap-3">
<h4 class="font-bold text-md">Data Harga dan Pasokan Pangan Jakarta</h4>
<h4 class="text-xs">Dinas Lingkungan Hidup Provinsi DKI</h4>
</div>
</div>
<div>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae architecto et adipisci, laborum odit deserunt fuga asperiores sed sint! Officiis magni omnis neque.</p>
</div>
<div>
<p><i class="ri-calendar-line"></i>&nbsp;11-09-2025</p>
</div>
<div>
<a href="" class="btn bg-primary mt-4 text-white">Lihat Selengkapnya&nbsp;<i class="ri-arrow-right-line"></i></a>
</div>
</div>
</div>
<div class="card p-6">
<div class="flex flex-col gap-2">
<div class="flex flex-row gap-3">
<div>
<img src="https://lingkunganhidup.jakarta.go.id/dist/images/logo/logo-dlh-big.png" width="80" alt="">
</div>
<div class="flex flex-col gap-3">
<h4 class="font-bold text-md">Data Harga dan Pasokan Pangan Jakarta</h4>
<h4 class="text-xs">Dinas Lingkungan Hidup Provinsi DKI</h4>
</div>
</div>
<div>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae architecto et adipisci, laborum odit deserunt fuga asperiores sed sint! Officiis magni omnis neque.</p>
</div>
<div>
<p><i class="ri-calendar-line"></i>&nbsp;11-09-2025</p>
</div>
<div>
<a href="" class="btn bg-primary mt-4 text-white">Lihat Selengkapnya&nbsp;<i class="ri-arrow-right-line"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -1,80 +1,132 @@
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DIKPLHD | Dinas Lingkungan Hidup</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="shortcut icon" href="https://lingkunganhidup.jakarta.go.id/dist/images/logo/logo-dlh-big.png">
<link href="{{asset('assets/libs/jsvectormap/css/jsvectormap.min.css')}}" rel="stylesheet" type="text/css">
<link href="{{asset('assets/css/app.min.css')}}" rel="stylesheet" type="text/css">
<link href="{{asset('assets/css/icons.min.css')}}" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="{{asset('assets/css/bootstrap-table.min.css')}}">
<link rel="stylesheet" href="{{asset('assets/css/sweetalert.min.css')}}">
<link rel="stylesheet" href="{{asset('assets/css/toast.min.css')}}">
<link rel="stylesheet" href="{{asset('assets/css/select2/select2.bundle.css')}}">
<link rel="stylesheet" href="{{asset('assets/css/custom.css')}}">
<link rel="stylesheet" media="screen, print" href="{{asset('assets/css/datatables/datatables.bundle.css')}}">
<script src="{{asset('assets/js/config.js')}}"></script>
<title>{{ config('app.name', 'Laravel') }}</title>
<!-- Fonts -->
<link rel="dns-prefetch" href="//fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=Nunito" rel="stylesheet">
<!-- Scripts -->
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
@yield('css')
</head>
<body>
<div id="app">
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
<div class="container">
<a class="navbar-brand" href="{{ url('/') }}">
{{ config('app.name', 'Laravel') }}
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<!-- Left Side Of Navbar -->
<ul class="navbar-nav me-auto">
</ul>
<!-- Right Side Of Navbar -->
<ul class="navbar-nav ms-auto">
<!-- Authentication Links -->
@guest
@if (Route::has('login'))
<li class="nav-item">
<a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
</li>
@endif
@if (Route::has('register'))
<li class="nav-item">
<a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a>
</li>
@endif
@else
<li class="nav-item dropdown">
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
{{ Auth::user()->name }}
</a>
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="{{ route('logout') }}"
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
{{ __('Logout') }}
</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
@csrf
</form>
</div>
</li>
@endguest
</ul>
<body class="">
<nav class="relative bg-gradient-to-r from-cyan-500 to-success mix-blend-multiply blur-3xl">
<div class="container mx-auto">
<div class="flex justify-between items-center px-5 py-5">
<div class="flex flex-row items-center gap-3">
<div class="p-1 bg-white rounded-full">
<img src="https://lingkunganhidup.jakarta.go.id/dist/images/logo/logo-dlh-big.png" width="40" alt="">
</div>
<div>
<h5 class="text-white bold text-2xl">DIKPLHD</h5>
<h5 class="text-white ">Dinas Lingkungan Hidup</h5>
</div>
</div>
<div class="flex flex-row gap-10">
<a class="text-white font-bold" href="">Home</a>
<a class="text-white font-bold" href="">Open Data</a>
</div>
<div>
<a class="btn bg-white rounded-full pxy-4 border-none" href="">Login&nbsp;<i class="ri-login-box-line"></i></a>
</div>
</div>
</nav>
</div>
</nav>
@yield('content')
<main class="py-4">
@yield('content')
</main>
<div class="p-12 text-white" style="background:#309898;">
<div class="container">
<div class="flex flex-row justify-between items-center gap-6 mb-5">
<div>
<p>
Kontak Kami : <br>
Jl. Mandala V No. 67 Jakarta Timur <br>
Telp: (021) 8092744 <br>
Email:dinaslh@jakarta.go.id
</p>
</div>
<div class="flex flex-row justify-center items-center gap-2">
<div class="p-1 bg-white rounded-full">
<img src="https://lingkunganhidup.jakarta.go.id/images/weblink/logo_klhk.png" width="40" alt="">
</div>
<div class="p-1 bg-white rounded-full">
<img src="https://lingkunganhidup.jakarta.go.id/images/weblink/logoaja-jsc.png" width="40" alt="">
</div>
<div class="p-1 bg-white rounded-full">
<img src="https://lingkunganhidup.jakarta.go.id/images/weblink/UPsbadanaer.jpg" width="40" alt="">
</div>
<div class="p-1 bg-white rounded-full">
<img src="https://lingkunganhidup.jakarta.go.id/images/weblink/sipepeng1.jpg" width="40" alt="">
</div>
<div class="p-1 bg-white rounded-full">
<img src="https://lingkunganhidup.jakarta.go.id/images/weblink/logo-jca2.png" width="40" alt="">
</div>
<div class="p-1 bg-white rounded-full">
<img src="https://lingkunganhidup.jakarta.go.id/images/weblink/logo-dlh.png" width="40" alt="">
</div>
</div>
</div>
</div>
</div>
<div class="flex flex-row items-center justify-center pb-4 text-white bg-primary" style="background:#309898;">
<p>Copyright © {{date('Y')}} Dinas Lingkungan Hidup Provinsi DKI Jakarta. All Right Reserved</p>
</div>
<!-- Plugin Js -->
<script src="{{asset('assets/libs/simplebar/simplebar.min.js')}}"></script>
<script src="{{asset('assets/libs/lucide/umd/lucide.min.js')}}"></script>
<script src="{{asset('assets/libs/@frostui/tailwindcss/frostui.js')}}"></script>
<!-- App Js -->
<script src="{{asset('assets/js/jquery.min.js')}}"></script>
<script src="{{asset('assets/js/app.js')}}"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="{{asset('assets/js/bootstrap-table.min.js')}}"></script>
<script src="{{ asset('assets/js/sweetalert.min.js') }}"></script>
<script src="{{asset('assets/js/toast.min.js')}}"></script>
<script src="{{asset('assets/js/select2/select2.bundle.js')}}"></script>
<script type="text/javascript" src="{{asset('assets/js/datatables/datatables.bundle.js')}}"></script>
<script>
$(document).ready(function() {
$('.select2').select2();
$('.numberInput').on('input', function() {
this.value = this.value.replace(/[^0-9]/g, ''); // Hanya angka 0-9
});
});
@if (Session::get('type')=='error')
toastr.error("{{ Session::get('message') }}", 'Error!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'});
@endif
@if (Session::get('type')=='success')
toastr.success("{{ Session::get('message') }}", 'Berhasil!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'});
@endif
@if (Session::get('type')=='warning')
toastr.warning("{{ Session::get('message') }}", 'Whoopss!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'});
@endif
@if (Session::get('type')=='info')
toastr.info("{{ Session::get('message') }}", 'Info!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'});
@endif
</script>
<!-- Dashboard App js -->
@yield('js')
</body>
</html>
</html>

View File

@ -12,7 +12,7 @@
</div>
<div class="p-6">
<div id="toolbar">
<a href="{{route($route.'.create')}}" class="btn bg-primary text-white">Tambah Data</a>
<a href="{{route($route.'.create')}}" class="btn bg-success text-white"><i class="ri-add-line"></i>&nbsp;Tambah Data</a>
</div>
<table class="gridjs-table"
data-search="true"

View File

@ -2,6 +2,7 @@
use Illuminate\Support\Facades\Route;
use App\Http\Middleware\Session;
use App\Http\Controllers\FrontController;
use App\Http\Controllers\Auth\CustomLoginController;
use App\Http\Controllers\Auth\CustomRegisterController;
@ -16,10 +17,7 @@ use App\Http\Controllers\Auth\CustomRegisterController;
|
*/
Route::get('/', function () {
return redirect('login');
});
Route::get('/', [FrontController::class,'index'])->name('inde');
Route::get('/login', [CustomLoginController::class,'index'])->name('login');
Route::post('login',[CustomLoginController::class,'post_login'])->name('post_login');
Route::get('register',[CustomRegisterController::class,'index'])->name('register');