diff --git a/backend/app/Http/Controllers/Api/ReviewController.php b/backend/app/Http/Controllers/Api/ReviewController.php index c69ee3d..2e6fcd3 100644 --- a/backend/app/Http/Controllers/Api/ReviewController.php +++ b/backend/app/Http/Controllers/Api/ReviewController.php @@ -9,13 +9,14 @@ use App\Models\Review; class ReviewController extends Controller { // Ambil semua ulasan - public function index() +public function index() { $reviews = Review::all(); - return view('admin.reviews.index', compact('reviews')); + return response()->json($reviews, 200); } + // Simpan ulasan baru public function store(Request $request) { diff --git a/proyek-frontend/app/components/landing-page/aboutsection.vue b/proyek-frontend/app/components/landing-page/aboutsection.vue index 3aaa753..bc6b017 100644 --- a/proyek-frontend/app/components/landing-page/aboutsection.vue +++ b/proyek-frontend/app/components/landing-page/aboutsection.vue @@ -7,7 +7,7 @@
- Tentang Kami - Undangan Digital + Tentang Kami - Undangan Digital

diff --git a/proyek-frontend/app/components/landing-page/header.vue b/proyek-frontend/app/components/landing-page/header.vue index 11e2be7..4b6d9f9 100644 --- a/proyek-frontend/app/components/landing-page/header.vue +++ b/proyek-frontend/app/components/landing-page/header.vue @@ -2,7 +2,7 @@

- Tampilan Undangan Digital di Ponsel + Tampilan Undangan Digital di Ponsel

"Abadikan momen indahmu dengan undangan digital yang elegan."

"Satu aplikasi untuk semua momen spesialmu."

diff --git a/proyek-frontend/app/components/landing-page/testimonisection.vue b/proyek-frontend/app/components/landing-page/testimonisection.vue index 965b21b..08768b1 100644 --- a/proyek-frontend/app/components/landing-page/testimonisection.vue +++ b/proyek-frontend/app/components/landing-page/testimonisection.vue @@ -4,66 +4,264 @@

Apa Kata Mereka?

-

+

Kisah sukses dari para pengguna yang telah mempercayakan momen spesialnya kepada kami.

-
-
-
- + +
+
+ +
+ +
+ + + +
+ + +

+ "{{ testimonial.message }}" +

+ + +
+

{{ testimonial.name }}

+

{{ testimonial.city }}

+
-

"{{ testimonial.text }}"

- -
- -
+ +
+ +
+ + + +
+ + +

+ "{{ testimonial.message }}" +

+ + +

{{ testimonial.name }}

-

{{ testimonial.role }}

+

{{ testimonial.city }}

+ + + +
+ + +
+
+ + +

Tulis Ulasan

+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +