Skip to content

Commit 2ff18ec

Browse files
committed
feat: add advert
1 parent a035d57 commit 2ff18ec

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/assets/images/shipitnow.png

198 KB
Loading

src/layouts/BlogPost.astro

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import BaseLayout from '@/layouts/BaseLayout'
55
import Tag from '@/components/Tag'
66
import type { MarkdownHeading } from 'astro'
77
import { Image } from 'astro:assets'
8+
import advert from '../assets/images/shipitnow.png'
89
910
type Props = {
1011
id: CollectionEntry<'blog'>['id']
@@ -69,6 +70,18 @@ const articleDate = pubDate.toISOString()
6970
<slot />
7071
</div>
7172
</article>
73+
<a href='https://seaeyecd-shop.fourthwall.com/promo/SHIPITNOW' target="_blank">
74+
<Image
75+
src={advert}
76+
width={1000}
77+
height={500}
78+
quality={100}
79+
format='png'
80+
loading='eager'
81+
class='rounded-md w-full max-h-[300px] md:max-h-[500px] my-8 object-cover cursor-pointer'
82+
alt='img of CI/CD merch advert'
83+
/>
84+
</a>
7285
</BaseLayout>
7386

7487
<script src="https://giscus.app/client.js"

0 commit comments

Comments
 (0)