Skip to content

Commit

Permalink
Added the video ad for new users and logged-out users
Browse files Browse the repository at this point in the history
  • Loading branch information
Raccoon254 committed Jul 6, 2024
1 parent fe8e079 commit d77bca6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file added public/video/ad.mp4
Binary file not shown.
8 changes: 8 additions & 0 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
<x-slot name="title">
Home - Premium Essay Writing Services for College Students
</x-slot>
@guest
<div class="video-ad w-full">
<video class="w-full" autoplay loop muted>
<source src="{{ asset('video/ad.mp4') }}" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
@endguest
<div class="bg-gray-50">
<div class="py-12 px-4 sm:px-6 lg:px-8">
<div class="flex px-1 sm:px-4 lg:px-8 flex-col md:flex-row items-center justify-between">
Expand Down

0 comments on commit d77bca6

Please sign in to comment.