Commit 1d545864 authored by Yashu Mittal's avatar Yashu Mittal 👍🏻

Add subscriber form as overlay

parent 75990daa
<template>
<div class="site-wrapper">
<!-- All the main content gets inserted here, index.hbs, post.hbs, etc -->
<!-- All the main content gets inserted here, index.vue, blogPost.vue, etc -->
<slot/>
<!-- The footer at the very bottom of the screen -->
<Footer/>
<!-- TODO Showing upon clicking the button -->
<!-- The big email subscribe modal content -->
<div v-if="Admin.site.subscribers" id="subscribe" class="subscribe-overlay">
<a class="subscribe-overlay-close" href="#"></a>
<div class="subscribe-overlay-content">
<img v-if="!Admin.site.logo" class="subscribe-overlay-logo" :src="Admin.site.logo" :alt="Admin.site.title" />
<h1 class="subscribe-overlay-title">Subscribe to {{ Admin.site.title }}</h1>
<p class="subscribe-overlay-description">Stay up to date! Get all the latest &amp; greatest posts delivered straight to your inbox</p>
<subscribeForm placeholder="[email protected]" />
</div>
</div>
</div>
</template>
<script>
import Footer from '~/components/Footer';
import Footer from '../components/Footer';
import Admin from '../../data/admin.yml';
import subscribeForm from '../components/subscribeForm'
export default {
components: {
Footer
Footer, subscribeForm
},
computed: {
Admin() {
return Admin
}
}
}
</script>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment