@hellobetterdigitalnz/selwynui 0.0.1-10 → 0.0.1-12

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@hellobetterdigitalnz/selwynui",
3
- "version": "0.0.1-10",
3
+ "version": "0.0.1-12",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -31,9 +31,8 @@ const PromoBannerBlockTemplate: Story = {
31
31
  content={'Visit Selwyn is for those who like to take the back roads, breathe mountain air, and find their own pace. Stay a little longer, explore deeper, and refuel with great kai and local stories along the way.'}
32
32
  image={'promo-banner-image.svg'}
33
33
  button={
34
- <Button label={'START EXPLORING'} piller={'visit'} level={'primary'} icon={<ArrowRight />} />
34
+ <Button label={'START EXPLORING'} piller={'visit'} level={'primary'} secondaryIcon={<ArrowRight />} />
35
35
  }
36
-
37
36
  />
38
37
  </ElementHolder>
39
38
  )
@@ -43,7 +43,6 @@ const PromoBannerBlock = (props: PromoBannerBlockProps) => {
43
43
  <PromoBannerBgDesign />
44
44
  </div>
45
45
  </div>
46
-
47
46
  <div className={styles.promoBannerBottom}>
48
47
  <div className={styles.promoBannerBottomLeft}>
49
48
  <div className={styles.promoBannerBrandPiller}>
@@ -52,19 +51,16 @@ const PromoBannerBlock = (props: PromoBannerBlockProps) => {
52
51
  </div>
53
52
  {pillerTitle}
54
53
  </div>
55
-
56
54
  <div className={styles.promoBannerTitleContainer}>
57
55
  <h1>{title}</h1>
58
56
  <h2>{boldTitle}</h2>
59
57
  </div>
60
-
61
58
  <p>{content}</p>
62
-
63
59
  {button}
64
60
  </div>
65
61
 
66
62
  <div className={styles.promoBannerBottomRight}>
67
- <img src={`./img/${image}`} alt="" />
63
+ <img src={image} alt={title} />
68
64
  </div>
69
65
  </div>
70
66
  </div>
@@ -81,6 +81,8 @@
81
81
  }
82
82
 
83
83
  .promoBannerBottomRight {
84
+ background: var(--color-sand);
85
+
84
86
  img {
85
87
  height: 100%;
86
88
  width: 100%;
@@ -92,7 +94,6 @@
92
94
  }
93
95
 
94
96
  @media screen and (min-width: 992px) {
95
- padding: 120px 0;
96
97
 
97
98
  .promoBannerBlockContainer {
98
99
  .promoBannerTop {