mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add New World banner
This commit is contained in:
parent
a02c45701d
commit
aeb57b9d2e
1 changed files with 47 additions and 0 deletions
47
components/ad-inline.vue
Normal file
47
components/ad-inline.vue
Normal 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>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue