Skip to content

Commit

Permalink
Ad Black Friday 2023 page
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne committed Nov 13, 2023
1 parent a022582 commit 64178fb
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
36 changes: 36 additions & 0 deletions resources/views/front/pages/black-friday-2023/index.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<x-page
ogImage="https://spatie.be/images/og-store.png"
title="Applications and digital courses built for modern developers"
background="/backgrounds/product.jpg"
description="Welcome in our store, by artisans for artisans. Get access to our paid products, courses and ebooks"
>
<div class="section section-group">
<section class="section overflow-visible">
<div class="wrap">
<h2 class="title line-after mb-12">Public Service Announcement</h2>
<iframe style="aspect-ratio: 16 / 9" class="w-full"
src="https://www.youtube.com/embed/" title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>

<div class="my-6">
<a href="/products">
<button class="cursor-pointer
bg-yellow hover:bg-opacity-75 rounded-sm
border-2 border-transparent
justify-center flex items-center
px-6 min-h-10
font-sans-bold text-black
transition-bg duration-300
focus:outline-none focus:border-blue-light whitespace-no-wrap">
Take a look at all our discounted products and courses
</button>
</a>
</div>

You can now enjoy <strong>30% discount</strong> on all our products until the end of <strong>Cyber Monday</strong>.
</div>
</section>
</div>
</x-page>
4 changes: 2 additions & 2 deletions resources/views/front/pages/products/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="wrap text-white">

<h1 class="banner-slogan">
Enjoy our <br><span class="no-underline text-yellow">Worldwide Spatie Discounts</span>
Our annual <br><span class="no-underline text-yellow">Black Friday</span> sale
</h1>


Expand Down Expand Up @@ -55,7 +55,7 @@ class="flex bg-trueblack text-white text-base banner-intro">
</div>

<div class="underline text-base mt-4">
<a href="/wwsd">Watch our promo movie</a>
<a href="/bf23">Watch our promo movie</a>
</div>

@once
Expand Down
1 change: 1 addition & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
Route::get('github-ad-click/{repositoryName}', RedirectGitHubAdClickController::class)->name('github-ad-click');

Route::get('wwsd/{slug?}', WwsdController::class)->name('wwsd');
Route::view('black-friday-2023', 'front.pages.black-friday-2023.index');

Route::view('offline', 'errors.offline')->name('offline');

Expand Down

0 comments on commit 64178fb

Please sign in to comment.