@openeventkit/event-site 1.0.47 → 1.0.49
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/gatsby-node.js +9 -3
- package/package.json +4 -4
- package/src/actions/update-data-actions.js +1 -1
- package/src/cms/config/collections/defaultPagesCollection/expoHallPage/index.js +39 -0
- package/src/cms/config/collections/defaultPagesCollection/expoHallPage/typeDefs.js +15 -0
- package/src/cms/config/collections/defaultPagesCollection/index.js +3 -1
- package/src/cms/config/collections/defaultPagesCollection/lobbyPage/index.js +16 -0
- package/src/cms/config/collections/defaultPagesCollection/lobbyPage/typeDefs.js +5 -0
- package/src/cms/config/collections/defaultPagesCollection/typeDefs.js +3 -1
- package/src/components/FullSchedule.js +2 -0
- package/src/components/HeroComponent.js +1 -1
- package/src/components/RegistrationLiteComponent.js +0 -2
- package/src/components/SponsorComponent.js +31 -32
- package/src/components/summit-my-orders-tickets/components/MyOrdersTickets.js +2 -5
- package/src/components/summit-my-orders-tickets/components/OrderDetails/OrderDetails.js +12 -7
- package/src/components/summit-my-orders-tickets/components/OrderList/OrderList.js +1 -3
- package/src/components/summit-my-orders-tickets/components/OrderList/OrderListItem.js +8 -5
- package/src/components/summit-my-orders-tickets/store/actions/order-actions.js +6 -1
- package/src/components/summit-my-orders-tickets/store/actions/ticket-actions.js +4 -2
- package/src/components/summit-my-orders-tickets/store/reducers/order-reducer.js +11 -0
- package/src/content/expo-hall-page/index.json +1 -0
- package/src/content/site-settings/index.json +1 -1
- package/src/content/sponsors.json +1 -1
- package/src/pages/a/index.js +13 -9
- package/src/pages/a/sponsors.js +76 -0
- package/src/reducers/sponsor-reducer.js +3 -6
- package/src/styles/colors.scss +7 -7
- package/src/styles/style.scss +5 -16
- package/src/templates/event-page.js +1 -11
- package/src/templates/expo-hall-page.js +28 -27
- package/src/templates/lobby-page.js +6 -2
- package/src/utils/filePath.js +2 -0
- package/src/utils/useMarketingSettings.js +3 -2
- package/src/components/summit-my-orders-tickets/components/OrderList/OrderList.helpers.js +0 -36
- package/src/components/summit-my-orders-tickets/context/OrdersTicketsContext.js +0 -38
- package/src/content/expo-hall.json +0 -10
- package/static/admin/config.yml.template +0 -365
|
@@ -1 +1 @@
|
|
|
1
|
-
{"widgets":{"chat":{"showQA":false,"showHelp":false,"defaultScope":"page"},"schedule":{"allowClick":true}},"favicons":{"favicon180":"/img/favicon.png","favicon32":"/img/favicon.png","favicon16":"/img/favicon.png"},"staticJsonFilesBuildTime":[{"file":"src/data/summit.json","build_time":
|
|
1
|
+
{"widgets":{"chat":{"showQA":false,"showHelp":false,"defaultScope":"page"},"schedule":{"allowClick":true}},"favicons":{"favicon180":"/img/favicon.png","favicon32":"/img/favicon.png","favicon16":"/img/favicon.png"},"staticJsonFilesBuildTime":[{"file":"src/data/summit.json","build_time":1692897295415},{"file":"src/data/events.json","build_time":1692897301065},{"file":"src/data/events.idx.json","build_time":1692897301070},{"file":"src/data/speakers.json","build_time":1692897303070},{"file":"src/data/speakers.idx.json","build_time":1692897303070},{"file":"src/content/sponsors.json","build_time":1692897305837},{"file":"src/data/voteable-presentations.json","build_time":1692897306209}],"lastBuild":1692897306210}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[]
|
|
1
|
+
[{"id":7,"created":1598305743,"last_edited":1598305743,"order":1,"summit_id":13,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":"","intro":"","external_link":"","video_link":"","chat_link":"","featured_event_id":0,"header_image_alt_text":"","side_image_alt_text":"","header_image_mobile_alt_text":"","carousel_advertise_image_alt_text":"","show_logo_in_event_page":true,"members":[26396,27683,6],"company":{"id":4,"created":1582745992,"last_edited":1582745992,"name":"FNTECH","url":"","display_on_site":false,"featured":false,"city":"","state":"","country":"","description":"","industry":"","contributions":"","contact_email":"","member_level":"None","admin_email":"","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-assets.sfo2.digitaloceanspaces.com/companies/4/logos/FNTECH-BLK-logo-rgb-1-color-white-720px2.png","big_logo":"https://summit-api-assets.sfo2.digitaloceanspaces.com/companies/4/logos/FNTECH-BLK-logo-rgb-1-color-white-720px3.png","color":"#f0f0ee","sponsorships":[749,750,745,743,744,1455,1530,1531,1532,1533,1534,1570,1571,1572,756,742,747,746,2332,732,623,626,633,616,730,625],"project_sponsorships":[]},"sponsorship":{"id":486,"widget_title":null,"lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":true,"sponsor_page_use_banner_widget":true,"badge_image":null,"badge_image_alt_text":null,"summit_id":13,"order":12,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":12,"created":1610061360,"last_edited":1610061360,"name":"Top-Tier","label":"Top-Tier","order":12,"size":"Large"}},"ads":[],"materials":[],"social_networks":[]},{"id":27,"created":1610063550,"last_edited":1610063550,"order":2,"summit_id":13,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"members":[],"company":{"id":25,"created":1610060787,"last_edited":1610060787,"name":"Wherehol","url":"","display_on_site":false,"featured":false,"city":"","state":"","country":"","description":"","industry":"","contributions":"","contact_email":"","member_level":"None","admin_email":"","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-assets.sfo2.digitaloceanspaces.com/companies/25/logos/Logo-Middle-Tier-Wherehol.png","big_logo":"https://summit-api-assets.sfo2.digitaloceanspaces.com/companies/25/logos/Logo-Middle-Tier-Wherehol1.png","color":"#DADADA","sponsorships":[748,749,750,745,743,744,747,746,626,633,625],"project_sponsorships":[]},"sponsorship":{"id":486,"widget_title":null,"lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":true,"sponsor_page_use_banner_widget":true,"badge_image":null,"badge_image_alt_text":null,"summit_id":13,"order":12,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":12,"created":1610061360,"last_edited":1610061360,"name":"Top-Tier","label":"Top-Tier","order":12,"size":"Large"}},"ads":[],"materials":[],"social_networks":[]},{"id":28,"created":1610063866,"last_edited":1610063866,"order":3,"summit_id":13,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"members":[],"company":{"id":26,"created":1610063779,"last_edited":1610063779,"name":"Mobility","url":"","display_on_site":false,"featured":false,"city":"","state":"","country":"","description":"","industry":"","contributions":"","contact_email":"","member_level":"None","admin_email":"","overview":"","products":"","commitment":"","commitment_author":"","logo":null,"big_logo":null,"color":"#DADADA","sponsorships":[748,749,750,745,743,744,633],"project_sponsorships":[]},"sponsorship":{"id":529,"widget_title":null,"lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":true,"sponsor_page_use_banner_widget":true,"badge_image":null,"badge_image_alt_text":null,"summit_id":13,"order":13,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":13,"created":1610061803,"last_edited":1610061803,"name":"Middle-Tier","label":"Middle-Tier","order":13,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":29,"created":1610063887,"last_edited":1610063887,"order":4,"summit_id":13,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"members":[],"company":{"id":27,"created":1610063790,"last_edited":1610063790,"name":"Treva","url":"","display_on_site":false,"featured":false,"city":"","state":"","country":"","description":"","industry":"","contributions":"","contact_email":"","member_level":"None","admin_email":"","overview":"","products":"","commitment":"","commitment_author":"","logo":null,"big_logo":null,"color":"#DADADA","sponsorships":[748,749,750,745,743,744,633],"project_sponsorships":[]},"sponsorship":{"id":572,"widget_title":null,"lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":true,"sponsor_page_use_banner_widget":true,"badge_image":null,"badge_image_alt_text":null,"summit_id":13,"order":14,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":14,"created":1610061840,"last_edited":1610061840,"name":"Lower-Tier","label":"Lower-Tier","order":14,"size":"Small"}},"ads":[],"materials":[],"social_networks":[]},{"id":30,"created":1610646759,"last_edited":1610646759,"order":5,"summit_id":13,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"members":[],"company":{"id":28,"created":1610646606,"last_edited":1610646606,"name":"DVC","url":"","display_on_site":false,"featured":false,"city":"","state":"","country":"","description":"","industry":"","contributions":"","contact_email":"","member_level":"None","admin_email":"","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-assets.sfo2.digitaloceanspaces.com/companies/28/logos/DVC-LOGO-968X968.png","big_logo":null,"color":"#DADADA","sponsorships":[749,750,745,743,744,633],"project_sponsorships":[]},"sponsorship":{"id":486,"widget_title":null,"lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":true,"sponsor_page_use_banner_widget":true,"badge_image":null,"badge_image_alt_text":null,"summit_id":13,"order":12,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":12,"created":1610061360,"last_edited":1610061360,"name":"Top-Tier","label":"Top-Tier","order":12,"size":"Large"}},"ads":[],"materials":[],"social_networks":[]},{"id":31,"created":1610649182,"last_edited":1610649182,"order":6,"summit_id":13,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"members":[],"company":{"id":29,"created":1610649003,"last_edited":1610649003,"name":"Seeing Eye Lighting Design","url":"","display_on_site":false,"featured":false,"city":"","state":"","country":"","description":"","industry":"","contributions":"","contact_email":"","member_level":"None","admin_email":"","overview":"","products":"","commitment":"","commitment_author":"","logo":null,"big_logo":null,"color":"#DADADA","sponsorships":[749,750,745,743,744,633],"project_sponsorships":[]},"sponsorship":{"id":486,"widget_title":null,"lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":true,"sponsor_page_use_banner_widget":true,"badge_image":null,"badge_image_alt_text":null,"summit_id":13,"order":12,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":12,"created":1610061360,"last_edited":1610061360,"name":"Top-Tier","label":"Top-Tier","order":12,"size":"Large"}},"ads":[],"materials":[],"social_networks":[]},{"id":32,"created":1610649204,"last_edited":1610649204,"order":7,"summit_id":13,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"members":[],"company":{"id":30,"created":1610649028,"last_edited":1610649028,"name":"Hughston Engineering","url":"","display_on_site":false,"featured":false,"city":"","state":"","country":"","description":"","industry":"","contributions":"","contact_email":"","member_level":"None","admin_email":"","overview":"","products":"","commitment":"","commitment_author":"","logo":null,"big_logo":null,"color":"#DADADA","sponsorships":[749,750,745,743,744,633],"project_sponsorships":[]},"sponsorship":{"id":486,"widget_title":null,"lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":true,"sponsor_page_use_banner_widget":true,"badge_image":null,"badge_image_alt_text":null,"summit_id":13,"order":12,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":12,"created":1610061360,"last_edited":1610061360,"name":"Top-Tier","label":"Top-Tier","order":12,"size":"Large"}},"ads":[],"materials":[],"social_networks":[]},{"id":33,"created":1610649224,"last_edited":1610649224,"order":8,"summit_id":13,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"members":[],"company":{"id":31,"created":1610649044,"last_edited":1610649044,"name":"Curtin Convention Services","url":"","display_on_site":false,"featured":false,"city":"","state":"","country":"","description":"","industry":"","contributions":"","contact_email":"","member_level":"None","admin_email":"","overview":"","products":"","commitment":"","commitment_author":"","logo":null,"big_logo":null,"color":"#DADADA","sponsorships":[748,749,750,745,743,744,633],"project_sponsorships":[]},"sponsorship":{"id":486,"widget_title":null,"lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":true,"sponsor_page_use_banner_widget":true,"badge_image":null,"badge_image_alt_text":null,"summit_id":13,"order":12,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":12,"created":1610061360,"last_edited":1610061360,"name":"Top-Tier","label":"Top-Tier","order":12,"size":"Large"}},"ads":[],"materials":[],"social_networks":[]},{"id":37,"created":1617308510,"last_edited":1617308510,"order":9,"summit_id":13,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"members":[],"company":{"id":35,"created":1617308469,"last_edited":1617308469,"name":"Anthony Drake & Associates","url":"","display_on_site":false,"featured":false,"city":"","state":"","country":"","description":"","industry":"","contributions":"","contact_email":"","member_level":"None","admin_email":"","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-assets.sfo2.digitaloceanspaces.com/companies/35/logos/YOCO-ADA-Sponsor-Ad-Home.jpg","big_logo":null,"color":"#DADADA","sponsorships":[747,734,623,617],"project_sponsorships":[]},"sponsorship":{"id":486,"widget_title":null,"lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":true,"sponsor_page_use_banner_widget":true,"badge_image":null,"badge_image_alt_text":null,"summit_id":13,"order":12,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":12,"created":1610061360,"last_edited":1610061360,"name":"Top-Tier","label":"Top-Tier","order":12,"size":"Large"}},"ads":[],"materials":[],"social_networks":[]}]
|
package/src/pages/a/index.js
CHANGED
|
@@ -35,6 +35,10 @@ export const lobbyPageQuery = graphql`
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
liveNowFeaturedEventId
|
|
38
|
+
sponsorsWidgetButton {
|
|
39
|
+
text
|
|
40
|
+
link
|
|
41
|
+
}
|
|
38
42
|
}
|
|
39
43
|
}
|
|
40
44
|
`;
|
|
@@ -43,15 +47,15 @@ const App = ({ data, isLoggedUser, user, summitPhase }) => {
|
|
|
43
47
|
return (
|
|
44
48
|
<Location>
|
|
45
49
|
{({ location }) => (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
<Router basepath="/a" >
|
|
51
|
+
<WithAuthRoute path="/" isLoggedIn={isLoggedUser} location={location}>
|
|
52
|
+
<WithAuthzRoute path="/" summitPhase={summitPhase} isLoggedIn={isLoggedUser} user={user} location={location}>
|
|
53
|
+
<ShowOpenRoute path="/" summitPhase={summitPhase} isLoggedIn={isLoggedUser} user={user} location={location}>
|
|
54
|
+
<LobbyPage path="/" data={data} isLoggedIn={isLoggedUser} user={user} location={location} />
|
|
55
|
+
</ShowOpenRoute>
|
|
56
|
+
</WithAuthzRoute>
|
|
57
|
+
</WithAuthRoute>
|
|
58
|
+
</Router>
|
|
55
59
|
)}
|
|
56
60
|
</Location>
|
|
57
61
|
);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { graphql } from "gatsby";
|
|
3
|
+
import { Router, Location } from "@reach/router";
|
|
4
|
+
import { connect } from "react-redux";
|
|
5
|
+
import ExpoHallPage from "../../templates/expo-hall-page";
|
|
6
|
+
import WithAuthzRoute from "../../routes/WithAuthzRoute";
|
|
7
|
+
import WithAuthRoute from "../../routes/WithAuthRoute";
|
|
8
|
+
import ShowOpenRoute from "../../routes/ShowOpenRoute";
|
|
9
|
+
import withRealTimeUpdates from "../../utils/real_time_updates/withRealTimeUpdates";
|
|
10
|
+
import withFeedsWorker from "../../utils/withFeedsWorker";
|
|
11
|
+
import Seo from "../../components/Seo";
|
|
12
|
+
|
|
13
|
+
export const expoHallPageQuery = graphql`
|
|
14
|
+
query {
|
|
15
|
+
expoHallPageJson {
|
|
16
|
+
hero {
|
|
17
|
+
title
|
|
18
|
+
subTitle
|
|
19
|
+
background {
|
|
20
|
+
src {
|
|
21
|
+
childImageSharp {
|
|
22
|
+
gatsbyImageData (
|
|
23
|
+
quality: 100
|
|
24
|
+
placeholder: BLURRED
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
alt
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
|
|
35
|
+
const App = ({
|
|
36
|
+
data,
|
|
37
|
+
isLoggedUser,
|
|
38
|
+
user,
|
|
39
|
+
summitPhase
|
|
40
|
+
}) => {
|
|
41
|
+
return (
|
|
42
|
+
<Location>
|
|
43
|
+
{({ location }) => (
|
|
44
|
+
<Router basepath="/a" >
|
|
45
|
+
<WithAuthRoute path="/" isLoggedIn={isLoggedUser} location={location}>
|
|
46
|
+
<WithAuthzRoute path="/" summitPhase={summitPhase} isLoggedIn={isLoggedUser} user={user} location={location}>
|
|
47
|
+
<ShowOpenRoute path="/" summitPhase={summitPhase} isLoggedIn={isLoggedUser} user={user} location={location}>
|
|
48
|
+
<ExpoHallPage path="/sponsors/" location={location} data={data}/>
|
|
49
|
+
</ShowOpenRoute>
|
|
50
|
+
</WithAuthzRoute>
|
|
51
|
+
</WithAuthRoute>
|
|
52
|
+
</Router>
|
|
53
|
+
)}
|
|
54
|
+
</Location>
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const mapStateToProps = ({
|
|
59
|
+
loggedUserState,
|
|
60
|
+
userState, clockState
|
|
61
|
+
}) => ({
|
|
62
|
+
isLoggedUser: loggedUserState.isLoggedUser,
|
|
63
|
+
summitPhase: clockState.summit_phase,
|
|
64
|
+
user: userState
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
export default connect(mapStateToProps, {})(withFeedsWorker(withRealTimeUpdates(App)));
|
|
68
|
+
|
|
69
|
+
export const Head = ({
|
|
70
|
+
location
|
|
71
|
+
}) => (
|
|
72
|
+
<Seo
|
|
73
|
+
title={"Expo Hall"}
|
|
74
|
+
pathname={location.pathname}
|
|
75
|
+
/>
|
|
76
|
+
);
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { START_LOADING, STOP_LOADING } from "openstack-uicore-foundation/lib/utils/actions";
|
|
2
2
|
import { LOGOUT_USER } from "openstack-uicore-foundation/lib/security/actions";
|
|
3
|
-
import {RESET_STATE, SYNC_DATA} from "../actions/base-actions-definitions";
|
|
3
|
+
import { RESET_STATE, SYNC_DATA } from "../actions/base-actions-definitions";
|
|
4
4
|
|
|
5
|
-
import sponsorData from "content/sponsors";
|
|
6
|
-
import expoHallData from '../content/expo-hall.json';
|
|
5
|
+
import sponsorData from "content/sponsors.json";
|
|
7
6
|
|
|
8
7
|
const DEFAULT_STATE = {
|
|
9
|
-
sponsors: sponsorData
|
|
10
|
-
imageHeader: expoHallData.imageHeader,
|
|
11
|
-
lobbyButton: expoHallData.lobbyButton
|
|
8
|
+
sponsors: sponsorData
|
|
12
9
|
};
|
|
13
10
|
|
|
14
11
|
const sponsorReducer = (state = DEFAULT_STATE, action) => {
|
package/src/styles/colors.scss
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
$color_primary : #
|
|
2
|
-
$color_primary_contrast : #
|
|
3
|
-
$color_secondary : #
|
|
4
|
-
$color_secondary_contrast : #
|
|
5
|
-
$color_accent : #
|
|
6
|
-
$color_text_dark : #
|
|
1
|
+
$color_primary : #6d6e71;
|
|
2
|
+
$color_primary_contrast : #f1f2f2;
|
|
3
|
+
$color_secondary : #00CEC4;
|
|
4
|
+
$color_secondary_contrast : #ff5e32;
|
|
5
|
+
$color_accent : #ff5e32;
|
|
6
|
+
$color_text_dark : #333333;
|
|
7
7
|
$color_text_med : #828282;
|
|
8
8
|
$color_text_light : #ffffff;
|
|
9
9
|
$color_gray_darker : #4A4A4A;
|
|
10
10
|
$color_gray_dark : #999999;
|
|
11
11
|
$color_gray_light : #DFDFDF;
|
|
12
12
|
$color_gray_lighter : #F2F2F2;
|
|
13
|
-
$color_text_input_hints : #
|
|
13
|
+
$color_text_input_hints : #c4c4c4;
|
package/src/styles/style.scss
CHANGED
|
@@ -236,9 +236,8 @@ h2 {
|
|
|
236
236
|
.talk {
|
|
237
237
|
&__break {
|
|
238
238
|
background-color: $color_secondary;
|
|
239
|
-
min-height: 92vh !important;
|
|
240
239
|
width: 100%;
|
|
241
|
-
|
|
240
|
+
aspect-ratio: auto 16 / 9;
|
|
242
241
|
|
|
243
242
|
h1,
|
|
244
243
|
h2 {
|
|
@@ -300,6 +299,10 @@ h2 {
|
|
|
300
299
|
align-items: flex-end;
|
|
301
300
|
}
|
|
302
301
|
|
|
302
|
+
.hero-body {
|
|
303
|
+
align-items: center;
|
|
304
|
+
display: flex;
|
|
305
|
+
}
|
|
303
306
|
}
|
|
304
307
|
|
|
305
308
|
.join-zoom-container {
|
|
@@ -495,12 +498,6 @@ div.event-feedback-container {
|
|
|
495
498
|
}
|
|
496
499
|
}
|
|
497
500
|
|
|
498
|
-
.talk {
|
|
499
|
-
&__break {
|
|
500
|
-
height: auto;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
|
|
504
501
|
.join-zoom-container {
|
|
505
502
|
flex-direction: column;
|
|
506
503
|
height: 100px;
|
|
@@ -554,14 +551,6 @@ div.event-feedback-container {
|
|
|
554
551
|
}
|
|
555
552
|
}
|
|
556
553
|
|
|
557
|
-
@media (min-width: 1921px) {
|
|
558
|
-
.talk {
|
|
559
|
-
&__break {
|
|
560
|
-
min-height: 100vh !important;
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
|
|
565
554
|
/* extra questions */
|
|
566
555
|
[id^="chl_wrapper"] {
|
|
567
556
|
.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">
|
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { getSrc } from "gatsby-plugin-image";
|
|
3
|
+
import Layout from "../components/Layout";
|
|
4
|
+
import SponsorComponent from "../components/SponsorComponent";
|
|
5
|
+
import AttendanceTrackerComponent from "../components/AttendanceTrackerComponent";
|
|
6
|
+
import AccessTracker from "../components/AttendeeToAttendeeWidgetComponent";
|
|
2
7
|
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import Layout from '../components/Layout'
|
|
6
|
-
import SponsorComponent from '../components/SponsorComponent'
|
|
7
|
-
import AttendanceTrackerComponent from '../components/AttendanceTrackerComponent'
|
|
8
|
-
import AccessTracker from '../components/AttendeeToAttendeeWidgetComponent'
|
|
9
|
-
import styles from '../styles/expo-hero.module.scss'
|
|
10
|
-
|
|
11
|
-
const ExpoHallPage = ({ location, imageHeader }) => {
|
|
8
|
+
import styles from "../styles/expo-hero.module.scss";
|
|
12
9
|
|
|
10
|
+
const ExpoHallPage = ({
|
|
11
|
+
data,
|
|
12
|
+
location
|
|
13
|
+
}) => {
|
|
14
|
+
const { expoHallPageJson: { hero } } = data;
|
|
15
|
+
const style = hero?.background ? { backgroundImage: `url(${getSrc(hero.background.src)})` } : {};
|
|
13
16
|
return (
|
|
14
17
|
<Layout location={location}>
|
|
15
18
|
<AttendanceTrackerComponent />
|
|
16
19
|
<AccessTracker />
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</
|
|
20
|
+
{ hero && (hero.background || hero.title || hero.subTitle) &&
|
|
21
|
+
<section className="hero is-large sponsors-header" style={style}>
|
|
22
|
+
<div className="hero-body">
|
|
23
|
+
<div className={styles.heroContainer}>
|
|
24
|
+
<h1 className={styles.title}>
|
|
25
|
+
{hero.title}
|
|
26
|
+
</h1>
|
|
27
|
+
<span className={styles.subtitle}>
|
|
28
|
+
{hero.subTitle}
|
|
29
|
+
</span>
|
|
27
30
|
</div>
|
|
28
|
-
</
|
|
31
|
+
</div>
|
|
32
|
+
</section>
|
|
33
|
+
}
|
|
29
34
|
<section className="section px-6 py-6">
|
|
30
35
|
<SponsorComponent />
|
|
31
36
|
</section>
|
|
32
37
|
</Layout>
|
|
33
38
|
)
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
const mapStateToProps = ({ sponsorState }) => ({
|
|
37
|
-
imageHeader: sponsorState.imageHeader
|
|
38
|
-
});
|
|
39
|
+
};
|
|
39
40
|
|
|
40
|
-
export default
|
|
41
|
+
export default ExpoHallPage;
|
|
@@ -46,7 +46,8 @@ export const LobbyPageTemplate = class extends React.Component {
|
|
|
46
46
|
lobbyPageJson: {
|
|
47
47
|
hero,
|
|
48
48
|
centerColumn,
|
|
49
|
-
liveNowFeaturedEventId
|
|
49
|
+
liveNowFeaturedEventId,
|
|
50
|
+
sponsorsWidgetButton
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
53
|
lastDataSync
|
|
@@ -65,7 +66,10 @@ export const LobbyPageTemplate = class extends React.Component {
|
|
|
65
66
|
<div className="columns">
|
|
66
67
|
<div className="column is-one-quarter">
|
|
67
68
|
<h2><b>Community</b></h2>
|
|
68
|
-
<SponsorComponent
|
|
69
|
+
<SponsorComponent
|
|
70
|
+
page="lobby"
|
|
71
|
+
linkButton={sponsorsWidgetButton}
|
|
72
|
+
/>
|
|
69
73
|
<AdvertiseComponent section="lobby" column="left"/>
|
|
70
74
|
</div>
|
|
71
75
|
<div className="column is-half">
|
package/src/utils/filePath.js
CHANGED
|
@@ -33,6 +33,7 @@ const VOTEABLE_PRESENTATIONS_FILE_PATH = `${DATA_DIR_PATH}/${VOTEABLE_PRESENTATI
|
|
|
33
33
|
const POSTERS_PAGES_FILE_PATH = `${STATIC_CONTENT_DIR_PATH}/posters-pages.json`;
|
|
34
34
|
const MARKETING_SETTINGS_FILE_PATH = `${DATA_DIR_PATH}/marketing-settings.json`;
|
|
35
35
|
const MAINTENANCE_FILE_PATH = `${STATIC_CONTENT_DIR_PATH}/maintenance.json`;
|
|
36
|
+
const EXPO_HALL_PAGE_FILE_PATH = `${STATIC_CONTENT_DIR_PATH}/expo-hall-page/index.json`;
|
|
36
37
|
const SPONSORS_FILE_NAME = "sponsors.json";
|
|
37
38
|
const SPONSORS_FILE_PATH = `${STATIC_CONTENT_DIR_PATH}/${SPONSORS_FILE_NAME}`;
|
|
38
39
|
|
|
@@ -75,4 +76,5 @@ exports.VOTEABLE_PRESENTATIONS_FILE_PATH = VOTEABLE_PRESENTATIONS_FILE_PATH;
|
|
|
75
76
|
exports.POSTERS_PAGES_FILE_PATH = POSTERS_PAGES_FILE_PATH;
|
|
76
77
|
exports.MARKETING_SETTINGS_FILE_PATH = MARKETING_SETTINGS_FILE_PATH;
|
|
77
78
|
exports.MAINTENANCE_FILE_PATH = MAINTENANCE_FILE_PATH;
|
|
79
|
+
exports.EXPO_HALL_PAGE_FILE_PATH = EXPO_HALL_PAGE_FILE_PATH;
|
|
78
80
|
exports.SPONSORS_FILE_PATH = SPONSORS_FILE_PATH;
|
|
@@ -7,10 +7,10 @@ export const MARKETING_SETTINGS_KEYS = {
|
|
|
7
7
|
disqusExcludeTracks: "disqus_exclude_tracks",
|
|
8
8
|
registrationInPersonDisclaimer: "registration_in_person_disclaimer",
|
|
9
9
|
scheduleDefaultImage: "schedule_default_image",
|
|
10
|
+
fullScheduleSummitLogoPrint: "FULL_SCHEDULE_SUMMIT_LOGO_PRINT",
|
|
10
11
|
summitDeltaStartTime: "summit_delta_start_time",
|
|
11
12
|
activityCtaText: "ACTIVITY_CTA_TEXT",
|
|
12
13
|
regLiteAllowPromoCodes: "REG_LITE_ALLOW_PROMO_CODES",
|
|
13
|
-
regLiteCompanyInputPlaceholder: "REG_LITE_COMPANY_INPUT_PLACEHOLDER",
|
|
14
14
|
regLiteCompanyDDLPlaceholder: "REG_LITE_COMPANY_DDL_PLACEHOLDER",
|
|
15
15
|
regLiteInitialOrderComplete1stParagraph: "REG_LITE_INITIAL_ORDER_COMPLETE_STEP_1ST_PARAGRAPH",
|
|
16
16
|
regLiteInitialOrderComplete2ndParagraph: "REG_LITE_INITIAL_ORDER_COMPLETE_STEP_2ND_PARAGRAPH",
|
|
@@ -21,6 +21,7 @@ export const MARKETING_SETTINGS_KEYS = {
|
|
|
21
21
|
regLiteNoAllowedTicketsMessage: "REG_LITE_NO_ALLOWED_TICKETS_MESSAGE",
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
|
|
24
25
|
const marketingSettingsQuery = graphql`
|
|
25
26
|
query {
|
|
26
27
|
allMarketingSettingsJson {
|
|
@@ -35,7 +36,7 @@ const marketingSettingsQuery = graphql`
|
|
|
35
36
|
const useMarketingSettings = () => {
|
|
36
37
|
const { allMarketingSettingsJson } = useStaticQuery(marketingSettingsQuery);
|
|
37
38
|
const getSettingByKey = (key) =>
|
|
38
|
-
|
|
39
|
+
allMarketingSettingsJson.nodes.find(setting => setting.key === key)?.value;
|
|
39
40
|
return { getSettingByKey };
|
|
40
41
|
};
|
|
41
42
|
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React, { createContext, useContext, useReducer } from "react";
|
|
2
|
-
import { createReducer } from '../../util/helpers/createReducer';
|
|
3
|
-
|
|
4
|
-
const initialState = {
|
|
5
|
-
activeOrderId: null,
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
const actions = ({ state, dispatch }) => ({
|
|
9
|
-
setActiveOrderId: (orderId) => dispatch({ type: 'setActiveOrderId', payload: orderId }),
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
const actionHandlers = {
|
|
13
|
-
setActiveOrderId: (state, orderId) => ({ ...state, activeOrderId: orderId })
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const reducer = createReducer({ actionHandlers });
|
|
17
|
-
|
|
18
|
-
export const OrderListContext = createContext(null);
|
|
19
|
-
|
|
20
|
-
export const OrderListContextProvider = ({ children }) => {
|
|
21
|
-
const [state, dispatch] = useReducer(reducer, {}, () => initialState);
|
|
22
|
-
|
|
23
|
-
return (
|
|
24
|
-
<OrderListContext.Provider value={{ state, dispatch }}>
|
|
25
|
-
{children}
|
|
26
|
-
</OrderListContext.Provider>
|
|
27
|
-
)
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export const useOrderListContext = () => {
|
|
31
|
-
const context = useContext(OrderListContext);
|
|
32
|
-
|
|
33
|
-
if (!context) throw new Error('useOrderListContext must be used within a OrderListContextProvider');
|
|
34
|
-
|
|
35
|
-
return { ...context, actions: actions(context) };
|
|
36
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React, { createContext, useContext, useReducer } from 'react';
|
|
2
|
-
import { createReducer } from '../util/helpers/createReducer';
|
|
3
|
-
|
|
4
|
-
const initialState = {
|
|
5
|
-
orders: []
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
const actions = ({ state, dispatch }) => ({
|
|
9
|
-
setOrders: (orders) => dispatch({ type: 'setOrders', payload: orders }),
|
|
10
|
-
setLoading: (loading) => dispatch({ type: 'setLoading', payload: loading })
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
const actionHandlers = {
|
|
14
|
-
setOrders: (state, orders) => ({ ...state, orders }),
|
|
15
|
-
setLoading: (state, loading) => ({ ...state, loading })
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
const reducer = createReducer({ actionHandlers });
|
|
19
|
-
|
|
20
|
-
export const OrdersTicketsContext = createContext(null);
|
|
21
|
-
|
|
22
|
-
export const OrdersTicketsProvider = ({ children }) => {
|
|
23
|
-
const [state, dispatch] = useReducer(reducer, {}, () => initialState);
|
|
24
|
-
|
|
25
|
-
return (
|
|
26
|
-
<OrdersTicketsContext.Provider value={{ state, dispatch }}>
|
|
27
|
-
{children}
|
|
28
|
-
</OrdersTicketsContext.Provider>
|
|
29
|
-
);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export const useOrdersTicketsContext = () => {
|
|
33
|
-
const context = useContext(OrdersTicketsContext);
|
|
34
|
-
|
|
35
|
-
if (!context) throw new Error('useOrdersTicketsContext must be used within a OrdersTicketsProvider');
|
|
36
|
-
|
|
37
|
-
return { ...context, actions: actions(context) };
|
|
38
|
-
};
|