@@ -53,20 +53,21 @@ const Hero = styled.section`
53
53
width: 100vw;
54
54
max-width: 1400px;
55
55
margin: 0 auto;
56
- z-index: 3 ;
57
- height: calc(100vh - 150px);
56
+ z-index: 1 ;
57
+ min- height: calc(100vh - 150px);
58
58
display: flex;
59
59
align-items: center;
60
60
flex-direction: column;
61
- justify-content: space-around;
62
- margin-bottom: 100px;
61
+ padding-top: 4rem;
62
+ justify-content: flex-start;
63
+ position: relative;
63
64
` ;
64
65
65
66
const HeroInfo = styled . div `
66
67
margin: 0 auto;
67
68
width: 90%;
68
69
max-width: 800px;
69
- padding: 32px ;
70
+ padding: 16px ;
70
71
text-align: center;
71
72
font-size: 20px;
72
73
` ;
@@ -88,6 +89,20 @@ const Info = styled.div<{ color: string }>`
88
89
}
89
90
}
90
91
` ;
92
+
93
+ const SponsorContainer = styled . div `
94
+ padding-bottom: 5rem;
95
+ display: flex;
96
+ justify-content: center;
97
+ align-items: center;
98
+ gap: 2rem;
99
+ flex-direction: column;
100
+ overflow-y: scroll;
101
+ @media (min-width: ${ ViewportSizes . Phone } px) {
102
+ justify-content: flex-start;
103
+ }
104
+ ` ;
105
+
91
106
const Sponsor = ( props : SponsorProps ) => {
92
107
const {
93
108
items : [ sponsor ] ,
@@ -105,34 +120,37 @@ const Sponsor = (props: SponsorProps) => {
105
120
color = { colors . effectColors }
106
121
shape = "circle"
107
122
configuration = "sponsors"
123
+ fullScreen = { true }
108
124
/>
109
125
< Hero >
110
126
< HeroInfo style = { { zIndex : "5" } } >
111
- < div >
112
- < Link
113
- rel = "preconnect"
114
- href = { sponsor ?. externalLink ?? "" }
115
- passHref
116
- >
117
- < a target = "_blank" >
118
- < img
119
- alt = { sponsor ?. name ?? "" }
120
- src = { sponsor ?. image ?. url ! }
121
- style = { { maxWidth : "400px" } }
122
- />
123
- </ a >
124
- </ Link >
125
- </ div >
126
- < Info color = { colors . textColor } >
127
- < Description data = { sponsor ?. description ?. json } />
128
- < Link
129
- rel = "preconnect"
130
- href = { sponsor ?. externalLink ?? "" }
131
- passHref
132
- >
133
- < a target = "_blank" > Ir a su página</ a >
134
- </ Link >
135
- </ Info >
127
+ < SponsorContainer >
128
+ < div >
129
+ < Link
130
+ rel = "preconnect"
131
+ href = { sponsor ?. externalLink ?? "" }
132
+ passHref
133
+ >
134
+ < a target = "_blank" >
135
+ < img
136
+ alt = { sponsor ?. name ?? "" }
137
+ src = { sponsor ?. image ?. url ! }
138
+ style = { { width : "100%" , maxWidth : "400px" } }
139
+ />
140
+ </ a >
141
+ </ Link >
142
+ </ div >
143
+ < Info color = { colors . textColor } >
144
+ < Description data = { sponsor ?. description ?. json } />
145
+ < Link
146
+ rel = "preconnect"
147
+ href = { sponsor ?. externalLink ?? "" }
148
+ passHref
149
+ >
150
+ < a target = "_blank" > Ir a su página</ a >
151
+ </ Link >
152
+ </ Info >
153
+ </ SponsorContainer >
136
154
</ HeroInfo >
137
155
</ Hero >
138
156
</ Suspense >
0 commit comments