Add New World banner

This commit is contained in:
Sam Carlton 2022-06-27 15:01:25 -05:00
parent a02c45701d
commit aeb57b9d2e

47
components/ad-inline.vue Normal file
View file

@ -0,0 +1,47 @@
<template>
<div v-if="name !== 'default'">
<a href="https://amzn.to/3bllXrC">
<div
class="relative border border-gray-700 rounded-lg shadow-lg flex overflow-hidden"
>
<div class="flex flex-col text-center">
<img
src="https://vumbnail.com/OKnUBs-Ko44.jpg"
class="w-32 aspect-video object-cover"
alt="Skull figure with menacing red eyes"
>
</div>
<div class="flex flex-col justify-center p-4 text-center">
New World: Carve Your Destiny
</div>
<div
class="absolute bottom-0 right-0 border-t border-l rounded-tl uppercase opacity-25 px-1"
style="font-size: 0.45rem;"
>
ads via Amazon
</div>
</div>
</a>
</div>
<CarbonInline
v-else
class="carbon-inline-wide"
/>
</template>
<script>
/* Carbon ads */
import CarbonInline from './carbon-inline.vue'
export default {
components: {
CarbonInline
},
props: {
name: {
type: String,
default: 'default'
}
}
}
</script>