@openeventkit/event-site 2.0.47 → 2.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ const HeroComponent = ({ title, subtitle, event, redirectTo, options = {} }) =>
|
|
|
9
9
|
}, [redirectTo]);
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
|
-
<section className={`hero
|
|
12
|
+
<section className={`hero ${event ? 'talk__break' : 'is-fullheight'}`}>
|
|
13
13
|
<div className="hero-body hero-component">
|
|
14
14
|
<div className={`${event ? '' : 'container has-text-centered'}`}>
|
|
15
15
|
<h1 className="title">{title}</h1>
|
package/src/styles/style.scss
CHANGED
|
@@ -241,9 +241,8 @@ h2 {
|
|
|
241
241
|
|
|
242
242
|
&__break {
|
|
243
243
|
background-color: var(--color_secondary);
|
|
244
|
-
min-height: 92vh !important;
|
|
245
244
|
width: 100%;
|
|
246
|
-
|
|
245
|
+
aspect-ratio: auto 16 / 9;
|
|
247
246
|
|
|
248
247
|
h1,
|
|
249
248
|
h2 {
|
|
@@ -306,6 +305,10 @@ h2 {
|
|
|
306
305
|
align-items: flex-end;
|
|
307
306
|
}
|
|
308
307
|
|
|
308
|
+
.hero-body {
|
|
309
|
+
align-items: center;
|
|
310
|
+
display: flex;
|
|
311
|
+
}
|
|
309
312
|
}
|
|
310
313
|
|
|
311
314
|
.join-zoom-container {
|
|
@@ -504,12 +507,6 @@ div.event-feedback-container {
|
|
|
504
507
|
}
|
|
505
508
|
}
|
|
506
509
|
|
|
507
|
-
.talk {
|
|
508
|
-
&__break {
|
|
509
|
-
height: auto;
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
|
|
513
510
|
.join-zoom-container {
|
|
514
511
|
flex-direction: column;
|
|
515
512
|
height: 100px;
|
|
@@ -563,14 +560,6 @@ div.event-feedback-container {
|
|
|
563
560
|
}
|
|
564
561
|
}
|
|
565
562
|
|
|
566
|
-
@media (min-width: 1921px) {
|
|
567
|
-
.talk {
|
|
568
|
-
&__break {
|
|
569
|
-
min-height: 100vh !important;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
|
|
574
563
|
/* extra questions */
|
|
575
564
|
[id^="chl_wrapper"] {
|
|
576
565
|
.checkboxes-div {
|
|
@@ -103,17 +103,7 @@ export const EventPageTemplate = class extends React.Component {
|
|
|
103
103
|
return (
|
|
104
104
|
<React.Fragment>
|
|
105
105
|
{/* <EventHeroComponent /> */}
|
|
106
|
-
<section
|
|
107
|
-
className="section px-0 py-0"
|
|
108
|
-
style={{
|
|
109
|
-
marginBottom:
|
|
110
|
-
event.class_name !== "Presentation" ||
|
|
111
|
-
currentPhase < PHASES.DURING ||
|
|
112
|
-
!event.streaming_url
|
|
113
|
-
? "-3rem"
|
|
114
|
-
: "",
|
|
115
|
-
}}
|
|
116
|
-
>
|
|
106
|
+
<section className="section px-0 py-0">
|
|
117
107
|
<div className="columns is-gapless">
|
|
118
108
|
{this.canRenderVideo(currentPhase) ? (
|
|
119
109
|
<div className="column is-three-quarters px-0 py-0">
|