update
							parent
							
								
									e82d1d9470
								
							
						
					
					
						commit
						844765f741
					
				|  | @ -9,21 +9,26 @@ class FrontController extends Controller | |||
|     function index() { | ||||
|         $data['side_kegiatan'] = Kegiatan::orderBy('KegiatanId','DESC')->limit(5)->get(); | ||||
|         $data['kegiatan'] = Kegiatan::orderBy('KegiatanId','DESC')->limit(8)->get(); | ||||
|         $data['title'] = 'Beranda'; | ||||
|         return view('index',$data); | ||||
|     } | ||||
|     function sekolah() { | ||||
|         $data['title'] = 'Daftar Sekolah Adiwiyata'; | ||||
|         return view('sekolah'); | ||||
|     } | ||||
|     function kegiatan() { | ||||
|         $data['title'] = 'Kegiatan Sekolah Adiwiyata'; | ||||
|         $data['kegiatan'] = Kegiatan::orderBy('KegiatanId','DESC')->paginate(8); | ||||
|         return view('kegiatan',$data); | ||||
|     } | ||||
|     function kegiatan_detail($slug) { | ||||
|         $data['title'] = 'Kegiatan Sekolah Adiwiyata'; | ||||
|         $data['kegiatan'] = Kegiatan::where('slug',$slug)->first(); | ||||
|         $data['lainnya'] = Kegiatan::where('KegiatanId','!=',$data['kegiatan']->KegiatanId)->orderBy('KegiatanId','DESC')->limit(4)->get(); | ||||
|         return view('kegiatan_detail',$data); | ||||
|     } | ||||
|     function galeri() { | ||||
|         $data['title'] = 'Galeri Sekolah Adiwiyata'; | ||||
|         $data['kegiatan'] = Kegiatan::orderBy('KegiatanId','DESC')->paginate(8); | ||||
|         return view('galeri',$data); | ||||
|     } | ||||
|  |  | |||
|  | @ -1,8 +1,9 @@ | |||
| @extends('layouts.app') | ||||
| @section('title',@$title) | ||||
| @section('content') | ||||
| <section id="section4" class="container mx-auto p-12 md:py-12"> | ||||
| 	<div class="flex justify-between mb-15"> | ||||
| 		<h4 class="text-lg md:text-2xl font-extrabold text-black">Galeri Adiwiyata</h4> | ||||
| 		<h4 class="text-lg md:text-2xl font-extrabold text-black">Galeri Sekolah Adiwiyata</h4> | ||||
| 	</div> | ||||
| 	<div class="flex flex-row gap-10"> | ||||
| 		<div class="grid grid-rows-1 md:grid-cols-3 lg:grid-cols-4 gap-5"> | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
|                 <!-- </a>  --> | ||||
|             </div> | ||||
|             <div class=""> | ||||
|                 <span class="page-logo-text fw-500 mr-1">Adiwiyata</span> | ||||
|                 <span class="page-logo-text fw-500 mr-1">Sekolah Adiwiyata</span> | ||||
|                 <p class="ml-2 mb-0">Provinsi DKI Jakarta</p> | ||||
|             </div> | ||||
|         </div> | ||||
|  |  | |||
|  | @ -1,4 +1,5 @@ | |||
| @extends('layouts.app') | ||||
| @section('title',@$title) | ||||
| @section('content') | ||||
| <section id="section1" class="relative overflow-hidden md:pt-20" style="min-height: 95vh"> | ||||
| 	<!-- Enhanced Animated Background Elements --> | ||||
|  |  | |||
|  | @ -1,8 +1,9 @@ | |||
| @extends('layouts.app') | ||||
| @section('title',@$title) | ||||
| @section('content') | ||||
| <section id="section3" class="container mx-auto p-12 md:py-12"> | ||||
| 	<div class="flex justify-between mb-15"> | ||||
| 		<h4 class="text-lg md:text-2xl font-extrabold text-black">Kegiatan Adiwiyata</h4> | ||||
| 		<h4 class="text-lg md:text-2xl font-extrabold text-black">Kegiatan Sekolah Adiwiyata</h4> | ||||
| 	</div> | ||||
| 	<div class="flex flex-row"> | ||||
| 		<div class="grid grid-rows-1 md:grid-cols-3 lg:grid-cols-4 gap-5"> | ||||
|  |  | |||
|  | @ -1,4 +1,5 @@ | |||
| @extends('layouts.app') | ||||
| @section('title',@$title) | ||||
| @section('content') | ||||
| <section id="section3" class="container mx-auto p-12 md:py-12"> | ||||
|     <div class="flex flex-row gap-10"> | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ | |||
| <html> | ||||
|   <head> | ||||
|     <meta charset="UTF-8" /> | ||||
| 	<title>Kegiatan | Sekolah Adiwiyata DKI Jakarta</title> | ||||
| 	<title>@yield('title',@$title) | Sekolah Adiwiyata DKI Jakarta</title> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||
| 
 | ||||
| 	<meta name="keywords" content="Sekolah Adiwiyata" /> | ||||
|  | @ -58,10 +58,10 @@ | |||
| 								<a href="{{ url('/') }}" class="block py-2 px-3" aria-current="page">Beranda</a> | ||||
| 							</li> | ||||
| 							<li> | ||||
| 								<a href="{{ url('sekolah') }}" class="block py-2 px-3">Sekolah Adiwiyata</a> | ||||
| 								<a href="{{ url('sekolah') }}" class="block py-2 px-3">Daftar Sekolah Adiwiyata</a> | ||||
| 							</li> | ||||
| 							<li> | ||||
| 								<a href="{{ url('kegiatan') }}" class="block py-2 px-3 text-success">Kegiatan Adiwiyata</a> | ||||
| 								<a href="{{ url('kegiatan') }}" class="block py-2 px-3 text-success">Kegiatan Sekolah Adiwiyata</a> | ||||
| 							</li> | ||||
| 							<li> | ||||
| 								<a href="{{ url('galeri') }}" class="block py-2 px-3">Galeri</a> | ||||
|  | @ -97,7 +97,7 @@ | |||
| 							</a> | ||||
| 						</div> | ||||
| 						<div> | ||||
| 							<h5 class="text-white font-bold mb-0">Sistem Informasi Adiwiyata</h5> | ||||
| 							<h5 class="text-white font-bold mb-0">Sistem Informasi Sekolah Adiwiyata</h5> | ||||
| 							<span class="text-white text-xs">Dinas Lingkungan Hidup DKI Jakarta</span> | ||||
| 						</div> | ||||
| 					</div> | ||||
|  |  | |||
|  | @ -1,4 +1,5 @@ | |||
| @extends('layouts.app') | ||||
| @section('title',@$title) | ||||
| @section('content') | ||||
| <section id="section4" class="container mx-auto p-12 md:py-12"> | ||||
|     <div class="flex justify-between mb-15"> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue