โ๏ธ Panduan Admin
28 views
Edit Landing Page
Edit Landing Page
URL: /admin/landing
Landing page (/) sepenuhnya dynamic dari database. Setiap section bisa di-edit tanpa coding.
Section yang Bisa Di-Edit
1. Hero
- Title โ judul besar (e.g. "Senyum Sehat, Hidup Bahagia")
- Subtitle โ tagline 1-2 kalimat
- CTA Primary โ text tombol utama (default: "Book Appointment")
- CTA Secondary โ text tombol sekunder
- Hero Image โ URL gambar (https://... atau /storage/...)
2. About
- Title & Content โ paragraf tentang klinik
- About Image โ URL
- Stats โ Years, Patients, Doctors, Treatments (angka di hero)
3. Contact
- Phone, WhatsApp (format 62xxxx, tanpa +), Email, Address, Hours
- Maps Embed โ paste iframe Google Maps
4. Social Media
- Instagram, Facebook, TikTok, YouTube URLs
5. Features ("Kenapa Memilih Kami")
- Title, Description, Icon (Heroicons path
d="..."), Color (Tailwind) - Color options: blue, green, purple, red, yellow, indigo, pink, cyan
- Untuk Heroicon path: copy dari heroicons.com
6. Testimonials
- Patient name, title (e.g. "Pasien Behel"), rating 1-5, content
- Mark as featured untuk muncul di top
7. FAQs
- Category (general/booking/treatment/payment/emergency)
- Question, Answer (multi-line supported)
8. Gallery
- Image URL, Caption, Category (clinic/equipment/team/before-after)
Tips
- โ Selalu test di incognito browser setelah edit untuk lihat hasil real
- โ Cache 5 menit โ kalau perubahan belum muncul, tunggu atau clear cache
- โ
Image โ pakai CDN eksternal (Cloudinary, ImgBB) atau upload ke
/storage/landing/ - โ Maps embed โ di Google Maps โ Share โ Embed a map โ copy iframe
Activation/Deactivation
Setiap item (feature, testimonial, FAQ, gallery) bisa di-toggle aktif/non-aktif tanpa hapus. Klik badge "Active" / "Inactive" untuk toggle.