Skip to content

Commit

Permalink
Name fixes on testimonials
Browse files Browse the repository at this point in the history
  • Loading branch information
Raccoon254 committed May 17, 2024
1 parent ee1eb2c commit 5fb54c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/Http/Controllers/StaticPageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function welcome(): View
'avatar' => 'images/avatars/eddy.jpg',
'color' => 'text-green-500',
'image' => 'images/avatar1.png',
'name' => 'John Doe',
'name' => 'Eddy Johnson',
'subject' => 'Computer Science',
'testimonial' => 'Scholarspace has been a lifesaver for me. The writers are knowledgeable and always deliver quality work on time.'
],
Expand All @@ -44,7 +44,7 @@ public function welcome(): View
'avatar' => 'images/avatars/toa-heft.jpg',
'color' => 'text-green-500',
'image' => 'images/avatar2.png',
'name' => 'Emily Johnson',
'name' => 'Clinton Kelly',
'subject' => 'Business Administration',
'testimonial' => 'I highly recommend Scholarspace. Their writers have a deep understanding of the subject matter and provide well-researched assignments.'
],
Expand All @@ -53,7 +53,7 @@ public function welcome(): View
'avatar' => 'images/avatars/christina.jpg',
'color' => 'text-green-500',
'image' => 'images/avatar3.png',
'name' => 'Michael Williams',
'name' => 'Claire Williams',
'subject' => 'English Literature',
'testimonial' => 'I\'ve been using Scholarspace for a while now, and I\'m always impressed by the quality of work and the professionalism of the writers.'
]
Expand Down
1 change: 0 additions & 1 deletion resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class="w-full max-w-md mx-auto rounded-lg">
@foreach($testimonials as $testimonial)
<div class="bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<i class="{{ $testimonial['icon'] }} fa-3x {{ $testimonial['color'] }} mr-4"></i>
<img src="{{ asset($testimonial['avatar']) }}" alt="Avatar"
class="w-12 h-12 rounded-full object-cover mr-4"
style="border: 2px solid {{ $testimonial['color'] }}">
Expand Down

0 comments on commit 5fb54c5

Please sign in to comment.