Skip to content

Commit 8064cc5

Browse files
committed
💄 UI update on landing page
1 parent 791771e commit 8064cc5

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@click="$router.push(localePath('/'))"
1717
/>
1818
<v-toolbar-title
19-
class="cursor-pointer"
19+
class="cursor-pointer font-weight-bold"
2020
@click="$router.push(localePath('/'))"
2121
>
2222
Transit Tracker

pages/index.vue

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
>
66
<div
77
id="tt-landing-map"
8-
class="flex-grow-1 tt-landing-map tt-landing-map--dynamic"
8+
class="tt-landing-map tt-landing-map--dynamic"
99
:class="[dataIsLoaded && 'tt-landing__short']"
1010
>
1111
<div
@@ -62,8 +62,8 @@
6262
</div>
6363
</div>
6464
<div
65-
class="tt-landing-content flex-shrink-0 d-flex flex-column justify-md-center px-8 pt-8 pt-md-0 mb-md-0 pb-4 pb-md-0"
66-
:class="[dataIsLoaded && 'mb-14']"
65+
class="tt-landing-content flex-shrink-0 flex-grow-1 d-flex flex-column justify-md-center px-8 pt-8 pt-md-0 mb-md-0 pb-4 pb-md-0"
66+
:class="[dataIsLoaded && 'mb-md-14']"
6767
>
6868
<!-- eslint-disable vue/no-v-html -->
6969
<h1
@@ -381,12 +381,19 @@ export default {
381381
382382
@include nest('.theme--light') {
383383
color: #011d32;
384-
background-color: #91ccff;
384+
background-color: #deecf9;
385+
386+
&__cities {
387+
color: #2374ab;
388+
&__line {
389+
background-color: #2374ab;
390+
}
391+
}
385392
}
386393
387394
@include nest('.theme--dark') {
388395
color: #cbe5ff;
389-
background-color: #011d32;
396+
background-color: #003c5e;
390397
391398
&__cities {
392399
color: #91ccff;
@@ -397,17 +404,10 @@ export default {
397404
}
398405
399406
h1,
400-
h2,
401-
&-message {
407+
h2 {
402408
z-index: 2;
403409
}
404410
405-
&-message {
406-
.v-badge__badge {
407-
inset: auto auto calc(100% - 12px) 12px !important;
408-
}
409-
}
410-
411411
&__subtitle {
412412
min-height: 96px;
413413
}
@@ -539,11 +539,10 @@ export default {
539539
&-content {
540540
height: 100%;
541541
z-index: 2;
542-
width: 50%;
542+
width: 45%;
543543
544544
h1,
545-
h2,
546-
.tt-landing-content-message {
545+
h2 {
547546
max-width: 85%;
548547
}
549548

0 commit comments

Comments
 (0)