File tree 2 files changed +53
-2
lines changed
2 files changed +53
-2
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <footer id =" site-footer" >
2
+ <footer id =" site-footer" :class = " { 'no-background-image': pageSignup } " >
3
3
4
4
<div class =" content" >
5
5
<div class =" grid-bottom-noBottom-noGutter" >
52
52
<script setup>
53
53
// ======================================================================== Data
54
54
const generalStore = useGeneralStore ()
55
+ const route = useRoute ()
55
56
56
57
// ==================================================================== Computed
58
+ const pageSignup = computed (() => { return route .name === ' signup' })
59
+
57
60
const authors = computed (() => {
58
61
return generalStore .siteContent .general ? .footer .authors
59
62
})
@@ -87,6 +90,11 @@ const scrollToTop = async () => {
87
90
padding- top: toRem (72 );
88
91
height: unset;
89
92
}
93
+ & .no - background- image {
94
+ & :: before {
95
+ display: none;
96
+ }
97
+ }
90
98
& : before {
91
99
content: ' ' ;
92
100
position: absolute;
Original file line number Diff line number Diff line change @@ -49,15 +49,51 @@ const content = computed(() => {
49
49
50
50
<style lang="scss" scoped>
51
51
// ///////////////////////////////////////////////////////////////////// General
52
- .page {
52
+ .page-signup {
53
53
flex : 1 ;
54
54
display : flex ;
55
55
flex-direction : column ;
56
56
justify-content : center ;
57
57
align-items : center ;
58
58
@include small {
59
+ position : relative ;
59
60
margin-top : 4.875rem ;
60
61
}
62
+ & :before {
63
+ content : ' ' ;
64
+ position : absolute ;
65
+ display : block ;
66
+ overflow : visible ;
67
+ top : 0 ;
68
+ left : -8vw ;
69
+ width : 120vw ;
70
+ height : calc (100% + toRem (234 ) + toRem (100 ));
71
+ background-image : url (' /images/warped-torus-made-of-segments.png' );
72
+ background-size : toRem (2040 );
73
+ background-origin : border-box ;
74
+ background-position : center 64% ;
75
+ background-repeat : no-repeat ;
76
+ @include gridMaxMQ {
77
+ height : calc (100% + toRem (355 ));
78
+ }
79
+
80
+ @include medium {
81
+ height : calc (100% + toRem (425 ));
82
+ }
83
+ @include customMaxMQ (toRem (983 )) {
84
+ background-position : center bottom ;
85
+
86
+ }
87
+ @include small {
88
+ height : calc (100% + toRem (234 ));
89
+ }
90
+ @include tiny {
91
+ background-size : 820px ;
92
+ height : calc (100% + toRem (234 ));
93
+ top : unset ;
94
+ bottom : -15% ;
95
+ }
96
+ }
61
97
}
62
98
63
99
.back-home-button {
@@ -88,4 +124,11 @@ const content = computed(() => {
88
124
}
89
125
}
90
126
}
127
+
128
+ // //////////////////////////////////////////////////////////////////// Sections
129
+ #section-signup {
130
+ width : 100% ;
131
+
132
+ }
133
+
91
134
</style >
You can’t perform that action at this time.
0 commit comments