Skip to content

Commit 23aa612

Browse files
committed
Add nice index gradient
1 parent 4b70ffd commit 23aa612

1 file changed

Lines changed: 19 additions & 7 deletions

File tree

web/pages/index.vue

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<template>
22
<div>
3-
<v-app-bar elevation="0" color="#121212" height="100px">
3+
<v-app-bar elevation="0" color="#121212" height="70" fixed>
44
<v-container>
55
<v-row>
66
<v-col class="w-full d-flex">
77
<h2
8-
class="text--primary"
8+
class="text--primary text-h4"
99
:class="{
10-
'text-h4': $vuetify.breakpoint.lgAndUp,
11-
'text-h5': $vuetify.breakpoint.mdAndDown,
10+
'mt-5': $vuetify.breakpoint.mdAndDown,
1211
}"
1312
>
1413
<v-avatar
@@ -27,7 +26,7 @@
2726
<v-spacer></v-spacer>
2827
<v-btn
2928
exact-path
30-
class="primary mt-5"
29+
class="primary mt-5 mb-5"
3130
:large="$vuetify.breakpoint.lgAndUp"
3231
:to="{ name: 'login' }"
3332
>
@@ -44,11 +43,17 @@
4443
cols="12"
4544
md="4"
4645
:class="{
47-
'text-center': $vuetify.breakpoint.mdAndDown,
46+
'text-center pt-16': $vuetify.breakpoint.mdAndDown,
4847
'py-16': $vuetify.breakpoint.lgAndUp,
4948
}"
5049
>
51-
<h1 class="text-h2" :class="{ 'mt-16': $vuetify.breakpoint.lgAndUp }">
50+
<h1
51+
class="text-h2 font-weight-bold gradient-header"
52+
:class="{
53+
'mt-16': $vuetify.breakpoint.lgAndUp,
54+
'mt-10': $vuetify.breakpoint.mdAndUp,
55+
}"
56+
>
5257
Convert your android phone into an SMS gateway.
5358
</h1>
5459
<h2 class="text--secondary text-h5 mt-8 mb-8">
@@ -360,4 +365,11 @@ export default Vue.extend({
360365
.min-h-650 {
361366
min-height: 650px;
362367
}
368+
369+
.gradient-header {
370+
color: #1ad37f;
371+
background-image: -webkit-linear-gradient(0deg, #1ad37f 14%, #329ef4 55%);
372+
-webkit-background-clip: text;
373+
-webkit-text-fill-color: transparent;
374+
}
363375
</style>

0 commit comments

Comments
 (0)