@openeventkit/event-site 2.0.140 → 2.0.144
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openeventkit/event-site",
|
|
3
3
|
"description": "Event Site",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.144",
|
|
5
5
|
"author": "Tipit LLC",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@fortawesome/fontawesome-svg-core": "^6.5.2",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"jsdom": "^24.1.0",
|
|
79
79
|
"klaro": "^0.7.21",
|
|
80
80
|
"lite-schedule-widget": "3.0.3",
|
|
81
|
-
"live-event-widget": "4.0.
|
|
81
|
+
"live-event-widget": "4.0.4",
|
|
82
82
|
"lodash": "^4.17.19",
|
|
83
83
|
"lz-string": "^1.4.4",
|
|
84
84
|
"markdown-it": "^12.0.0",
|
|
@@ -111,7 +111,6 @@
|
|
|
111
111
|
"react-star-ratings": "^2.3.0",
|
|
112
112
|
"react-stars": "^2.2.5",
|
|
113
113
|
"react-tabs": "^3.0.0",
|
|
114
|
-
"react-textfit": "^1.1.1",
|
|
115
114
|
"react-tooltip": "^3.11.6",
|
|
116
115
|
"react-transition-group": "^4.4.2",
|
|
117
116
|
"react-useportal": "^1.0.16",
|
|
@@ -134,7 +133,7 @@
|
|
|
134
133
|
"summit-registration-lite": "5.0.40",
|
|
135
134
|
"superagent": "8.0.9",
|
|
136
135
|
"sweetalert2": "^9.17.0",
|
|
137
|
-
"upcoming-events-widget": "3.0.
|
|
136
|
+
"upcoming-events-widget": "3.0.7",
|
|
138
137
|
"urijs": "^1.19.2",
|
|
139
138
|
"use-fit-text": "^2.4.0",
|
|
140
139
|
"uuid": "^7.0.0",
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
|
-
|
|
5
|
-
import URI from "urijs";
|
|
6
|
-
import { handleResetReducers } from "../actions/event-actions";
|
|
4
|
+
import URI from "urijs"
|
|
7
5
|
import { doLogin } from "openstack-uicore-foundation/lib/security/methods";
|
|
8
|
-
|
|
6
|
+
import { handleResetReducers } from "../actions/event-actions";
|
|
7
|
+
import Interstitial from "../components/Interstitial";
|
|
8
|
+
import { userHasAccessLevel, VIRTUAL_ACCESS_LEVEL } from "@utils/authorizedGroups";
|
|
9
9
|
import { getDefaultLocation } from "@utils/loginUtils";
|
|
10
10
|
|
|
11
|
-
import HeroComponent from "../components/HeroComponent";
|
|
12
|
-
import { userHasAccessLevel, VIRTUAL_ACCESS_LEVEL } from "../utils/authorizedGroups";
|
|
13
|
-
|
|
14
11
|
export const TokenExpirePageTemplate = class extends React.Component {
|
|
15
12
|
|
|
16
13
|
componentDidMount() {
|
|
@@ -37,9 +34,7 @@ export const TokenExpirePageTemplate = class extends React.Component {
|
|
|
37
34
|
|
|
38
35
|
render() {
|
|
39
36
|
return (
|
|
40
|
-
<
|
|
41
|
-
title="Checking credentials..."
|
|
42
|
-
/>
|
|
37
|
+
<Interstitial title="Checking credentials..." />
|
|
43
38
|
)
|
|
44
39
|
}
|
|
45
40
|
}
|
|
@@ -47,7 +42,7 @@ export const TokenExpirePageTemplate = class extends React.Component {
|
|
|
47
42
|
TokenExpirePageTemplate.propTypes = {
|
|
48
43
|
loggedUser: PropTypes.object,
|
|
49
44
|
location: PropTypes.object,
|
|
50
|
-
handleResetReducers: PropTypes.func
|
|
45
|
+
handleResetReducers: PropTypes.func
|
|
51
46
|
}
|
|
52
47
|
|
|
53
48
|
const TokenExpirePage = ({ loggedUser, location, handleResetReducers, userProfile, eventRedirect }) => {
|
|
@@ -67,14 +62,14 @@ const TokenExpirePage = ({ loggedUser, location, handleResetReducers, userProfil
|
|
|
67
62
|
TokenExpirePage.propTypes = {
|
|
68
63
|
loggedUser: PropTypes.object,
|
|
69
64
|
location: PropTypes.object,
|
|
70
|
-
handleResetReducers: PropTypes.func
|
|
65
|
+
handleResetReducers: PropTypes.func
|
|
71
66
|
}
|
|
72
67
|
|
|
73
68
|
const mapStateToProps = ({ loggedUserState, settingState, userState }) => ({
|
|
74
69
|
loggedUser: loggedUserState,
|
|
75
70
|
// TODO: move to site settings i/o marketing page settings
|
|
76
71
|
eventRedirect: settingState.marketingPageSettings.eventRedirect,
|
|
77
|
-
userProfile: userState.userProfile
|
|
72
|
+
userProfile: userState.userProfile
|
|
78
73
|
})
|
|
79
74
|
|
|
80
75
|
export default connect(mapStateToProps, { handleResetReducers })(TokenExpirePage);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { useEffect } from 'react';
|
|
2
|
-
import { navigate } from 'gatsby';
|
|
3
|
-
import styles from '../styles/hero.scss'
|
|
4
|
-
|
|
5
|
-
const HeroComponent = ({ title, subtitle, event, redirectTo, options = {} }) => {
|
|
6
|
-
|
|
7
|
-
useEffect(() => {
|
|
8
|
-
if (redirectTo) setTimeout(() => navigate(redirectTo, options), 3000);
|
|
9
|
-
}, [redirectTo]);
|
|
10
|
-
|
|
11
|
-
return (
|
|
12
|
-
<section className={`hero ${event ? 'talk__break' : 'is-fullheight'}`}>
|
|
13
|
-
<div className="hero-body hero-component">
|
|
14
|
-
<div className={`${event ? '' : 'container has-text-centered'}`}>
|
|
15
|
-
<h1 className="title">{title}</h1>
|
|
16
|
-
<h2 className="subtitle">{subtitle}</h2>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</section>
|
|
20
|
-
)
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export default HeroComponent;
|