update
parent
f7fc427836
commit
fe7e9da299
|
@ -17,6 +17,11 @@ class FrontController extends Controller
|
|||
$data['kegiatan'] = Kegiatan::orderBy('KegiatanId','DESC')->paginate(8);
|
||||
return view('kegiatan',$data);
|
||||
}
|
||||
function kegiatan_detail($slug) {
|
||||
$data['kegiatan'] = Kegiatan::where('slug',$slug)->first();
|
||||
$data['lainnya'] = Kegiatan::where('KegiatanId','!=',$data['kegiatan']->KegiatanId)->orderBy('KegiatanId','DESC')->limit(10)->get();
|
||||
return view('kegiatan_detail',$data);
|
||||
}
|
||||
function galeri() {
|
||||
return view('galeri');
|
||||
}
|
||||
|
|
|
@ -1,226 +1,117 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Sekolah | Sekolah Adiwiyata DKI Jakarta</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<meta name="keywords" content="Sekolah Adiwiyata" />
|
||||
<meta name="description" content="Sekolah Adiwiyata Lingkungan Hidup Provinsi DKI Jakarta">
|
||||
<meta name="author" content="ilham">
|
||||
<!-- Favicon -->
|
||||
<link rel="shortcut icon" href="{{ asset('assets/logo-dinas.ico') }}" type="image/x-icon" />
|
||||
|
||||
<link rel="apple-touch-icon" href="{{ asset('assets/logo-dinas.ico') }}">
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||
<style>
|
||||
.bg-success{
|
||||
background: #009D66!important;
|
||||
}
|
||||
.bg-warning{
|
||||
background: #F7AE15!important;
|
||||
}
|
||||
.bg-danger{
|
||||
background: #B9375D!important;
|
||||
}
|
||||
.bg-info{
|
||||
background: #3B38A0!important;
|
||||
}
|
||||
.text-success{
|
||||
color: #009D66!important;
|
||||
}
|
||||
.text-warning{
|
||||
color: #F7AE15!important;
|
||||
}
|
||||
.text-danger{
|
||||
color: #B9375D!important;
|
||||
}
|
||||
.text-info{
|
||||
color: #3B38A0!important;
|
||||
}
|
||||
.text-black{
|
||||
color: #333!important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg-white border-b-1 border-b-[#eaeaea]">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex flex-between justify-between items-center gap-5 mx-auto p-5">
|
||||
<div class="flex flex-row gap-10">
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
@extends('layouts.app')
|
||||
@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>
|
||||
</div>
|
||||
<div class="flex flex-row gap-10">
|
||||
<div class="grid grid-rows-1 md:grid-cols-3 lg:grid-cols-4 gap-5">
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('SDN Ciracas 15.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 15 Ciracas</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
{{-- <button class="rounded-md bg-gray-950/5 px-2.5 py-1.5 text-sm font-semibold text-gray-900 hover:bg-gray-950/10">Open dialog</button> --}}
|
||||
|
||||
<a href="#" data-url="{{ asset('SDN Ciracas 15.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
<div class="items-center justify-between hidden w-full md:flex md:w-auto md:order-1" id="navbar-cta">
|
||||
<ul class="flex flex-col font-medium p-4 md:p-0 mt-4 border md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 bg-white">
|
||||
<li>
|
||||
<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>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('kegiatan') }}" class="block py-2 px-3">Kegiatan Adiwiyata</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('galeri') }}" class="block py-2 px-3 text-success">Galeri</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse">
|
||||
<button data-collapse-toggle="navbar-cta" type="button" class="inline-flex items-right p-2 w-10 h-10 justify-end text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600" aria-controls="navbar-cta" aria-expanded="false">
|
||||
<span class="sr-only">Open main menu</span>
|
||||
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 17 14">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h15M1 7h15M1 13h15"/>
|
||||
</svg>
|
||||
</button>
|
||||
<a href="{{ url('login') }}" class="p-3 text-white bg-success rounded-[10px] mx-auto md:mx-0 text-center flex flex-row gap-3">
|
||||
<span>Login</span> <x-lucide-log-in width="20" class="text-white"/>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('SDN Pondok Kelapa 05.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 05 Pondok Kelapa</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('SDN Pondok Kelapa 05.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sma 67.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMAN 67 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('sma 67.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('man 2 jakarta.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi MAN 2 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('man 2 jakarta.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sdn lebak bulus 4.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 04 Lebak Bulus</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('sdn lebak bulus 4.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sma 10.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMAN 10 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('sma 10.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sdn pulogadung 07.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 07 Pulogadung</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('sdn pulogadung 07.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('berita.png') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMPN 197 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('berita.png') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<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>
|
||||
<div id="myModal" class="fixed inset-0 z-50 hidden bg-black/50 flex items-center justify-center">
|
||||
<div class="bg-white rounded-lg shadow-lg w-1/2 p-6 relative">
|
||||
<img src="" id="image" alt="" class="w-full">
|
||||
<!-- Tombol aksi -->
|
||||
<br>
|
||||
<div class="flex justify-end space-x-2">
|
||||
<button onclick="closeModal()" class="bg-gray-300 text-gray-700 px-4 py-2 cursor-pointer rounded">Tutup</button>
|
||||
</div>
|
||||
<div class="flex flex-row gap-10">
|
||||
<div class="grid grid-rows-1 md:grid-cols-3 lg:grid-cols-4 gap-5">
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('SDN Ciracas 15.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 15 Ciracas</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
{{-- <button class="rounded-md bg-gray-950/5 px-2.5 py-1.5 text-sm font-semibold text-gray-900 hover:bg-gray-950/10">Open dialog</button> --}}
|
||||
|
||||
<a href="#" data-url="{{ asset('SDN Ciracas 15.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('SDN Pondok Kelapa 05.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 05 Pondok Kelapa</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('SDN Pondok Kelapa 05.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sma 67.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMAN 67 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('sma 67.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('man 2 jakarta.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi MAN 2 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('man 2 jakarta.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sdn lebak bulus 4.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 04 Lebak Bulus</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('sdn lebak bulus 4.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sma 10.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMAN 10 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('sma 10.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sdn pulogadung 07.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 07 Pulogadung</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('sdn pulogadung 07.jpg') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('berita.png') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMPN 197 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" data-url="{{ asset('berita.png') }}" class="btnmodal p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div id="myModal" class="fixed inset-0 z-50 hidden bg-black/50 flex items-center justify-center">
|
||||
<div class="bg-white rounded-lg shadow-lg w-1/2 p-6 relative">
|
||||
<img src="" id="image" alt="" class="w-full">
|
||||
<!-- Tombol aksi -->
|
||||
<br>
|
||||
<div class="flex justify-end space-x-2">
|
||||
<button onclick="closeModal()" class="bg-gray-300 text-gray-700 px-4 py-2 cursor-pointer rounded">Tutup</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<section id="footer" class="bottom-0">
|
||||
<div class="bg-success p-3 ">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex justify-between items-center">
|
||||
<div class="flex gap-5 items-center">
|
||||
<div>
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse p-1 bg-white rounded-full">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<h5 class="text-white font-bold mb-0">Sistem Informasi Adiwiyata</h5>
|
||||
<span class="text-white text-xs">Dinas Lingkungan Hidup DKI Jakarta</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span class="text-white text-xs">© 2025 </span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
||||
<script>
|
||||
$('.btnmodal').on('click',function(){
|
||||
document.getElementById('myModal').classList.remove('hidden');
|
||||
$('#image').attr('src',$(this).data('url'));
|
||||
});
|
||||
function closeModal() {
|
||||
document.getElementById('myModal').classList.add('hidden');
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@section('js')
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
||||
<script>
|
||||
$('.btnmodal').on('click',function(){
|
||||
document.getElementById('myModal').classList.remove('hidden');
|
||||
$('#image').attr('src',$(this).data('url'));
|
||||
});
|
||||
function closeModal() {
|
||||
document.getElementById('myModal').classList.add('hidden');
|
||||
}
|
||||
</script>
|
||||
@endsection
|
|
@ -1,323 +1,216 @@
|
|||
<!doctype html>
|
||||
<html class="scroll-smooth">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Beranda | Sekolah Adiwiyata DKI Jakarta</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
@extends('layouts.app')
|
||||
@section('content')
|
||||
<section id="section1" class="relative overflow-hidden md:pt-20" style="min-height: 95vh">
|
||||
<!-- Enhanced Animated Background Elements -->
|
||||
<div class="absolute inset-0 bg-gradient-to-br from-slate-50 via-white to-gray-100">
|
||||
<div class="absolute inset-0 bg-grid-pattern opacity-[0.03]"></div>
|
||||
<div class="absolute top-0 left-0 w-full h-full overflow-hidden">
|
||||
<div class="blob blob-1 absolute top-[10%] right-[15%] w-[40vw] h-[40vw] rounded-full mix-blend-multiply filter blur-[80px] animate-blob-slow opacity-15 bg-gradient-to-br from-green-300 to-emerald-400"></div>
|
||||
<div class="blob blob-2 absolute bottom-[5%] left-[20%] w-[35vw] h-[35vw] rounded-full mix-blend-multiply filter blur-[80px] animate-blob-slow animation-delay-2000 opacity-15 bg-gradient-to-br from-amber-300 to-orange-400"></div>
|
||||
<div class="blob blob-3 absolute top-[30%] left-[10%] w-[30vw] h-[30vw] rounded-full mix-blend-multiply filter blur-[80px] animate-blob-slow animation-delay-4000 opacity-15 bg-gradient-to-tr from-green-400 to-teal-300"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<meta name="keywords" content="Sekolah Adiwiyata" />
|
||||
<meta name="description" content="Sekolah Adiwiyata Lingkungan Hidup Provinsi DKI Jakarta">
|
||||
<meta name="author" content="ilham">
|
||||
<!-- Favicon -->
|
||||
<link rel="shortcut icon" href="{{ asset('assets/logo-dinas.ico') }}" type="image/x-icon" />
|
||||
|
||||
<link rel="apple-touch-icon" href="{{ asset('assets/logo-dinas.ico') }}">
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||
<style>
|
||||
.bg-success{
|
||||
background: #009D66!important;
|
||||
}
|
||||
.bg-warning{
|
||||
background: #F7AE15!important;
|
||||
}
|
||||
.bg-danger{
|
||||
background: #B9375D!important;
|
||||
}
|
||||
.bg-info{
|
||||
background: #3B38A0!important;
|
||||
}
|
||||
.text-success{
|
||||
color: #009D66!important;
|
||||
}
|
||||
.text-warning{
|
||||
color: #F7AE15!important;
|
||||
}
|
||||
.text-danger{
|
||||
color: #B9375D!important;
|
||||
}
|
||||
.text-info{
|
||||
color: #3B38A0!important;
|
||||
}
|
||||
.text-black{
|
||||
color: #333!important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg-white border-b-1 border-b-[#eaeaea]">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex flex-between justify-between items-center gap-5 mx-auto p-5">
|
||||
<div class="flex flex-row gap-10">
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
<div class="flex flex-col md:flex-row px-4 container mx-auto my-40 md:my-0 gap-3">
|
||||
<div class="w-full md:w-3/5 z-10 relative items-center">
|
||||
<div class="flex flex-col justify-center text-center md:text-left item-center gap-0">
|
||||
<h4 class="mb-2 text-lg font-semibold animate-fade-in" style="animation-delay: 0.4s">
|
||||
<span class="text-black">Portal Resmi</span>
|
||||
</h4>
|
||||
<h2 class="mb-5 text-3xl md:text-3xl lg:text-4xl font-extrabold animate-fade-in" style="animation-delay: 0.4s">
|
||||
<span class="text-warning">Sekolah Adiwiyata</span> <br>
|
||||
<span class="text-black">Provinsi DKI Jakarta</span>
|
||||
</h2>
|
||||
|
||||
<p class="mb-5 text-gray-600 text-lg max-w-2xl leading-relaxed mb-2 animate-fade-in" style="animation-delay: 0.8s">
|
||||
Sistem Informasi Adiwiyata. <br> Pusat Pengembangan Generasi Lingkungan Hidup
|
||||
</p>
|
||||
<a onclick="document.getElementById('section2').scrollIntoView({ behavior: 'smooth' });" class="p-3 cursor-pointer text-white bg-success rounded-[10px] mx-auto md:mx-0 w-50 text-center flex flex-row gap-3 shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<span>Lihat Selengkapnya</span> <x-lucide-arrow-down width="20" class="text-white"/>
|
||||
</a>
|
||||
<div class="items-center justify-between hidden w-full md:flex md:w-auto md:order-1" id="navbar-cta">
|
||||
<ul class="flex flex-col font-medium p-4 md:p-0 mt-4 border md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 bg-white">
|
||||
<li>
|
||||
<a href="{{ url('/') }}" class="block py-2 px-3 text-success" aria-current="page">Beranda</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('sekolah') }}" class="block py-2 px-3">Sekolah Adiwiyata</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('kegiatan') }}" class="block py-2 px-3">Kegiatan Adiwiyata</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('galeri') }}" class="block py-2 px-3">Galeri</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-2/5 relative flex md:block hidden">
|
||||
<div class="flex flex-col absolute top-0 left-0 right-10 w-full h-full">
|
||||
<img class="left-[100px] top-0 absolute " src="{{ asset('img2.svg') }}" />
|
||||
<img class="left-0 top-[90px] absolute " src="{{ asset('img1.svg') }}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="section2" class="container mx-auto p-12 md:py-12">
|
||||
<div class="grid grid-rows-1 md:grid-cols-3 gap-5">
|
||||
<div class="bg-danger flex flex-col justify-around text-white rounded-xl gap-3 min-h-[30vh] shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<div class="text-6xl lg:text-7xl font-extrabold text-center">68</div>
|
||||
<div class="flex justify-around items-center">
|
||||
<div class="flex flex-col">
|
||||
<span class="font-extrabold">Kota</span>
|
||||
<span class="opacity-[70%]">Sekolah Adiwiyata</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="font-extrabold">2025</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-info flex flex-col justify-around text-white rounded-xl gap-3 min-h-[30vh] shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<div class="text-6xl lg:text-7xl font-extrabold text-center">137</div>
|
||||
<div class="flex justify-around items-center">
|
||||
<div class="flex flex-col">
|
||||
<span class="font-extrabold">Provinsi</span>
|
||||
<span class="opacity-[70%]">Sekolah Adiwiyata</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="font-extrabold">2025</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-warning flex flex-col justify-around text-white rounded-xl gap-3 min-h-[30vh] shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<div class="text-6xl lg:text-7xl font-extrabold text-center">89</div>
|
||||
<div class="flex justify-around items-center">
|
||||
<div class="flex flex-col">
|
||||
<span class="font-extrabold">Nasional</span>
|
||||
<span class="opacity-[70%]">Sekolah Adiwiyata</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="font-extrabold">2025</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<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>
|
||||
<a href="{{ url('kegiatan') }}" class="p-2 text-white text-sm bg-warning rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 ">
|
||||
<span>Lihat Semua</span> <x-lucide-arrow-right width="20" class="text-white text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex flex-row gap-10">
|
||||
<div class="w-full lg:w-2/3">
|
||||
<div class="flex flex-col gap-3">
|
||||
<img src="{{ asset('uploads/'.$kegiatan[0]->image) }}" alt="" class="w-full lg:w-[100%] rounded-[10px]">
|
||||
<div class="flex flex-row gap-3 items-center">
|
||||
<span class="p-2 bg-warning text-xs rounded-[10px] text-white">Kegiatan {{ $kegiatan[0]->kategori }}</span>
|
||||
<span class="text-xs opacity-[50%]">{{ date('D',strtotime($kegiatan[0]->created_at)) }}, {{ date('d M Y',strtotime($kegiatan[0]->created_at)) }}</span>
|
||||
</div>
|
||||
<h4 class="text-2xl text-black font-bold mt-2">{{ $kegiatan[0]->judul }}</h4>
|
||||
<div class="text-sm opacity-[50%]">
|
||||
{!! substr(strip_tags($kegiatan[0]->body),0,1000) !!}
|
||||
</div>
|
||||
<a href="{{ url('kegiatan/'.$kegiatan[0]->slug) }}" class="text-sm text-warning rounded-[10px] mx-auto md:mx-0 flex flex-row gap-3 ">
|
||||
<span>Baca Selengkapnya</span> <x-lucide-arrow-right width="20" class="text-warning"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden lg:block w-1/3">
|
||||
<div class="flex flex-col gap-3">
|
||||
@foreach($kegiatan as $dataKeg)
|
||||
<div class="flex items-center gap-3 flex-row border-b-1 border-b-[#eee] pb-3">
|
||||
<div class="flex justify-end w-2/5">
|
||||
<img src="{{ asset('uploads/'.$dataKeg->image) }}" class="rounded-[10px] ">
|
||||
</div>
|
||||
<div class="flex flex-col gap-3 justify-center w-3/5">
|
||||
<span class="text-xs opacity-[50%]">{{ date('D',strtotime($dataKeg->created_at)) }}, {{ date('d M Y',strtotime($dataKeg->created_at)) }}</span>
|
||||
<a href="{{ url('kegiatan/'.$dataKeg->slug) }}" class="text-xs text-black font-bold">{{ $dataKeg->judul }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse">
|
||||
<button data-collapse-toggle="navbar-cta" type="button" class="inline-flex items-right p-2 w-10 h-10 justify-end text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600" aria-controls="navbar-cta" aria-expanded="false">
|
||||
<span class="sr-only">Open main menu</span>
|
||||
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 17 14">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h15M1 7h15M1 13h15"/>
|
||||
</svg>
|
||||
</button>
|
||||
<a href="{{ url('login') }}" class="p-3 text-white bg-success rounded-[10px] mx-auto md:mx-0 text-center flex flex-row gap-3">
|
||||
<span>Login</span> <x-lucide-log-in width="20" class="text-white"/>
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<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>
|
||||
<a href="{{ url('galeri') }}" class="p-2 text-white text-sm bg-warning rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 ">
|
||||
<span>Lihat Semua</span> <x-lucide-arrow-right width="20" class="text-white text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex flex-row gap-10">
|
||||
<div class="grid grid-rows-1 md:grid-cols-3 lg:grid-cols-4 gap-5">
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('SDN Ciracas 15.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 15 Ciracas</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('SDN Pondok Kelapa 05.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 05 Pondok Kelapa</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sma 67.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMAN 67 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('man 2 jakarta.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi MAN 2 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sdn lebak bulus 4.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 04 Lebak Bulus</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sma 10.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMAN 10 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sdn pulogadung 07.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 07 Pulogadung</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('berita.png') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMPN 197 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section id="section1" class="relative overflow-hidden md:pt-20" style="min-height: 95vh">
|
||||
<!-- Enhanced Animated Background Elements -->
|
||||
<div class="absolute inset-0 bg-gradient-to-br from-slate-50 via-white to-gray-100">
|
||||
<div class="absolute inset-0 bg-grid-pattern opacity-[0.03]"></div>
|
||||
<div class="absolute top-0 left-0 w-full h-full overflow-hidden">
|
||||
<div class="blob blob-1 absolute top-[10%] right-[15%] w-[40vw] h-[40vw] rounded-full mix-blend-multiply filter blur-[80px] animate-blob-slow opacity-15 bg-gradient-to-br from-green-300 to-emerald-400"></div>
|
||||
<div class="blob blob-2 absolute bottom-[5%] left-[20%] w-[35vw] h-[35vw] rounded-full mix-blend-multiply filter blur-[80px] animate-blob-slow animation-delay-2000 opacity-15 bg-gradient-to-br from-amber-300 to-orange-400"></div>
|
||||
<div class="blob blob-3 absolute top-[30%] left-[10%] w-[30vw] h-[30vw] rounded-full mix-blend-multiply filter blur-[80px] animate-blob-slow animation-delay-4000 opacity-15 bg-gradient-to-tr from-green-400 to-teal-300"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col md:flex-row px-4 container mx-auto my-40 md:my-0 gap-3">
|
||||
<div class="w-full md:w-3/5 z-10 relative items-center">
|
||||
<div class="flex flex-col justify-center text-center md:text-left item-center gap-0">
|
||||
<h4 class="mb-2 text-lg font-semibold animate-fade-in" style="animation-delay: 0.4s">
|
||||
<span class="text-black">Portal Resmi</span>
|
||||
</h4>
|
||||
<h2 class="mb-5 text-3xl md:text-3xl lg:text-4xl font-extrabold animate-fade-in" style="animation-delay: 0.4s">
|
||||
<span class="text-warning">Sekolah Adiwiyata</span> <br>
|
||||
<span class="text-black">Provinsi DKI Jakarta</span>
|
||||
</h2>
|
||||
|
||||
<p class="mb-5 text-gray-600 text-lg max-w-2xl leading-relaxed mb-2 animate-fade-in" style="animation-delay: 0.8s">
|
||||
Sistem Informasi Adiwiyata. <br> Pusat Pengembangan Generasi Lingkungan Hidup
|
||||
</p>
|
||||
<a onclick="document.getElementById('section2').scrollIntoView({ behavior: 'smooth' });" class="p-3 cursor-pointer text-white bg-success rounded-[10px] mx-auto md:mx-0 w-50 text-center flex flex-row gap-3 shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<span>Lihat Selengkapnya</span> <x-lucide-arrow-down width="20" class="text-white"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-2/5 relative flex md:block hidden">
|
||||
<div class="flex flex-col absolute top-0 left-0 right-10 w-full h-full">
|
||||
<img class="left-[100px] top-0 absolute " src="{{ asset('img2.svg') }}" />
|
||||
<img class="left-0 top-[90px] absolute " src="{{ asset('img1.svg') }}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="section2" class="container mx-auto p-12 md:py-12">
|
||||
<div class="grid grid-rows-1 md:grid-cols-3 gap-5">
|
||||
<div class="bg-danger flex flex-col justify-around text-white rounded-xl gap-3 min-h-[30vh] shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<div class="text-6xl lg:text-7xl font-extrabold text-center">68</div>
|
||||
<div class="flex justify-around items-center">
|
||||
<div class="flex flex-col">
|
||||
<span class="font-extrabold">Kota</span>
|
||||
<span class="opacity-[70%]">Sekolah Adiwiyata</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="font-extrabold">2025</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-info flex flex-col justify-around text-white rounded-xl gap-3 min-h-[30vh] shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<div class="text-6xl lg:text-7xl font-extrabold text-center">137</div>
|
||||
<div class="flex justify-around items-center">
|
||||
<div class="flex flex-col">
|
||||
<span class="font-extrabold">Provinsi</span>
|
||||
<span class="opacity-[70%]">Sekolah Adiwiyata</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="font-extrabold">2025</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-warning flex flex-col justify-around text-white rounded-xl gap-3 min-h-[30vh] shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<div class="text-6xl lg:text-7xl font-extrabold text-center">89</div>
|
||||
<div class="flex justify-around items-center">
|
||||
<div class="flex flex-col">
|
||||
<span class="font-extrabold">Nasional</span>
|
||||
<span class="opacity-[70%]">Sekolah Adiwiyata</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="font-extrabold">2025</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<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>
|
||||
<a href="{{ url('kegiatan') }}" class="p-2 text-white text-sm bg-warning rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 ">
|
||||
<span>Lihat Semua</span> <x-lucide-arrow-right width="20" class="text-white text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex flex-row gap-10">
|
||||
<div class="w-full lg:w-2/3">
|
||||
<div class="flex flex-col gap-3">
|
||||
<img src="{{ asset('uploads/'.$kegiatan[0]->image) }}" alt="" class="w-full lg:w-[100%] rounded-[10px]">
|
||||
<div class="flex flex-row gap-3 items-center">
|
||||
<span class="p-2 bg-warning text-xs rounded-[10px] text-white">Kegiatan {{ $kegiatan[0]->kategori }}</span>
|
||||
<span class="text-xs opacity-[50%]">{{ date('D',strtotime($kegiatan[0]->created_at)) }}, {{ date('d M Y',strtotime($kegiatan[0]->created_at)) }}</span>
|
||||
</div>
|
||||
<h4 class="text-2xl text-black font-bold mt-2">{{ $kegiatan[0]->judul }}</h4>
|
||||
<div class="text-sm opacity-[50%]">
|
||||
{!! substr(strip_tags($kegiatan[0]->body),0,1000) !!}
|
||||
</div>
|
||||
<a href="{{ url('kegiatan/'.$kegiatan[0]->slug) }}" class="text-sm text-warning rounded-[10px] mx-auto md:mx-0 flex flex-row gap-3 ">
|
||||
<span>Baca Selengkapnya</span> <x-lucide-arrow-right width="20" class="text-warning"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden lg:block w-1/3">
|
||||
<div class="flex flex-col gap-3">
|
||||
@foreach($kegiatan as $dataKeg)
|
||||
<div class="flex items-center gap-3 flex-row border-b-1 border-b-[#eee] pb-3">
|
||||
<div class="flex justify-end w-2/5">
|
||||
<img src="{{ asset('uploads/'.$dataKeg->image) }}" class="rounded-[10px] ">
|
||||
</div>
|
||||
<div class="flex flex-col gap-3 justify-center w-3/5">
|
||||
<span class="text-xs opacity-[50%]">{{ date('D',strtotime($dataKeg->created_at)) }}, {{ date('d M Y',strtotime($dataKeg->created_at)) }}</span>
|
||||
<a href="{{ url('kegiatan/'.$dataKeg->slug) }}" class="text-xs text-black font-bold">{{ $dataKeg->judul }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<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>
|
||||
<a href="{{ url('galeri') }}" class="p-2 text-white text-sm bg-warning rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 ">
|
||||
<span>Lihat Semua</span> <x-lucide-arrow-right width="20" class="text-white text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex flex-row gap-10">
|
||||
<div class="grid grid-rows-1 md:grid-cols-3 lg:grid-cols-4 gap-5">
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('SDN Ciracas 15.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 15 Ciracas</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('SDN Pondok Kelapa 05.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 05 Pondok Kelapa</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sma 67.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMAN 67 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('man 2 jakarta.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi MAN 2 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sdn lebak bulus 4.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 04 Lebak Bulus</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sma 10.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMAN 10 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('sdn pulogadung 07.jpg') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SDN 07 Pulogadung</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative group w-full overflow-hidden rounded-lg shadow-[10px_10px_10px_0px_rgba(0,0,0,0.25)]">
|
||||
<img src="{{ asset('berita.png') }}" class="w-full h-full object-cover" alt="Galeri">
|
||||
<div class="absolute inset-0 bg-success bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-center p-4 gap-3">
|
||||
<h4 class="mb-5 font-bold text-white w-50">Dokumentasi SMPN 197 Jakarta</h4>
|
||||
{{-- <p class="text-white text-sm font-normal">1 Agustus 2025</p> --}}
|
||||
<a href="#" class="p-2 text-black text-sm bg-white opacity-50 rounded-[10px] mx-auto md:mx-0 text-center flex flex-row justify-between gap-3 w-40 ">
|
||||
<span>Lihat Detail</span> <x-lucide-arrow-right width="20" class="text-black text-right"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="footer">
|
||||
<div class="bg-success p-3 ">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex justify-between items-center">
|
||||
<div class="flex gap-5 items-center">
|
||||
<div>
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse p-1 bg-white rounded-full">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<h5 class="text-white font-bold mb-0">Sistem Informasi Adiwiyata</h5>
|
||||
<span class="text-white text-xs">Dinas Lingkungan Hidup DKI Jakarta</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span class="text-white text-xs">© 2025 </span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
</section>
|
||||
@endsection
|
|
@ -1,147 +1,33 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Kegiatan | Sekolah Adiwiyata DKI Jakarta</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<meta name="keywords" content="Sekolah Adiwiyata" />
|
||||
<meta name="description" content="Sekolah Adiwiyata Lingkungan Hidup Provinsi DKI Jakarta">
|
||||
<meta name="author" content="ilham">
|
||||
<!-- Favicon -->
|
||||
<link rel="shortcut icon" href="{{ asset('assets/logo-dinas.ico') }}" type="image/x-icon" />
|
||||
|
||||
<link rel="apple-touch-icon" href="{{ asset('assets/logo-dinas.ico') }}">
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||
<style>
|
||||
.bg-success{
|
||||
background: #009D66!important;
|
||||
}
|
||||
.bg-warning{
|
||||
background: #F7AE15!important;
|
||||
}
|
||||
.bg-danger{
|
||||
background: #B9375D!important;
|
||||
}
|
||||
.bg-info{
|
||||
background: #3B38A0!important;
|
||||
}
|
||||
.text-success{
|
||||
color: #009D66!important;
|
||||
}
|
||||
.text-warning{
|
||||
color: #F7AE15!important;
|
||||
}
|
||||
.text-danger{
|
||||
color: #B9375D!important;
|
||||
}
|
||||
.text-info{
|
||||
color: #3B38A0!important;
|
||||
}
|
||||
.text-black{
|
||||
color: #333!important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg-white border-b-1 border-b-[#eaeaea]">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex flex-between justify-between items-center gap-5 mx-auto p-5">
|
||||
<div class="flex flex-row gap-10">
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
</a>
|
||||
<div class="items-center justify-between hidden w-full md:flex md:w-auto md:order-1" id="navbar-cta">
|
||||
<ul class="flex flex-col font-medium p-4 md:p-0 mt-4 border md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 bg-white">
|
||||
<li>
|
||||
<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>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('kegiatan') }}" class="block py-2 px-3 text-success">Kegiatan Adiwiyata</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('galeri') }}" class="block py-2 px-3">Galeri</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse">
|
||||
<button data-collapse-toggle="navbar-cta" type="button" class="inline-flex items-right p-2 w-10 h-10 justify-end text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600" aria-controls="navbar-cta" aria-expanded="false">
|
||||
<span class="sr-only">Open main menu</span>
|
||||
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 17 14">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h15M1 7h15M1 13h15"/>
|
||||
</svg>
|
||||
</button>
|
||||
<a href="{{ url('login') }}" class="p-3 text-white bg-success rounded-[10px] mx-auto md:mx-0 text-center flex flex-row gap-3">
|
||||
<span>Login</span> <x-lucide-log-in width="20" class="text-white"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@extends('layouts.app')
|
||||
@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>
|
||||
</div>
|
||||
<div class="flex flex-row">
|
||||
<div class="grid grid-rows-1 md:grid-cols-3 lg:grid-cols-4 gap-5">
|
||||
@foreach($kegiatan as $dataKeg)
|
||||
<div class="p-3 border border-[#eaeaea] rounded-[10px] shadow-[2px_1px_5px_0px_rgba(0,0,0,0.10)]">
|
||||
<div class="flex flex-col gap-3">
|
||||
<img src="{{ asset('uploads/'.$dataKeg->image) }}" alt="" class="w-full object-cover rounded-sm h-40 lg:w-[100%]">
|
||||
<div class="flex flex-row gap-3 items-center">
|
||||
<span class="p-2 bg-warning text-xs rounded-[10px] text-white">Kegiatan {{ $dataKeg->kategori }}</span>
|
||||
<span class="text-xs opacity-[50%]">{{ date('D',strtotime($dataKeg->created_at)) }}, {{ date('d M Y',strtotime($dataKeg->created_at)) }}</span>
|
||||
</div>
|
||||
<h4 class="text-md text-black font-bold mt-2">{{ $dataKeg->judul }}</h4>
|
||||
<div class="text-xs opacity-[50%]">
|
||||
{!! substr(strip_tags($dataKeg->body),0,200) !!}
|
||||
</div>
|
||||
<a href="{{ url('kegiatan/'.$dataKeg->slug) }}" class="text-sm text-warning rounded-[10px] mx-auto md:mx-0 flex flex-row gap-3 ">
|
||||
<span>Baca Selengkapnya</span> <x-lucide-arrow-right width="20" class="text-warning"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<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>
|
||||
</div>
|
||||
<div class="flex flex-row">
|
||||
<div class="grid grid-rows-1 md:grid-cols-3 lg:grid-cols-4 gap-5">
|
||||
@foreach($kegiatan as $dataKeg)
|
||||
<div class="p-3 border border-[#eaeaea] rounded-[10px] shadow-[2px_1px_5px_0px_rgba(0,0,0,0.10)]">
|
||||
<div class="flex flex-col gap-3">
|
||||
<img src="{{ asset('uploads/'.$dataKeg->image) }}" alt="" class="w-full object-cover rounded-sm h-40 lg:w-[100%]">
|
||||
<div class="flex flex-row gap-3 items-center">
|
||||
<span class="p-2 bg-warning text-xs rounded-[10px] text-white">Kegiatan {{ $dataKeg->kategori }}</span>
|
||||
<span class="text-xs opacity-[50%]">{{ date('D',strtotime($dataKeg->created_at)) }}, {{ date('d M Y',strtotime($dataKeg->created_at)) }}</span>
|
||||
</div>
|
||||
<h4 class="text-md text-black font-bold mt-2">{{ $dataKeg->judul }}</h4>
|
||||
<div class="text-xs opacity-[50%]">
|
||||
{!! substr(strip_tags($dataKeg->body),0,200) !!}
|
||||
</div>
|
||||
<a href="{{ url('kegiatan/'.$dataKeg->slug) }}" class="text-sm text-warning rounded-[10px] mx-auto md:mx-0 flex flex-row gap-3 ">
|
||||
<span>Baca Selengkapnya</span> <x-lucide-arrow-right width="20" class="text-warning"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-10">
|
||||
{!! $kegiatan->links() !!}
|
||||
</div>
|
||||
</section>
|
||||
<section id="footer" class="bottom-0">
|
||||
<div class="bg-success p-3 ">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex justify-between items-center">
|
||||
<div class="flex gap-5 items-center">
|
||||
<div>
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse p-1 bg-white rounded-full">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<h5 class="text-white font-bold mb-0">Sistem Informasi Adiwiyata</h5>
|
||||
<span class="text-white text-xs">Dinas Lingkungan Hidup DKI Jakarta</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span class="text-white text-xs">© 2025 </span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
||||
<script src="https://cdn.datatables.net/2.3.2/js/dataTables.js"></script>
|
||||
<script src="https://cdn.datatables.net/2.3.2/js/dataTables.tailwindcss.js"></script>
|
||||
<script>
|
||||
new DataTable('#example');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<div class="mt-10">
|
||||
{!! $kegiatan->links() !!}
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
|
@ -0,0 +1,92 @@
|
|||
@extends('layouts.app')
|
||||
@section('content')
|
||||
<section id="section3" class="container mx-auto p-12 md:py-12">
|
||||
<div class="flex flex-row gap-10">
|
||||
<div class="w-full lg:w-2/3">
|
||||
<div class="p-3 shadow-[1px_1px_5px_0px_rgba(0,0,0,0.25)] rounded-[10px]">
|
||||
<div class="flex flex-col gap-3">
|
||||
<img src="{{ asset('uploads/'.$kegiatan->image) }}" alt="" class="w-full lg:w-[100%] rounded-[10px]">
|
||||
<div class="flex flex-row gap-3 items-center">
|
||||
<span class="p-2 bg-warning text-xs rounded-[10px] text-white">Kegiatan {{ $kegiatan->kategori }}</span>
|
||||
<span class="text-xs opacity-[50%]">{{ date('D',strtotime($kegiatan->created_at)) }}, {{ date('d M Y',strtotime($kegiatan->created_at)) }}</span>
|
||||
</div>
|
||||
<h1 class="text-2xl text-black font-bold mt-2">{{ $kegiatan->judul }}</h1>
|
||||
<div class="flex items-center gap-3">
|
||||
<span class="text-sm font-medium text-gray-600">Bagikan:</span>
|
||||
<div class="flex gap-2">
|
||||
<a href="#" onclick="shareToLinkedIn()" class="flex items-center justify-center w-10 h-10 bg-primary text-white rounded-full hover:bg-green-600 transition-colors">
|
||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
|
||||
<path d="M16.338 16.338H13.67V12.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.601 1.086-1.601 2.207v4.248H8.014v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.778 3.203 4.092v4.711zM5.005 6.575a1.548 1.548 0 11-.003-3.096 1.548 1.548 0 01.003 3.096zm-1.337 9.763H6.34v-8.59H3.667v8.59zM17.668 1H2.328C1.595 1 1 1.581 1 2.298v15.403C1 18.418 1.595 19 2.328 19h15.34c.734 0 1.332-.582 1.332-1.299V2.298C19 1.581 18.402 1 17.668 1z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="#" onclick="shareToWhatsApp()" class="flex items-center justify-center w-10 h-10 bg-success text-white rounded-full hover:bg-green-600 transition-colors">
|
||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
|
||||
<path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.525 3.507"></path>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="#" onclick="shareToFacebook()" class="flex items-center justify-center w-10 h-10 bg-primary text-white rounded-full hover:bg-green-600 transition-colors">
|
||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
|
||||
<path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="#" onclick="shareToTwitter()" class="flex items-center justify-center w-10 h-10 bg-black text-white rounded-full hover:bg-green-600 transition-colors">
|
||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
|
||||
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-sm opacity-[50%]">
|
||||
{!!$kegiatan->body !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden lg:block w-1/3">
|
||||
<div class="p-3 shadow-[1px_1px_5px_0px_rgba(0,0,0,0.25)] rounded-[10px]">
|
||||
<div class="flex flex-col gap-3">
|
||||
@foreach($lainnya as $dataKeg)
|
||||
<div class="flex items-center gap-3 flex-row pb-3">
|
||||
<div class="flex justify-end w-2/5">
|
||||
<img src="{{ asset('uploads/'.$dataKeg->image) }}" class="rounded-[10px] ">
|
||||
</div>
|
||||
<div class="flex flex-col gap-3 justify-center w-3/5">
|
||||
<span class="text-xs opacity-[50%]">{{ date('D',strtotime($dataKeg->created_at)) }}, {{ date('d M Y',strtotime($dataKeg->created_at)) }}</span>
|
||||
<a href="{{ url('kegiatan/'.$dataKeg->slug) }}" class="text-xs text-black font-bold">{{ $dataKeg->judul }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@section('js')
|
||||
<script>
|
||||
function shareToFacebook() {
|
||||
const url = encodeURIComponent(window.location.href);
|
||||
const title = encodeURIComponent(document.querySelector('h1').textContent);
|
||||
window.open(`https://www.facebook.com/sharer/sharer.php?u=${url}`, '_blank', 'noopener,noreferrer,width=600,height=400');
|
||||
}
|
||||
|
||||
function shareToTwitter() {
|
||||
const url = encodeURIComponent(window.location.href);
|
||||
const title = encodeURIComponent(document.querySelector('h1').textContent);
|
||||
window.open(`https://twitter.com/intent/tweet?url=${url}&text=${title}`, '_blank', 'noopener,noreferrer,width=600,height=400');
|
||||
}
|
||||
|
||||
function shareToWhatsApp() {
|
||||
const url = encodeURIComponent(window.location.href);
|
||||
const title = encodeURIComponent(document.querySelector('h1').textContent);
|
||||
window.open(`https://wa.me/?text=${title}%20${url}`, '_blank', 'noopener,noreferrer');
|
||||
}
|
||||
|
||||
function shareToLinkedIn() {
|
||||
const url = encodeURIComponent(window.location.href);
|
||||
const title = encodeURIComponent(document.querySelector('h1').textContent);
|
||||
window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${url}`, '_blank', 'noopener,noreferrer,width=600,height=400');
|
||||
}
|
||||
</script>
|
||||
@endsection
|
|
@ -1,80 +1,114 @@
|
|||
<!doctype html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Kegiatan | Sekolah Adiwiyata DKI Jakarta</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<!-- CSRF Token -->
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<meta name="keywords" content="Sekolah Adiwiyata" />
|
||||
<meta name="description" content="Sekolah Adiwiyata Lingkungan Hidup Provinsi DKI Jakarta">
|
||||
<meta name="author" content="ilham">
|
||||
<!-- Favicon -->
|
||||
<link rel="shortcut icon" href="{{ asset('assets/logo-dinas.ico') }}" type="image/x-icon" />
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
<link rel="apple-touch-icon" href="{{ asset('assets/logo-dinas.ico') }}">
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||
@yield('css')
|
||||
<style>
|
||||
.bg-success{
|
||||
background: #009D66!important;
|
||||
}
|
||||
.bg-warning{
|
||||
background: #F7AE15!important;
|
||||
}
|
||||
.bg-danger{
|
||||
background: #B9375D!important;
|
||||
}
|
||||
.bg-info{
|
||||
background: #3B38A0!important;
|
||||
}
|
||||
.text-success{
|
||||
color: #009D66!important;
|
||||
}
|
||||
.text-warning{
|
||||
color: #F7AE15!important;
|
||||
}
|
||||
.text-danger{
|
||||
color: #B9375D!important;
|
||||
}
|
||||
.text-info{
|
||||
color: #3B38A0!important;
|
||||
}
|
||||
.text-black{
|
||||
color: #333!important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg-white border-b-1 border-b-[#eaeaea]">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex flex-between justify-between items-center gap-5 mx-auto p-5">
|
||||
<div class="flex flex-row gap-10">
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
</a>
|
||||
<div class="items-center justify-between hidden w-full md:flex md:w-auto md:order-1" id="navbar-cta">
|
||||
<ul class="flex flex-col font-medium p-4 md:p-0 mt-4 border md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 bg-white">
|
||||
<li>
|
||||
<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>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('kegiatan') }}" class="block py-2 px-3 text-success">Kegiatan Adiwiyata</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('galeri') }}" class="block py-2 px-3">Galeri</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse">
|
||||
<button data-collapse-toggle="navbar-cta" type="button" class="inline-flex items-right p-2 w-10 h-10 justify-end text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600" aria-controls="navbar-cta" aria-expanded="false">
|
||||
<span class="sr-only">Open main menu</span>
|
||||
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 17 14">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h15M1 7h15M1 13h15"/>
|
||||
</svg>
|
||||
</button>
|
||||
<a href="{{ url('login') }}" class="p-3 text-white bg-success rounded-[10px] mx-auto md:mx-0 text-center flex flex-row gap-3">
|
||||
<span>Login</span> <x-lucide-log-in width="20" class="text-white"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 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'])
|
||||
</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>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="py-4">
|
||||
@yield('content')
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@yield('content')
|
||||
<section id="footer" class="bottom-0">
|
||||
<div class="bg-success p-3 ">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex justify-between items-center">
|
||||
<div class="flex gap-5 items-center">
|
||||
<div>
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse p-1 bg-white rounded-full">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<h5 class="text-white font-bold mb-0">Sistem Informasi Adiwiyata</h5>
|
||||
<span class="text-white text-xs">Dinas Lingkungan Hidup DKI Jakarta</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span class="text-white text-xs">© 2025 </span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@yield('js')
|
||||
</body>
|
||||
</html>
|
|
@ -1,159 +1,53 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Sekolah | Sekolah Adiwiyata DKI Jakarta</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<meta name="keywords" content="Sekolah Adiwiyata" />
|
||||
<meta name="description" content="Sekolah Adiwiyata Lingkungan Hidup Provinsi DKI Jakarta">
|
||||
<meta name="author" content="ilham">
|
||||
<!-- Favicon -->
|
||||
<link rel="shortcut icon" href="{{ asset('assets/logo-dinas.ico') }}" type="image/x-icon" />
|
||||
|
||||
<link rel="apple-touch-icon" href="{{ asset('assets/logo-dinas.ico') }}">
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||
<style>
|
||||
.bg-success{
|
||||
background: #009D66!important;
|
||||
}
|
||||
.bg-warning{
|
||||
background: #F7AE15!important;
|
||||
}
|
||||
.bg-danger{
|
||||
background: #B9375D!important;
|
||||
}
|
||||
.bg-info{
|
||||
background: #3B38A0!important;
|
||||
}
|
||||
.text-success{
|
||||
color: #009D66!important;
|
||||
}
|
||||
.text-warning{
|
||||
color: #F7AE15!important;
|
||||
}
|
||||
.text-danger{
|
||||
color: #B9375D!important;
|
||||
}
|
||||
.text-info{
|
||||
color: #3B38A0!important;
|
||||
}
|
||||
.text-black{
|
||||
color: #333!important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg-white border-b-1 border-b-[#eaeaea]">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex flex-between justify-between items-center gap-5 mx-auto p-5">
|
||||
<div class="flex flex-row gap-10">
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
</a>
|
||||
<div class="items-center justify-between hidden w-full md:flex md:w-auto md:order-1" id="navbar-cta">
|
||||
<ul class="flex flex-col font-medium p-4 md:p-0 mt-4 border md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 bg-white">
|
||||
<li>
|
||||
<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 text-success">Sekolah Adiwiyata</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('kegiatan') }}" class="block py-2 px-3">Kegiatan Adiwiyata</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('galeri') }}" class="block py-2 px-3">Galeri</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse">
|
||||
<button data-collapse-toggle="navbar-cta" type="button" class="inline-flex items-right p-2 w-10 h-10 justify-end text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600" aria-controls="navbar-cta" aria-expanded="false">
|
||||
<span class="sr-only">Open main menu</span>
|
||||
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 17 14">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h15M1 7h15M1 13h15"/>
|
||||
</svg>
|
||||
</button>
|
||||
<a href="{{ url('login') }}" class="p-3 text-white bg-success rounded-[10px] mx-auto md:mx-0 text-center flex flex-row gap-3">
|
||||
<span>Login</span> <x-lucide-log-in width="20" class="text-white"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<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">Sekolah Adiwiyata</h4>
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<table id="example" class="table-auto w-full">
|
||||
<thead>
|
||||
<tr class="border text-center border-[#333]">
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">No</th>
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">Sekolah</th>
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">Kota</th>
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">Tahun</th>
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">Skor</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$data = [
|
||||
['name' => 'SMPN 253','kota' => 'Jakarta Selatan','skor' => '89,86','tahun' => '2024'],
|
||||
['name' => 'SDI Al Irsyad Islamiyah','kota' => 'Jakarta Pusat','skor' => '89,85','tahun' => '2024'],
|
||||
['name' => 'SDN Kemanggisan 17','kota' => 'Jakarta Barat','skor' => '89,45','tahun' => ''],
|
||||
['name' => 'SDN Sukabumi Utara 07','kota' => 'Jakarta Barat','skor' => '89,54','tahun' => ''],
|
||||
['name' => 'SDS Strada Santo Ignatius','kota' => 'Jakarta Utara','skor' => '89,24','tahun' => ''],
|
||||
['name' => 'SDN Jatinegara 06 Pagi','kota' => 'Jakarta Timur','skor' => '89,33','tahun' => ''],
|
||||
['name' => 'SDN Pekayon 03 Pagi','kota' => 'Jakarta Timur','skor' => '89,43','tahun' => ''],
|
||||
['name' => 'SDN Lubang Buaya 06 Pagi','kota' => 'Jakarta Timur','skor' => '89,71','tahun' => ''],
|
||||
];
|
||||
?>
|
||||
@foreach($data as $k => $val)
|
||||
<tr class="border">
|
||||
<td class="border border-[#eaeaea] text-center">{{ $k+1 }}</td>
|
||||
<td class="border border-[#eaeaea] text-center">{{ $val['name'] }}</td>
|
||||
<td class="border border-[#eaeaea] text-center">{{ $val['kota'] }}</td>
|
||||
<td class="border border-[#eaeaea] text-center">{{ $val['tahun'] }}</td>
|
||||
<td class="border border-[#eaeaea] text-center">{{ $val['skor'] }}</td>
|
||||
@extends('layouts.app')
|
||||
@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">Sekolah Adiwiyata</h4>
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<table id="example" class="table-auto w-full">
|
||||
<thead>
|
||||
<tr class="border text-center border-[#333]">
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">No</th>
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">Sekolah</th>
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">Kota</th>
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">Tahun</th>
|
||||
<th class="bg-success text-white text-center border border-[#eaeaea]">Skor</th>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
<section id="footer" class="bottom-0">
|
||||
<div class="bg-success p-3 ">
|
||||
<div class="container mx-auto">
|
||||
<div class="flex justify-between items-center">
|
||||
<div class="flex gap-5 items-center">
|
||||
<div>
|
||||
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse p-1 bg-white rounded-full">
|
||||
<img src="{{ asset('assets/logo-dinas.ico') }}" class="h-8" />
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<h5 class="text-white font-bold mb-0">Sistem Informasi Adiwiyata</h5>
|
||||
<span class="text-white text-xs">Dinas Lingkungan Hidup DKI Jakarta</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span class="text-white text-xs">© 2025 </span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
||||
<script src="https://cdn.datatables.net/2.3.2/js/dataTables.js"></script>
|
||||
<script src="https://cdn.datatables.net/2.3.2/js/dataTables.tailwindcss.js"></script>
|
||||
<script>
|
||||
new DataTable('#example');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$data = [
|
||||
['name' => 'SMPN 253','kota' => 'Jakarta Selatan','skor' => '89,86','tahun' => '2024'],
|
||||
['name' => 'SDI Al Irsyad Islamiyah','kota' => 'Jakarta Pusat','skor' => '89,85','tahun' => '2024'],
|
||||
['name' => 'SDN Kemanggisan 17','kota' => 'Jakarta Barat','skor' => '89,45','tahun' => ''],
|
||||
['name' => 'SDN Sukabumi Utara 07','kota' => 'Jakarta Barat','skor' => '89,54','tahun' => ''],
|
||||
['name' => 'SDS Strada Santo Ignatius','kota' => 'Jakarta Utara','skor' => '89,24','tahun' => ''],
|
||||
['name' => 'SDN Jatinegara 06 Pagi','kota' => 'Jakarta Timur','skor' => '89,33','tahun' => ''],
|
||||
['name' => 'SDN Pekayon 03 Pagi','kota' => 'Jakarta Timur','skor' => '89,43','tahun' => ''],
|
||||
['name' => 'SDN Lubang Buaya 06 Pagi','kota' => 'Jakarta Timur','skor' => '89,71','tahun' => ''],
|
||||
];
|
||||
?>
|
||||
@foreach($data as $k => $val)
|
||||
<tr class="border">
|
||||
<td class="border border-[#eaeaea] text-center">{{ $k+1 }}</td>
|
||||
<td class="border border-[#eaeaea] text-center">{{ $val['name'] }}</td>
|
||||
<td class="border border-[#eaeaea] text-center">{{ $val['kota'] }}</td>
|
||||
<td class="border border-[#eaeaea] text-center">{{ $val['tahun'] }}</td>
|
||||
<td class="border border-[#eaeaea] text-center">{{ $val['skor'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@section('js')
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
||||
<script src="https://cdn.datatables.net/2.3.2/js/dataTables.js"></script>
|
||||
<script src="https://cdn.datatables.net/2.3.2/js/dataTables.tailwindcss.js"></script>
|
||||
<script>
|
||||
new DataTable('#example');
|
||||
</script>
|
||||
@endsection
|
|
@ -41,6 +41,7 @@ Route::middleware(Session::class)->name('modules.')->group(function () {
|
|||
Route::get('/',[FrontController::class,'index'])->name('index');
|
||||
Route::get('/sekolah',[FrontController::class,'sekolah'])->name('sekolah');
|
||||
Route::get('/kegiatan',[FrontController::class,'kegiatan'])->name('kegiatan');
|
||||
Route::get('/kegiatan/{slug}',[FrontController::class,'kegiatan_detail'])->name('kegiatan_detail');
|
||||
Route::get('/galeri',[FrontController::class,'galeri'])->name('galeri');
|
||||
|
||||
// Auth::routes();
|
||||
|
|
Loading…
Reference in New Issue