Skip to content

Commit fe8b35c

Browse files
refactor(multi): applied latest changes.
1 parent 916cfe0 commit fe8b35c

File tree

4 files changed

+97
-21
lines changed

4 files changed

+97
-21
lines changed

typescript-version/eslint-internal-rules/package.json

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
export const ContentWidth = {
2+
Fluid: 'fluid',
3+
Boxed: 'boxed',
4+
} as const
5+
6+
export const NavbarType = {
7+
Sticky: 'sticky',
8+
Static: 'static',
9+
Hidden: 'hidden',
10+
} as const
11+
12+
export const FooterType = {
13+
Sticky: 'sticky',
14+
Static: 'static',
15+
Hidden: 'hidden',
16+
} as const
17+
18+
export const AppContentLayoutNav = {
19+
Vertical: 'vertical',
20+
Horizontal: 'horizontal',
21+
} as const
22+
23+
export const HorizontalNavType = {
24+
Sticky: 'sticky',
25+
Static: 'static',
26+
Hidden: 'hidden',
27+
} as const

typescript-version/src/@layouts/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { OffsetOptions } from '@floating-ui/dom'
22
import type { RouteLocationRaw } from 'vue-router'
3-
import type { AppContentLayoutNav, ContentWidth, FooterType, HorizontalNavType, NavbarType } from '@layouts/enums'
3+
import type { AppContentLayoutNav, ContentWidth, FooterType, HorizontalNavType, NavbarType } from '@layouts/enum'
44

55
export interface LayoutConfig {
66
app: {
Lines changed: 69 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<template>
2-
<VBtn
2+
<a
33
color="error"
4-
class="product-upgrade-to-pro"
5-
href="https://themeselection.com/item/master-vuetify-vuejs-admin-template/"
4+
class="buy-now-button"
5+
href="https://themeselection.com/item/materio-vuetify-vuejs-admin-template/"
66
target="_blank"
77
rel="noopener noreferrer"
88
>
99
Upgrade to Pro
1010

11+
<span class="button-inner" />
12+
1113
<VMenu
1214
open-on-hover
1315
activator="parent"
@@ -17,24 +19,24 @@
1719
transition="slide-y-reverse-transition"
1820
>
1921
<VCard>
20-
<VImg src="https://cdn.jsdelivr.net/gh/themeselection/ts-assets/master/master-vuetify-vuejs-admin-template/banner/banner.png" />
21-
<VCardTitle>Master - Vuetify Admin Template</VCardTitle>
22+
<VImg src="https://cdn.jsdelivr.net/gh/themeselection/ts-assets/materio/materio-vuetify-vuejs-admin-template/banner/banner.png" />
23+
<VCardTitle>Materio - Vuetify Admin Template</VCardTitle>
2224
<VCardText>
23-
Master Admin is the most developer friendly & highly customisable Admin Dashboard Template based on Vuetify.
25+
Materio Admin is the most developer friendly & highly customisable Admin Dashboard Template based on Vuetify.
2426
</VCardText>
2527
<VCardText>Click on below button to explore PRO version.</VCardText>
2628
<VCardText>
2729
<VBtn
2830
class="me-4"
29-
href="https://themeselection.com/item/master-vuetify-vuejs-admin-template/?tab=details#details"
31+
href="https://themeselection.com/item/materio-vuetify-vuejs-admin-template/?tab=details#details"
3032
target="_blank"
3133
rel="noopener noreferrer"
3234
>
3335
Demo
3436
</VBtn>
3537
<VBtn
3638
variant="outlined"
37-
href="https://themeselection.com/item/master-vuetify-vuejs-admin-template/"
39+
href="https://themeselection.com/item/materio-vuetify-vuejs-admin-template/"
3840
target="_blank"
3941
rel="noopener noreferrer"
4042
>
@@ -43,24 +45,74 @@
4345
</VCardText>
4446
</VCard>
4547
</VMenu>
46-
</VBtn>
48+
</a>
4749
</template>
4850

4951
<style lang="scss" scoped>
50-
.product-upgrade-to-pro {
51-
position: fixed;
52+
.buy-now-button,
53+
.button-inner {
54+
display: inline-flex;
55+
box-sizing: border-box;
56+
align-items: center;
57+
justify-content: center;
58+
border: 0;
59+
border-radius: 6px;
60+
margin: 0;
61+
animation: anime 12s linear infinite;
62+
appearance: none;
63+
background: linear-gradient(-45deg, #ffa63d, #ff3d77, #338aff, #3cf0c5);
64+
background-size: 600%;
65+
color: rgba(255, 255, 255, 90%);
66+
cursor: pointer;
67+
font-size: 0.9375rem;
68+
font-weight: 500;
69+
letter-spacing: 0.43px;
70+
line-height: 1.2;
71+
min-inline-size: 50px;
72+
outline: 0;
73+
padding-block: 0.625rem;
74+
padding-inline: 1.25rem;
75+
text-decoration: none;
76+
text-transform: none;
77+
vertical-align: middle;
78+
}
5279
53-
// To keep upgrade to pro button on top of v-layout
80+
.buy-now-button {
81+
position: fixed;
5482
z-index: 999;
5583
inset-block-end: 5%;
5684
inset-inline-end: 79px;
5785
58-
.v-application &.v-btn.v-btn--elevated {
59-
box-shadow: 0 1px 20px 1px rgb(var(--v-theme-error)) !important;
86+
&:hover {
87+
color: white;
88+
text-decoration: none;
89+
}
90+
91+
.button-inner {
92+
position: absolute;
93+
z-index: -1;
94+
filter: blur(12px);
95+
inset: 0;
96+
opacity: 0;
97+
transition: opacity 200ms ease-in-out;
98+
}
99+
100+
&:not(:hover) .button-inner {
101+
opacity: 0.8;
102+
}
103+
}
104+
105+
@keyframes anime {
106+
0% {
107+
background-position: 0% 50%;
108+
}
109+
110+
50% {
111+
background-position: 100% 50%;
112+
}
60113
61-
&:hover {
62-
box-shadow: none !important;
63-
}
114+
100% {
115+
background-position: 0% 50%;
64116
}
65117
}
66118
</style>

0 commit comments

Comments
 (0)