Files
crater/resources/scripts/layouts/LayoutLogin.vue
Mohit Panjwani 082d5cacf2 v5.0.0 update
2021-11-30 18:58:19 +05:30

152 lines
3.1 KiB
Vue

<template>
<div
class="
grid
h-screen h-screen-ios
grid-cols-12
overflow-y-hidden
bg-gray-100
"
>
<NotificationRoot />
<div
class="
flex
items-center
justify-center
w-full
max-w-sm
col-span-12
p-4
mx-auto
text-gray-900
md:p-8 md:col-span-6
lg:col-span-4
flex-2
md:pb-48 md:pt-40
"
>
<div class="w-full">
<img
src="/img/crater-logo.png"
class="block w-48 h-auto max-w-full mb-32 text-primary-400"
alt="Crater Logo"
/>
<router-view />
<div
class="
pt-24
mt-0
text-sm
not-italic
font-medium
leading-relaxed
text-left text-gray-400
md:pt-40
"
>
<p class="mb-3">
Copyright @ Crater Invoice, Inc. {{ new Date().getFullYear() }}
</p>
</div>
</div>
</div>
<div
class="
relative
flex-col
items-center
justify-center
hidden
w-full
h-full
pl-10
bg-no-repeat bg-cover
md:col-span-6
lg:col-span-8
md:flex
content-box
"
>
<div class="pl-20 xl:pl-0">
<h1
class="
hidden
mb-3
text-3xl
leading-normal
text-left text-white
xl:text-5xl xl:leading-tight
md:none
lg:block
"
>
<b class="font-bold">Simple Invoicing</b> <br />
for Individuals & <br />
Small Businesses <br />
</h1>
<p
class="
hidden
text-sm
not-italic
font-normal
leading-normal
text-left text-gray-100
xl:text-base xl:leading-6
md:none
lg:block
"
>
Crater helps you track expenses, record payments & generate beautiful
<br />
invoices & estimates. <br />
</p>
</div>
<div class="absolute z-50 w-full bg-no-repeat content-bottom" />
</div>
</div>
</template>
<script setup>
import NotificationRoot from '@/scripts/components/notifications/NotificationRoot.vue'
</script>
<style lang="scss" scoped>
.content-box {
background-image: url('/img/login/login-vector1.svg');
}
.content-bottom {
background-image: url('/img/login/login-vector3.svg');
background-size: 100% 100%;
height: 300px;
right: 32%;
bottom: 0;
}
.content-box::before {
background-image: url('/img/login/frame.svg');
content: '';
background-size: 100% 100%;
background-repeat: no-repeat;
height: 300px;
right: 0;
position: absolute;
top: 0;
width: 420px;
z-index: 1;
}
.content-box::after {
background-image: url('/img/login/login-vector2.svg');
content: '';
background-size: cover;
background-repeat: no-repeat;
height: 100%;
width: 100%;
right: 7.5%;
position: absolute;
}
</style>