@openeventkit/event-site 2.0.65 → 2.0.67

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.65",
4
+ "version": "2.0.67",
5
5
  "author": "Tipit LLC",
6
6
  "dependencies": {
7
7
  "@mui/base": "^5.0.0-alpha.114",
@@ -23,6 +23,7 @@ const adsQuery = graphql`
23
23
  gatsbyImageData (
24
24
  quality: 100
25
25
  placeholder: BLURRED
26
+ layout: FULL_WIDTH
26
27
  )
27
28
  }
28
29
  }
@@ -7,7 +7,7 @@ import { getSponsorURL } from "../utils/urlFormating";
7
7
  import styles from "../styles/sponsor.module.scss";
8
8
 
9
9
  const TierWrapper = ({title, index, wrapperExtraClass, children}) => (
10
- <div className={`${index === 0 ? styles.firstContainer : ""} ${wrapperExtraClass}`} key={`tier-${index}`}>
10
+ <div className={`${index === 0 ? styles.firstContainer : ""} ${wrapperExtraClass}`}>
11
11
  {title &&
12
12
  <span><b>{title}</b></span>
13
13
  }
@@ -73,14 +73,14 @@ const SponsorComponent = ({ page, sponsorsState, linkButton }) => {
73
73
  switch (template) {
74
74
  case "big-images": {
75
75
  return (
76
- <TierWrapper title={tier.widget_title} index={tierIndex} wrapperExtraClass={styles.bigImageContainer}>
76
+ <TierWrapper title={tier.widget_title} index={tierIndex} wrapperExtraClass={styles.bigImageContainer} key={`tier-${tierIndex}`}>
77
77
  {sponsors.map(sponsor => getSponsorImage(sponsor,{hideWrapper: true}))}
78
78
  </TierWrapper>
79
79
  )
80
80
  }
81
81
  case "small-images": {
82
82
  return (
83
- <TierWrapper title={tier.widget_title} index={tierIndex} wrapperExtraClass={styles.smallImageContainer}>
83
+ <TierWrapper title={tier.widget_title} index={tierIndex} wrapperExtraClass={styles.smallImageContainer} key={`tier-${tierIndex}`}>
84
84
  {sponsors.map((sponsor, index) => {
85
85
  if (page === "event" && !sponsor.showLogoInEventPage) return null
86
86
  return getSponsorImage(sponsor);
@@ -90,14 +90,14 @@ const SponsorComponent = ({ page, sponsorsState, linkButton }) => {
90
90
  }
91
91
  case "horizontal-images": {
92
92
  return (
93
- <TierWrapper index={tierIndex} wrapperExtraClass={styles.horizontalContainer}>
93
+ <TierWrapper index={tierIndex} wrapperExtraClass={styles.horizontalContainer} key={`tier-${tierIndex}`}>
94
94
  {sponsors.map(getSponsorImage)}
95
95
  </TierWrapper>
96
96
  )
97
97
  }
98
98
  case "expo-hall": {
99
99
  return (
100
- <div className={`${styles.expoContainer} px-6`} key={tierIndex}>
100
+ <div className={`${styles.expoContainer} px-6`} key={`tier-${tierIndex}`}>
101
101
  {sponsors.map(sponsor => {
102
102
  const wrapperExtraClass = tier.expo_hall_template === "big-images" ? styles.large : tier.expo_hall_template === "medium-images" ? styles.medium : styles.small;
103
103
  return getSponsorImage(sponsor, {wrapperExtraClass});
@@ -120,6 +120,7 @@ const SponsorComponent = ({ page, sponsorsState, linkButton }) => {
120
120
  title={tier.widget_title}
121
121
  index={tierIndex}
122
122
  wrapperExtraClass={styles.carouselContainer}
123
+ key={`tier-${tierIndex}`}
123
124
  >
124
125
  <Slider {...sliderSettings}>
125
126
  {sponsors.map((sponsor, index) => {
@@ -18,12 +18,12 @@
18
18
 
19
19
  &:hover {
20
20
 
21
- background-color: var(--color-gray-lightest);
21
+ background-color: var(--color_gray_lightest);
22
22
  }
23
23
 
24
24
  &--active {
25
25
  color: var(--color_text_med);
26
- background-color: var(--color-gray-lighter) !important;
26
+ background-color: var(--color_gray_lighter) !important;
27
27
  }
28
28
 
29
29
  * {
@@ -280,7 +280,7 @@
280
280
 
281
281
  &--edit {
282
282
  .ticket-popup-footer {
283
- border-top: 1px solid var(--color-gray-lighter);
283
+ border-top: 1px solid var(--color_gray_lighter);
284
284
  left: 0;
285
285
  bottom: 0;
286
286
  height: 60px;
@@ -3,8 +3,8 @@
3
3
  @import 'colors.scss';
4
4
  @import "fonts";
5
5
 
6
- $footer-background-color: var(--color-primary) !important;
7
- $footer-color: var(--color-text-light) !important;
6
+ $footer-background-color: var(--color_primary) !important;
7
+ $footer-color: var(--color_text_light) !important;
8
8
  $footer-padding: 2rem !important;
9
9
 
10
10
  $font-family-base: var(--font_family);
@@ -14,7 +14,7 @@ $color_gray_light : #DFDFDF;
14
14
  $color_gray_lighter : #F2F2F2;
15
15
  $color_text_input_hints : #c4c4c4;
16
16
  $color_input_text_color_light: #363636;
17
-
17
+ $color_icon_light: #FFFFFF;
18
18
  $color_input_background_color_light:#fff;
19
19
  $color_input_border_color_light:#dbdbdb;
20
20
  $color_input_text_color_dark: #FFFFFF;
@@ -44,6 +44,7 @@ $color_text_input_hints_dark:#7B7B7B;
44
44
  --color_input_border_color: #{$color_input_border_color_light};
45
45
  --color_text_input_hints: #{$color_text_input_hints_light};
46
46
  --color_horizontal_rule: #{$color_horizontal_rule_light};
47
+ --color_icon_light: #{$color_icon_light};
47
48
  }
48
49
 
49
50
  html[data-theme="DARK"] {