@openeventkit/event-site 2.0.112 → 2.0.114

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-browser.js CHANGED
@@ -12,6 +12,9 @@ import "what-input";
12
12
  import "./src/styles/bulma.scss";
13
13
  // import base styles
14
14
  import "./src/styles/style.scss";
15
+ // import global fontawesome
16
+ import "./src/utils/fontAwesome";
17
+
15
18
  import colors from "data/colors.json";
16
19
  import marketingSettings from "data/marketing-settings.json";
17
20
 
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@openeventkit/event-site",
3
3
  "description": "Event Site",
4
- "version": "2.0.112",
4
+ "version": "2.0.114",
5
5
  "author": "Tipit LLC",
6
6
  "dependencies": {
7
+ "@fortawesome/fontawesome-svg-core": "^6.5.2",
8
+ "@fortawesome/free-brands-svg-icons": "^6.5.2",
9
+ "@fortawesome/react-fontawesome": "^0.2.2",
7
10
  "@mdx-js/react": "^3.0.1",
8
11
  "@mdx-js/runtime": "^1.6.22",
9
12
  "@mui/base": "^5.0.0-beta.40",
@@ -24,10 +27,13 @@
24
27
  "@types/react": "^16.9.42",
25
28
  "@vimeo/player": "^2.16.3",
26
29
  "ably": "^1.2.34",
30
+ "assert": "^2.1.0",
27
31
  "attendee-to-attendee-widget": "3.0.6",
28
32
  "awesome-bootstrap-checkbox": "^1.0.1",
29
33
  "axios": "^0.19.2",
34
+ "babel-preset-gatsby": "^3.13.2",
30
35
  "browser-tabs-lock": "^1.2.15",
36
+ "buffer": "^6.0.3",
31
37
  "bulma": "^0.9.0",
32
38
  "chain-function": "^1.0.1",
33
39
  "classnames": "^2.3.1",
@@ -67,6 +73,7 @@
67
73
  "idtoken-verifier": "^2.2.2",
68
74
  "immutability-helper": "2.9.1",
69
75
  "immutable": "^5.0.0-beta.5",
76
+ "jsdom": "^24.1.0",
70
77
  "lite-schedule-widget": "3.0.3",
71
78
  "live-event-widget": "4.0.2",
72
79
  "lodash": "^4.17.19",
@@ -74,6 +81,7 @@
74
81
  "markdown-it": "^12.0.0",
75
82
  "moment": "^2.27.0",
76
83
  "moment-timezone": "^0.5.31",
84
+ "object.assign": "^4.1.5",
77
85
  "openstack-uicore-foundation": "4.1.76",
78
86
  "path-browserify": "^1.0.1",
79
87
  "prop-types": "^15.6.0",
@@ -116,6 +124,7 @@
116
124
  "smoothscroll-polyfill": "^0.4.4",
117
125
  "socket.io-client": "^4.5.2",
118
126
  "speakers-widget": "4.0.1",
127
+ "stream-browserify": "^3.0.0",
119
128
  "stream-chat": "^2.7.2",
120
129
  "stream-chat-react": "3.1.7",
121
130
  "summit-registration-lite": "5.0.35",
@@ -130,6 +139,7 @@
130
139
  "videojs-mux": "^3.1.0",
131
140
  "videojs-youtube": "^2.6.1",
132
141
  "what-input": "^5.2.10",
142
+ "xmlhttprequest": "^1.8.0",
133
143
  "yup": "^0.32.11"
134
144
  },
135
145
  "keywords": [
@@ -152,10 +162,7 @@
152
162
  "@testing-library/jest-dom": "^6.4.2",
153
163
  "@testing-library/react": "^15.0.2",
154
164
  "@testing-library/user-event": "^14.5.2",
155
- "assert": "^2.1.0",
156
165
  "babel-jest": "^29.7.0",
157
- "babel-preset-gatsby": "^3.13.2",
158
- "buffer": "^6.0.3",
159
166
  "devcert": "1.1.0",
160
167
  "gatsby-plugin-webpack-speed-measure": "^0.1.1",
161
168
  "identity-obj-proxy": "^3.0.0",
@@ -164,11 +171,7 @@
164
171
  "jest-transform-stub": "^2.0.0",
165
172
  "js-yaml": "^4.1.0",
166
173
  "js-yaml-loader": "^1.2.2",
167
- "jsdom": "^24.1.0",
168
- "object.assign": "^4.1.5",
169
- "prettier": "^2.0.5",
170
- "stream-browserify": "^3.0.0",
171
- "xmlhttprequest": "^1.8.0"
174
+ "prettier": "^2.0.5"
172
175
  },
173
176
  "jest": {
174
177
  "collectCoverageFrom": [
@@ -1,5 +1,6 @@
1
1
  import * as React from "react";
2
2
  import Link from "./Link";
3
+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
3
4
 
4
5
  import footerContent from "content/footer/index.json";
5
6
 
@@ -22,7 +23,7 @@ const FooterMarketing = () => (
22
23
  {footerContent.social.networks.map((net, index) => (
23
24
  net.display &&
24
25
  <Link href={net.link} className={styles.link} key={index}>
25
- <i className={`fa icon is-large ${net.icon}`} />
26
+ <FontAwesomeIcon icon={`fa-brands ${net.icon}`} size="lg" />
26
27
  </Link>
27
28
  ))}
28
29
  </div>
@@ -6,13 +6,6 @@ export const HtmlAttributes = {
6
6
  };
7
7
 
8
8
  export const HeadComponents = [
9
- <link
10
- key="font-awesome"
11
- rel="stylesheet"
12
- href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha512-SfTiTlX6kk+qitfevl/7LibUOeJWlt9rbyDn92a1DqWOw9vWG2MFoays0sgObmWazO5BQPiFucnnEAjpAB+/Sw=="
13
- crossOrigin="anonymous"
14
- referrerPolicy="no-referrer"
15
- />,
16
9
  <link
17
10
  key="awesome-bootstrap-checkbox"
18
11
  rel="stylesheet"
@@ -1,26 +1,31 @@
1
- /**
2
- * Warning:
3
- * Dont edit this file by hand, this file is used as default font implementation for the whole site
4
- * and it been re generated if font settings are set through CMS on gatsby-node.js line # 346
5
- **/
6
-
7
- $font-family: 'Nunito Sans', sans-serif;
1
+ $font-family: "proximanova";
8
2
 
9
3
  :root {
10
- --font_family: #{$font-family};
4
+ --font_family: "proximanova" !important;
11
5
  }
12
6
 
7
+ @font-face {
8
+ font-family: "proximanova";
9
+ src: url("/fonts/proximanovaregular.otf") format("opentype");
10
+ font-weight: normal;
11
+ }
12
+ @font-face {
13
+ font-family: "proximanova";
14
+ src: url("/fonts/proximanovabold.otf") format("opentype");
15
+ font-weight: bold;
16
+ }
17
+
13
18
  %font-regular {
14
- font-family: 'Nunito Sans', sans-serif;
19
+ font-family: var(--font_family);
15
20
  font-weight: 400;
16
21
  }
17
22
 
18
23
  %font-semi {
19
- font-family: 'Nunito Sans', sans-serif;
24
+ font-family: var(--font_family);
20
25
  font-weight: 600;
21
26
  }
22
27
 
23
28
  %font-bold {
24
- font-family: 'Nunito Sans', sans-serif;
29
+ font-family: var(--font_family);
25
30
  font-weight: 700;
26
31
  }
@@ -68,6 +68,7 @@
68
68
 
69
69
  .link {
70
70
  color: #ffffff;
71
+ padding: 10px;
71
72
  }
72
73
 
73
74
  a i {
@@ -555,4 +555,4 @@ div.event-feedback-container {
555
555
  }
556
556
  }
557
557
 
558
- @import "~openstack-uicore-foundation/lib/css/components/extra-questions.css";
558
+ @import "~openstack-uicore-foundation/lib/css/components/extra-questions.css";
@@ -0,0 +1,26 @@
1
+ import { library } from "@fortawesome/fontawesome-svg-core";
2
+ import {
3
+ faFacebook,
4
+ faXTwitter,
5
+ faTwitter,
6
+ faLinkedin,
7
+ faInstagram,
8
+ faTiktok,
9
+ faSnapchat,
10
+ faVimeo,
11
+ faYoutube
12
+ } from "@fortawesome/free-brands-svg-icons";
13
+
14
+ import "font-awesome/css/font-awesome.css";
15
+
16
+ library.add(
17
+ faTwitter,
18
+ faFacebook,
19
+ faXTwitter,
20
+ faLinkedin,
21
+ faInstagram,
22
+ faTiktok,
23
+ faSnapchat,
24
+ faVimeo,
25
+ faYoutube
26
+ );