Add subscribe embed

This commit is contained in:
Sam Carlton 2021-03-06 16:50:56 -06:00
parent 4503cc8f35
commit d0148a7f78
2 changed files with 60 additions and 0 deletions

24
layouts/embed.vue Normal file
View file

@ -0,0 +1,24 @@
<template>
<div class="embed-main text-gray-300">
<nuxt />
</div>
</template>
<script>
// import '@fontsource/inter/latin-100.css'
// import '@fontsource/inter/latin-400.css'
// import '@fontsource/inter/latin-700.css'
import '@fontsource/inter/variable.css'
export default {}
</script>
<style>
/* Clear out background color */
html {
background: transparent;
}
</style>

36
pages/embed-subscribe.vue Normal file
View file

@ -0,0 +1,36 @@
<template>
<AllUpdatesSubscribe
class="w-100 h-100 absolute inset-0 flex justify-center items-center"
/>
</template>
<script>
import AllUpdatesSubscribe from '~/components/all-updates-subscribe.vue'
export default {
layout: 'embed',
components: {
AllUpdatesSubscribe
},
data: function () {
return {}
},
head() {
return {
title: 'Subscribe',
// meta: [
// // hid is used as unique identifier. Do not use `vmid` for it as it will not work
// {
// hid: 'description',
// name: 'description',
// content: 'My custom description'
// }
// ]
}
}
}
</script>