mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add subscribe embed
This commit is contained in:
parent
4503cc8f35
commit
d0148a7f78
2 changed files with 60 additions and 0 deletions
24
layouts/embed.vue
Normal file
24
layouts/embed.vue
Normal 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
36
pages/embed-subscribe.vue
Normal 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>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue