@ably/ui 8.7.0-dev.80c4fae → 8.7.0-dev.8533d4d

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.
Files changed (144) hide show
  1. package/README.md +15 -4
  2. package/core/Code/component.js +1 -1
  3. package/core/Code.jsx +108 -88
  4. package/core/CompanyAutocomplete/component.js +1 -1
  5. package/core/ConnectStateWrapper/component.js +1 -1
  6. package/core/ConnectStateWrapper.jsx +7 -7
  7. package/core/ContactFooter/component.js +1 -1
  8. package/core/ContactFooter.jsx +12 -12
  9. package/core/CookieMessage/component.js +1 -1
  10. package/core/CookieMessage.jsx +10 -10
  11. package/core/CustomerLogos/component.js +1 -1
  12. package/core/CustomerLogos.jsx +7 -7
  13. package/core/DropdownMenu/component.js +1 -1
  14. package/core/DropdownMenu.jsx +11 -11
  15. package/core/FeatureFooter/component.js +1 -1
  16. package/core/FeaturedLink/component.js +1 -1
  17. package/core/FeaturedLink.jsx +10 -10
  18. package/core/Flash/component.js +1 -1
  19. package/core/Flash.jsx +19 -22
  20. package/core/Footer/component.css +21 -1
  21. package/core/Footer/component.js +1 -1
  22. package/core/Footer.jsx +154 -63
  23. package/core/Icon/component.js +1 -1
  24. package/core/Icon.jsx +7 -7
  25. package/core/Loader/component.js +1 -1
  26. package/core/Loader.jsx +7 -7
  27. package/core/Logo/component.js +1 -1
  28. package/core/Logo.jsx +7 -7
  29. package/core/Meganav/component.css +1 -3
  30. package/core/Meganav/component.js +1 -1
  31. package/core/Meganav/component.json +2 -2
  32. package/core/Meganav.jsx +257 -239
  33. package/core/MeganavBlogPostsList/component.js +1 -1
  34. package/core/MeganavBlogPostsList.jsx +13 -13
  35. package/core/MeganavContentCompany/component.js +1 -1
  36. package/core/MeganavContentCompany.jsx +39 -27
  37. package/core/MeganavContentDevelopers/component.js +1 -1
  38. package/core/MeganavContentDevelopers.jsx +53 -28
  39. package/core/MeganavContentPlatform/component.js +1 -1
  40. package/core/MeganavContentPlatform.jsx +26 -50
  41. package/core/MeganavContentProducts/component.js +1 -0
  42. package/core/MeganavContentProducts.jsx +333 -0
  43. package/core/MeganavContentUseCases/component.js +1 -1
  44. package/core/MeganavContentUseCases.jsx +62 -54
  45. package/core/MeganavControl/component.js +1 -1
  46. package/core/MeganavControl.jsx +10 -10
  47. package/core/MeganavControlMobileDropdown/component.js +1 -1
  48. package/core/MeganavControlMobileDropdown.jsx +11 -11
  49. package/core/MeganavControlMobilePanelClose/component.js +1 -1
  50. package/core/MeganavControlMobilePanelClose.jsx +10 -10
  51. package/core/MeganavControlMobilePanelOpen/component.js +1 -1
  52. package/core/MeganavControlMobilePanelOpen.jsx +10 -10
  53. package/core/MeganavItemsDesktop/component.js +1 -1
  54. package/core/MeganavItemsDesktop.jsx +16 -16
  55. package/core/MeganavItemsMobile/component.js +1 -1
  56. package/core/MeganavItemsMobile.jsx +39 -39
  57. package/core/MeganavItemsSignedIn/component.js +1 -1
  58. package/core/MeganavItemsSignedIn.jsx +33 -33
  59. package/core/MeganavSearch/component.js +1 -1
  60. package/core/MeganavSearch.jsx +23 -23
  61. package/core/MeganavSearchAutocomplete/component.js +1 -1
  62. package/core/MeganavSearchAutocomplete.jsx +4 -4
  63. package/core/MeganavSearchPanel/component.js +1 -1
  64. package/core/MeganavSearchPanel.jsx +19 -19
  65. package/core/MeganavSearchSuggestions/component.js +1 -1
  66. package/core/MeganavSearchSuggestions.jsx +13 -13
  67. package/core/Notice/component.js +1 -1
  68. package/core/Notice.jsx +30 -33
  69. package/core/Showcase/component.js +1 -1
  70. package/core/Showcase.jsx +1 -1
  71. package/core/SignOutLink/component.js +1 -1
  72. package/core/SignOutLink.jsx +7 -7
  73. package/core/Slider/component.js +1 -1
  74. package/core/Slider.jsx +14 -14
  75. package/core/Uptime/component.js +1 -1
  76. package/core/Uptime.jsx +15 -15
  77. package/core/images/high-performer-2022.png +0 -0
  78. package/core/images/highest-user-adoption-2022.png +0 -0
  79. package/core/images/users-love-us-2022.png +0 -0
  80. package/core/scripts.js +1 -1
  81. package/core/sprites.svg +111 -0
  82. package/core/styles.css +1 -7
  83. package/package.json +1 -1
  84. package/reset/scripts.js +1 -1
  85. package/reset/styles.css +1 -11
  86. package/src/.DS_Store +0 -0
  87. package/src/core/.DS_Store +0 -0
  88. package/src/core/Flash/component.jsx +0 -2
  89. package/src/core/Footer/component.css +21 -1
  90. package/src/core/Footer/component.html.erb +118 -56
  91. package/src/core/Footer/component.jsx +125 -50
  92. package/src/core/Logo/component.rb +12 -4
  93. package/src/core/Meganav/component.css +1 -1
  94. package/src/core/Meganav/component.json +2 -2
  95. package/src/core/Meganav/component.jsx +2 -2
  96. package/src/core/Meganav/component.rb +6 -6
  97. package/src/core/MeganavContentCompany/component.html.erb +9 -0
  98. package/src/core/MeganavContentCompany/component.jsx +9 -0
  99. package/src/core/MeganavContentDevelopers/component.html.erb +30 -14
  100. package/src/core/MeganavContentDevelopers/component.jsx +32 -13
  101. package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.html.erb +15 -33
  102. package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.jsx +17 -38
  103. package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.rb +1 -1
  104. package/src/core/MeganavContentUseCases/component.html.erb +42 -38
  105. package/src/core/MeganavContentUseCases/component.jsx +41 -38
  106. package/src/core/MeganavItemsDesktop/component.rb +1 -1
  107. package/src/core/core.rb +8 -4
  108. package/src/core/icons/icon-display-asset-tracking-col.svg +18 -0
  109. package/src/core/icons/icon-display-chat-col.svg +4 -0
  110. package/src/core/icons/icon-display-data-broadcast-col.svg +26 -0
  111. package/src/core/icons/icon-display-data-synchronization-col.svg +14 -0
  112. package/src/core/icons/icon-display-events-col.svg +13 -0
  113. package/src/core/icons/icon-display-examples-col.svg +11 -0
  114. package/src/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
  115. package/src/core/icons/icon-display-push-notifications-col.svg +6 -0
  116. package/src/core/icons/icon-gui-check-circled-fill-black.svg +4 -0
  117. package/src/core/icons/icon-gui-filter-flow-step-1.svg +5 -0
  118. package/src/core/icons/icon-gui-filter-flow-step-2.svg +5 -0
  119. package/src/core/icons/icon-gui-filter-flow-step-3.svg +5 -0
  120. package/src/core/icons/icon-gui-resources.svg +3 -0
  121. package/src/core/icons/icon-tech-apachekafka.svg +3 -0
  122. package/src/core/images/high-performer-2022.png +0 -0
  123. package/src/core/images/highest-user-adoption-2022.png +0 -0
  124. package/src/core/images/users-love-us-2022.png +0 -0
  125. package/src/core/styles/text.css +1 -1
  126. package/src/core/utils/syntax-highlighter-registry.js +2 -0
  127. package/src/core/utils/syntax-highlighter.js +5 -0
  128. package/tailwind.config.js +1 -0
  129. package/core/.DS_Store +0 -0
  130. package/core/Meganav/component.js.LICENSE.txt +0 -7
  131. package/core/MeganavContentWhyAbly/component.js +0 -6
  132. package/core/MeganavContentWhyAbly.jsx +0 -6
  133. package/core/MeganavSearchAutocomplete/component.js.LICENSE.txt +0 -7
  134. package/core/Notice/component.js.LICENSE.txt +0 -9
  135. package/core/fonts/.DS_Store +0 -0
  136. package/core/images/.DS_Store +0 -0
  137. package/core/scripts.js.LICENSE.txt +0 -32
  138. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/log/.keep +0 -0
  139. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/.keep +0 -0
  140. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/pids/.keep +0 -0
  141. package/src/core/fonts/.DS_Store +0 -0
  142. package/src/core/images/.DS_Store +0 -0
  143. package/src/reset/.DS_Store +0 -0
  144. /package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.js +0 -0
package/core/styles.css CHANGED
@@ -347,7 +347,7 @@
347
347
 
348
348
  .ui-text-h4 {
349
349
  @apply font-sans font-medium text-cool-black;
350
- @apply text-h4 uppercase;
350
+ @apply text-h4;
351
351
  @apply tracking-widen-0.1;
352
352
  }
353
353
 
@@ -545,12 +545,6 @@
545
545
  color: #76767c;
546
546
  }
547
547
 
548
- .ui-textarea:-ms-input-placeholder {
549
- /* CSS vars don't work in ::placeholder in Webkit :( */
550
- /* color: var(--text-dark-grey); */
551
- color: #76767c;
552
- }
553
-
554
548
  .ui-textarea::placeholder {
555
549
  /* CSS vars don't work in ::placeholder in Webkit :( */
556
550
  /* color: var(--text-dark-grey); */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ably/ui",
3
- "version": "8.7.0-dev.80c4fae",
3
+ "version": "8.7.0-dev.8533d4d",
4
4
  "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
5
5
  "repository": {
6
6
  "type": "git",
package/reset/scripts.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AblyUi=t():(e.AblyUi=e.AblyUi||{},e.AblyUi.Reset=t())}(this,(function(){return(()=>{"use strict";var e={};return(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e),e})()}));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AblyUi=t():(e.AblyUi=e.AblyUi||{},e.AblyUi.Reset=t())}(this,(()=>(()=>{"use strict";var e={};return(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e),e})()));
package/reset/styles.css CHANGED
@@ -86,8 +86,7 @@
86
86
  abbr[title] {
87
87
  border-bottom: none; /* 1 */
88
88
  text-decoration: underline; /* 2 */
89
- -webkit-text-decoration: underline dotted;
90
- text-decoration: underline dotted; /* 2 */
89
+ text-decoration: underline dotted; /* 2 */
91
90
  }
92
91
 
93
92
  /**
@@ -444,19 +443,10 @@
444
443
  resize: vertical;
445
444
  }
446
445
 
447
- input:-ms-input-placeholder,
448
- textarea:-ms-input-placeholder {
449
- color: #a0aec0;
450
- }
451
-
452
446
  input::-moz-placeholder, textarea::-moz-placeholder {
453
447
  color: #a0aec0;
454
448
  }
455
449
 
456
- input:-ms-input-placeholder, textarea:-ms-input-placeholder {
457
- color: #a0aec0;
458
- }
459
-
460
450
  input::placeholder,
461
451
  textarea::placeholder {
462
452
  color: #a0aec0;
package/src/.DS_Store CHANGED
Binary file
Binary file
@@ -149,8 +149,6 @@ const Flashes = ({ flashes }) => {
149
149
  });
150
150
  }, [flashes]);
151
151
 
152
- console.log({ flashesWithIds });
153
-
154
152
  return (
155
153
  <div className="ui-flash" data-id={FLASH_DATA_ID}>
156
154
  {flashesWithIds
@@ -8,6 +8,26 @@
8
8
  }
9
9
 
10
10
  .ui-footer-link {
11
- @apply text-gui-default hover:text-gui-hover hover:underline text-menu3 font-light;
11
+ @apply text-gui-default hover:text-gui-hover text-menu3 font-light;
12
+ }
13
+
14
+ .ui-footer-compliance-text {
15
+ font-size: 12px;
16
+ }
17
+
18
+ .ui-footer-tick-icon {
19
+ min-width: 1.5rem;
20
+ }
21
+
22
+ @media (max-width: 1040px) {
23
+ .ui-footer-bottom-links {
24
+ @apply pb-40;
25
+ }
26
+ }
27
+
28
+ @media screen {
29
+ .ui-footer-glassdoor {
30
+ display: none;
31
+ }
12
32
  }
13
33
  }
@@ -1,18 +1,16 @@
1
1
  <footer class="bg-light-grey font-sans antialiased" data-id="footer">
2
- <div class="max-w-screen-xl mx-auto py-32 sm:py-40 lg:py-64 ui-grid-gap ui-grid-px grid grid-cols-6">
2
+ <div class="max-w-screen-xl mx-auto py-32 sm:py-40 md:py-64 ui-grid-gap ui-grid-px grid grid-cols-6">
3
3
  <div class="col-span-full md:col-span-2">
4
4
  <div class="flex flex-row p-menu-row-snug">
5
5
  <%= image_tag(ably_stack_path, alt: "Ably homepage", class: "mr-24 -mt-16") %>
6
6
  <h2 class="text-overline2 col-span-full font-medium uppercase tracking-widen-0.1">The Ably Platform</h2>
7
7
  </div>
8
-
9
- <div class="grid grid-cols-4">
10
- <p class="text-p3 py-16 font-medium p-menu-row-snug col-span-3">
8
+ <div class="md:col-span-4 md:w-3/4 xs:w-3/5 w-full">
9
+ <p class="text-p3 py-16 font-medium p-menu-row-snug">
11
10
  Easily power any realtime experience in your application via a simple API that handles everything realtime.
12
11
  </p>
13
12
  </div>
14
-
15
- <ul class="grid gap-x-8 sm:gap-x-16 md:gap-x-24 xl:gap-x-32 sm:grid-cols-2 md:grid-cols-1">
13
+ <ul class="grid grid-cols-1">
16
14
  <li class="p-menu-row-snug">
17
15
  <%= link_to 'Pub/sub messaging', abs_url("/pub-sub-messaging"), class: "ui-footer-menu-row-link" %>
18
16
  </li>
@@ -30,8 +28,7 @@
30
28
  </li>
31
29
  </ul>
32
30
  </div>
33
-
34
- <div class="col-span-full sm:col-span-3 md:col-span-1">
31
+ <div class="col-span-full xs:col-span-3 md:col-span-1">
35
32
  <h2 class="ui-footer-col-title">Ably is for</h2>
36
33
  <ul>
37
34
  <li class="p-menu-row-snug">
@@ -69,8 +66,7 @@
69
66
  </li>
70
67
  </ul>
71
68
  </div>
72
-
73
- <div class="col-span-full sm:col-span-3 md:col-span-1">
69
+ <div class="col-span-full xs:col-span-3 md:col-span-1">
74
70
  <h2 class="ui-footer-col-title">Developers</h2>
75
71
  <ul>
76
72
  <li class="p-menu-row-snug">
@@ -91,14 +87,13 @@
91
87
  <li class="p-menu-row-snug">
92
88
  <%= link_to 'SDKs', abs_url("/download"), class: "ui-footer-menu-row-link" %>
93
89
  </li>
94
- <li class="p-menu-row-snug flex items-center">
90
+ <li class="p-menu-row-snug flex items-center -mt-4">
95
91
  <a class="pr-8 ui-footer-menu-row-link" href="https://status.ably.com/">System status</a>
96
- <iframe class="w-24 h-24 mt-4" src="https://status.ably.com/embed/icon" allowtransparency="true" frameborder="0" scrolling="no"></iframe>
92
+ <iframe class="w-20 h-20 mb-2" src="https://status.ably.com/embed/icon" allowtransparency="true" frameborder="0" scrolling="no"></iframe>
97
93
  </li>
98
94
  </ul>
99
95
  </div>
100
-
101
- <div class="col-span-full sm:col-span-3 md:col-span-1">
96
+ <div class="col-span-full xs:col-span-3 md:col-span-1">
102
97
  <h2 class="ui-footer-col-title">WHY ABLY</h2>
103
98
  <ul>
104
99
  <li class="p-menu-row-snug">
@@ -121,8 +116,7 @@
121
116
  </li>
122
117
  </ul>
123
118
  </div>
124
-
125
- <div class="col-span-full sm:col-span-3 md:col-span-1">
119
+ <div class="col-span-full xs:col-span-3 md:col-span-1">
126
120
  <h2 class="ui-footer-col-title">ABOUT</h2>
127
121
  <ul>
128
122
  <li class="p-menu-row-snug">
@@ -141,7 +135,7 @@
141
135
  <%= link_to 'Open protocol policy', abs_url("/open-policy"), class: "ui-footer-menu-row-link" %>
142
136
  </li>
143
137
  <li class="p-menu-row-snug">
144
- <%= link_to 'Press & Media', abs_url("/press-center"), class: "ui-footer-menu-row-link" %>
138
+ <%= link_to 'Press & Media', abs_url("/press-center"), class: "ui-footer-menu-row-link" %>
145
139
  </li>
146
140
  <li class="p-menu-row-snug">
147
141
  <%= link_to 'Contact us', abs_url("/contact"), class: "ui-footer-menu-row-link" %>
@@ -149,51 +143,119 @@
149
143
  </ul>
150
144
  </div>
151
145
  </div>
152
-
153
146
  <div class="max-w-screen-xl ui-grid-px mx-auto">
154
- <hr class="border-t border-mid-grey" />
147
+ <hr class="border-t border-mid-grey my-0"/>
155
148
  </div>
156
-
157
- <div class="max-w-screen-xl mx-auto py-24 md:py-40 lg:py-32 grid ui-grid-gap ui-grid-px grid-cols-2">
158
- <div class="flex flex-col flex-auto pb-40 ml-8 col-span-full md:col-span-1">
159
- <div class="inline-flex">
160
- <%= link_to 'Cookies', abs_url("/privacy"), class: "ui-footer-link pr-24" %>
161
- <%= link_to 'Legals', abs_url("/legals"), class: "ui-footer-link pr-24" %>
162
- <%= link_to 'Data Protection', abs_url("/data-protection"), class: "ui-footer-link pr-24" %>
163
- <%= link_to 'Privacy', abs_url("/privacy"), class: "ui-footer-link" %>
149
+ <%# Twitter + Glassdoor SM * above + Glassdoor XS + Badges %>
150
+ <div class="max-w-screen-xl mx-auto py-16 grid ui-grid-gap ui-grid-px sm:grid-cols-2">
151
+ <div class="md:flex md:items-center">
152
+ <div class="flex flex-col md:flex-row flex-auto ml-8 sm:col-span-1 md:col-span-2">
153
+ <div class="">
154
+ <div class="flex pb-24">
155
+ <a class="h-24 pr-24 text-cool-black hover:text-icon-twitter" href="https://twitter.com/ablyrealtime" title="Ably on Twitter">
156
+ <%= render(AblyUi::Core::Icon.new(name: "twitter", size: "1.5rem")) %>
157
+ </a>
158
+ <a
159
+ class="h-24 pr-24 text-cool-black hover:text-icon-linkedin"
160
+ href="https://www.linkedin.com/company/ably-realtime"
161
+ title="Ably on LinkedIn"
162
+ >
163
+ <%= render(AblyUi::Core::Icon.new(name: "linkedin", size: "1.5rem")) %>
164
+ </a>
165
+ <a class="h-24 pr-24 text-cool-black hover:text-icon-github" href="https://github.com/ably/" title="Ably on Github">
166
+ <%= render(AblyUi::Core::Icon.new(name: "github", size: "1.5rem")) %>
167
+ </a>
168
+ <a class="h-24 pr-24 text-cool-black hover:text-icon-discord" href="https://discord.gg/jwBPhEZ9g5" title="Ably on Discord">
169
+ <%= render(AblyUi::Core::Icon.new(name: "discord", size: "1.5rem")) %>
170
+ </a>
171
+ </div>
172
+ </div>
173
+ <%# GLASSDOOR on SM and Above %>
174
+ <div class="xs:hidden sm:block ui-footer-glassdoor">
175
+ <div class="flex sm:pt-24 md:pt-0 sm:border-t sm:border-l-0 md:border-t-0 md:border-l sm:border-mid-grey sm:w-3/4 md:w-full md:pl-24">
176
+ <a
177
+ href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm"
178
+ class="h-24 text-cool-black hover:text-icon-glassdoor"
179
+ title="Ably reviews on glassdoor"
180
+ >
181
+ <%= render(AblyUi::Core::Icon.new(name: "glassdoor", size: "1.5rem")) %>
182
+ </a>
183
+ <div class="pl-16 text-menu3 font-light">
184
+ <strong class="block font-medium">We&apos;re hiring!</strong>
185
+ <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" class="ui-footer-link">
186
+ Learn more at Glassdoor
187
+ </a>
188
+ </div>
189
+ </div>
190
+ </div>
164
191
  </div>
165
-
166
- <div class="pt-32 flex items-center">
167
- <a class="h-24 pr-24 text-cool-black hover:text-icon-twitter" href="https://twitter.com/ablyrealtime">
168
- <%= render(AblyUi::Core::Icon.new(name: "twitter", size: "1.5rem")) %>
169
- </a>
170
- <a class="h-24 pr-24 text-cool-black hover:text-icon-linkedin" href="https://www.linkedin.com/company/ably-realtime">
171
- <%= render(AblyUi::Core::Icon.new(name: "linkedin", size: "1.5rem")) %>
172
- </a>
173
- <a class="h-24 pr-24 text-cool-black hover:text-icon-github" href="https://github.com/ably/">
174
- <%= render(AblyUi::Core::Icon.new(name: "github", size: "1.5rem")) %>
175
- </a>
176
- <a class="h-24 pr-24 text-cool-black hover:text-icon-discord" href="https://discord.gg/jwBPhEZ9g5">
177
- <%= render(AblyUi::Core::Icon.new(name: "discord", size: "1.5rem")) %>
178
- </a>
179
- <div class="border-l border-mid-grey h-40"></div>
180
- <a
181
- class="flex flex-row pl-24 text-cool-black hover:text-icon-glassdoor"
182
- href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm"
183
- >
184
- <%= render(AblyUi::Core::Icon.new(name: "glassdoor", size: "1.5rem")) %>
185
- </a>
186
- <div class="pl-16 text-menu3 font-light">
187
- <strong class="block font-medium">We&apos;re hiring!</strong>
188
- <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" class="ui-footer-link">Learn more</a>
189
- at Glassdoor
192
+ <%# GlassDoor on XS ONLY %>
193
+ <div class="xs:block sm:hidden">
194
+ <div class="border-t border-mid-grey w-full"></div>
195
+ <div class="flex py-24">
196
+ <a
197
+ class="h-24 pr-16 text-cool-black hover:text-icon-glassdoor"
198
+ href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm"
199
+ title="Ably reviews on glassdoor"
200
+ >
201
+ <%= render(AblyUi::Core::Icon.new(name: "glassdoor", size: "1.5rem")) %>
202
+ </a>
203
+ <div class="text-menu3 font-light">
204
+ <strong class="block font-medium">We&apos;re hiring!</strong>
205
+ <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" class="ui-footer-link">
206
+ Learn more at Glassdoor
207
+ </a>
208
+ </div>
190
209
  </div>
191
210
  </div>
192
211
  </div>
193
-
194
- <div class="md:text-right col-span-full md:col-span-1 ml-8 inline-flex md:ml-auto">
195
- <%= image_tag(rocket_list, alt: "Rocket List 2021", class: "mr-24 w-96 h-96") %>
196
- <%= image_tag(flexible_companies, alt: "Flexible Companies 2021", class: "w-96 h-96") %>
212
+ <div class="col-span-full sm:col-span-1 inline-flex sm:ml-auto sm:items-center">
213
+ <%= image_tag(highest_user_adoption, alt: "Highest User Adoption 2022", class: "mr-24 h-80") %>
214
+ <%= image_tag(users_love_us, alt: "Users Love Us", class: "mr-24 h-80") %>
215
+ <%= image_tag(highest_performer, alt: "High Performer 2022", class: "mr-24 h-80") %>
216
+ </div>
217
+ </div>
218
+ <div class="max-w-screen-xl ui-grid-px mx-auto">
219
+ <hr class="border-t border-mid-grey my-0"/>
220
+ </div>
221
+ <div class="max-w-screen-xl mx-auto py-24 sm:py-40 md:py-32 md:grid md:grid-cols-2 ui-grid-gap ui-grid-px">
222
+ <div class="flex ml-8 col-span-full sm:col-span-1 md:pb-16 items-center ui-footer-bottom-links">
223
+ <div class="flex">
224
+ <%= link_to 'Cookies', abs_url("/privacy"), class: "pr-24 ui-footer-link" %>
225
+ <%= link_to 'Legals', abs_url("/legals"), class: "pr-24 ui-footer-link" %>
226
+ <%= link_to 'Data Protection', abs_url("/data-protection"), class: "pr-24 ui-footer-link" %>
227
+ <%= link_to 'Privacy', abs_url("/privacy"), class: "ui-footer-link" %>
228
+ </div>
229
+ </div>
230
+ <div class="xs:grid xs:grid-cols-2 sm:grid-cols-4 xs:pl-16 sm:pl-8 md:justify-items-end">
231
+ <div class="flex mr-24">
232
+ <%= render(AblyUi::Core::Icon.new(name: "icon-gui-tick", color: "text-active-orange", size: "1.5rem", additional_css:"bg-white rounded-full mr-12 ui-footer-tick-icon")) %>
233
+ <div>
234
+ <p class="ui-footer-compliance-text font-medium whitespace-nowrap">SOC 2 Type 2</p>
235
+ <p class="ui-footer-compliance-text font-light mb-24">Certified</p>
236
+ </div>
237
+ </div>
238
+ <div class="flex mr-24 md:col-start-2">
239
+ <%= render(AblyUi::Core::Icon.new(name: "icon-gui-tick", color: "text-active-orange", size: "1.5rem", additional_css:"bg-white rounded-full mr-12 ui-footer-tick-icon")) %>
240
+ <div>
241
+ <p class="ui-footer-compliance-text font-medium whitespace-nowrap">HIPAA</p>
242
+ <p class="ui-footer-compliance-text font-light mb-24">Compliant</p>
243
+ </div>
244
+ </div>
245
+ <div class="flex mr-24 md:col-start-3">
246
+ <%= render(AblyUi::Core::Icon.new(name: "icon-gui-tick", color: "text-active-orange", size: "1.5rem", additional_css:"bg-white rounded-full mr-12 ui-footer-tick-icon")) %>
247
+ <div>
248
+ <p class="ui-footer-compliance-text font-medium whitespace-nowrap">EU GDPR</p>
249
+ <p class="ui-footer-compliance-text font-light mb-24">Certified</p>
250
+ </div>
251
+ </div>
252
+ <div class="flex mr-24 md:col-start-4">
253
+ <%= render(AblyUi::Core::Icon.new(name: "icon-gui-tick", color: "text-active-orange", size: "1.5rem", additional_css:"bg-white rounded-full mr-12 ui-footer-tick-icon")) %>
254
+ <div>
255
+ <p class="ui-footer-compliance-text font-medium whitespace-nowrap">256-bit AES</p>
256
+ <p class="ui-footer-compliance-text font-light mb-24">Encryption</p>
257
+ </div>
258
+ </div>
197
259
  </div>
198
260
  </div>
199
261
  </footer>
@@ -9,20 +9,19 @@ export default function Footer({ paths, urlBase }) {
9
9
 
10
10
  return (
11
11
  <footer className="bg-light-grey font-sans antialiased" data-id="footer">
12
- <div className="max-w-screen-xl mx-auto py-32 sm:py-40 lg:py-64 ui-grid-gap ui-grid-px grid grid-cols-6">
12
+ <div className="max-w-screen-xl mx-auto py-32 sm:py-40 md:py-64 ui-grid-gap ui-grid-px grid grid-cols-6">
13
13
  <div className="col-span-full md:col-span-2">
14
14
  <div className="flex flex-row p-menu-row-snug">
15
15
  <img className="mr-24 -mt-16" src={paths.ablyStack} alt="Ably homepage" />
16
16
  <h2 className="text-overline2 col-span-full font-medium uppercase tracking-widen-0.1">The Ably Platform</h2>
17
17
  </div>
18
-
19
- <div className="grid grid-cols-4">
20
- <p className="text-p3 py-16 font-medium p-menu-row-snug col-span-3">
18
+ <div className="md:col-span-4 md:w-3/4 xs:w-3/5 w-full">
19
+ <p className="text-p3 py-16 font-medium p-menu-row-snug">
21
20
  Easily power any realtime experience in your application via a simple API that handles everything realtime.
22
21
  </p>
23
22
  </div>
24
23
 
25
- <ul className="grid gap-x-8 sm:gap-x-16 md:gap-x-24 xl:gap-x-32 sm:grid-cols-2 md:grid-cols-1">
24
+ <ul className="grid grid-cols-1">
26
25
  <li className="p-menu-row-snug">
27
26
  <a href={absUrl("/pub-sub-messaging")} className="ui-footer-menu-row-link">
28
27
  Pub/sub messaging
@@ -51,7 +50,7 @@ export default function Footer({ paths, urlBase }) {
51
50
  </ul>
52
51
  </div>
53
52
 
54
- <div className="col-span-full sm:col-span-3 md:col-span-1">
53
+ <div className="col-span-full xs:col-span-3 md:col-span-1">
55
54
  <h2 className="ui-footer-col-title">Ably is for</h2>
56
55
  <ul>
57
56
  <li className="p-menu-row-snug">
@@ -112,7 +111,7 @@ export default function Footer({ paths, urlBase }) {
112
111
  </ul>
113
112
  </div>
114
113
 
115
- <div className="col-span-full sm:col-span-3 md:col-span-1">
114
+ <div className="col-span-full xs:col-span-3 md:col-span-1">
116
115
  <h2 className="ui-footer-col-title">Developers</h2>
117
116
  <ul>
118
117
  <li className="p-menu-row-snug">
@@ -145,16 +144,23 @@ export default function Footer({ paths, urlBase }) {
145
144
  SDKs
146
145
  </a>
147
146
  </li>
148
- <li className="p-menu-row-snug flex items-center">
147
+ <li className="p-menu-row-snug flex items-center -mt-4">
149
148
  <a className="pr-8 ui-footer-menu-row-link" href="https://status.ably.com/">
150
149
  System status
151
150
  </a>
152
- <iframe className="w-24 h-24 mt-4" src="https://status.ably.com/embed/icon" allowtransparency="true" frameBorder="0" scrolling="no"></iframe>
151
+ <iframe
152
+ className="w-20 h-20 mb-2"
153
+ src="https://status.ably.com/embed/icon"
154
+ allowtransparency="true"
155
+ frameBorder="0"
156
+ scrolling="no"
157
+ title="System Status"
158
+ ></iframe>
153
159
  </li>
154
160
  </ul>
155
161
  </div>
156
162
 
157
- <div className="col-span-full sm:col-span-3 md:col-span-1">
163
+ <div className="col-span-full xs:col-span-3 md:col-span-1">
158
164
  <h2 className="ui-footer-col-title">WHY ABLY</h2>
159
165
  <ul>
160
166
  <li className="p-menu-row-snug">
@@ -190,7 +196,7 @@ export default function Footer({ paths, urlBase }) {
190
196
  </ul>
191
197
  </div>
192
198
 
193
- <div className="col-span-full sm:col-span-3 md:col-span-1">
199
+ <div className="col-span-full xs:col-span-3 md:col-span-1">
194
200
  <h2 className="ui-footer-col-title">ABOUT</h2>
195
201
  <ul>
196
202
  <li className="p-menu-row-snug">
@@ -231,14 +237,86 @@ export default function Footer({ paths, urlBase }) {
231
237
  </ul>
232
238
  </div>
233
239
  </div>
234
-
235
240
  <div className="max-w-screen-xl ui-grid-px mx-auto">
236
- <hr className="border-t border-mid-grey" />
241
+ <hr className="border-t border-mid-grey my-0" />
237
242
  </div>
243
+ {/* Twitter + Glassdoor SM & above + Glassdoor XS + Badges*/}
244
+ <div className="max-w-screen-xl mx-auto py-16 grid ui-grid-gap ui-grid-px sm:grid-cols-2">
245
+ <div className="md:flex md:items-center">
246
+ <div className="flex flex-col md:flex-row flex-auto ml-8 sm:col-span-1 md:col-span-2">
247
+ <div className="">
248
+ <div className="flex pb-24">
249
+ <a className="h-24 pr-24 text-cool-black hover:text-icon-twitter" href="https://twitter.com/ablyrealtime" title="Ably on Twitter">
250
+ <Icon name="twitter" size="1.5rem" />
251
+ </a>
252
+ <a
253
+ className="h-24 pr-24 text-cool-black hover:text-icon-linkedin"
254
+ href="https://www.linkedin.com/company/ably-realtime"
255
+ title="Ably on LinkedIn"
256
+ >
257
+ <Icon name="linkedin" size="1.5rem" />
258
+ </a>
259
+ <a className="h-24 pr-24 text-cool-black hover:text-icon-github" href="https://github.com/ably/" title="Ably on Github">
260
+ <Icon name="github" size="1.5rem" />
261
+ </a>
262
+ <a className="h-24 pr-24 text-cool-black hover:text-icon-discord" href="https://discord.gg/jwBPhEZ9g5" title="Ably on Discord">
263
+ <Icon name="discord" size="1.5rem" />
264
+ </a>
265
+ </div>
266
+ </div>
267
+ {/* GLASSDOOR on SM and Above */}
268
+ <div className="xs:hidden sm:block ui-footer-glassdoor">
269
+ <div className="flex sm:pt-24 md:pt-0 sm:border-t sm:border-l-0 md:border-t-0 md:border-l sm:border-mid-grey sm:w-3/4 md:w-full md:pl-24">
270
+ <a
271
+ href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm"
272
+ className="h-24 text-cool-black hover:text-icon-glassdoor"
273
+ title="Ably reviews on glassdoor"
274
+ >
275
+ <Icon name="glassdoor" size="1.5rem" />
276
+ </a>
277
+ <div className="pl-16 text-menu3 font-light">
278
+ <strong className="block font-medium">We&apos;re hiring!</strong>
279
+ <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" className="ui-footer-link">
280
+ Learn more at Glassdoor
281
+ </a>
282
+ </div>
283
+ </div>
284
+ </div>
285
+ </div>
286
+ {/* GlassDoor on XS ONLY */}
287
+ <div className="xs:block sm:hidden">
288
+ <div className="border-t border-mid-grey w-full"></div>
289
+ <div className="flex py-24">
290
+ <a
291
+ className="h-24 pr-16 text-cool-black hover:text-icon-glassdoor"
292
+ href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm"
293
+ title="Ably reviews on glassdoor"
294
+ >
295
+ <Icon name="glassdoor" size="1.5rem" />
296
+ </a>
297
+ <div className="text-menu3 font-light">
298
+ <strong className="block font-medium">We&apos;re hiring!</strong>
299
+ <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" className="ui-footer-link">
300
+ Learn more at Glassdoor
301
+ </a>
302
+ </div>
303
+ </div>
304
+ </div>
305
+ </div>
238
306
 
239
- <div className="max-w-screen-xl mx-auto py-24 md:py-40 lg:py-32 grid ui-grid-gap ui-grid-px grid-cols-2">
240
- <div className="flex flex-col flex-auto pb-40 ml-8 col-span-full md:col-span-1">
241
- <div className="inline-flex">
307
+ <div className="col-span-full sm:col-span-1 inline-flex sm:ml-auto sm:items-center">
308
+ <img className="mr-24 h-80" src={paths.highestUserAdoption} alt="Highest User Adoption 2022" />
309
+ <img className="mr-24 h-80" src={paths.usersLoveUs} alt="Users Love Us" />
310
+ <img className="mr-24 h-80" src={paths.highestPerformer} alt="High Performer 2022" />
311
+ </div>
312
+ </div>
313
+
314
+ <div className="max-w-screen-xl ui-grid-px mx-auto">
315
+ <hr className="border-t border-mid-grey my-0" />
316
+ </div>
317
+ <div className="max-w-screen-xl mx-auto py-24 sm:py-40 md:py-32 md:grid md:grid-cols-2 ui-grid-gap ui-grid-px">
318
+ <div className="flex ml-8 col-span-full sm:col-span-1 md:pb-16 items-center ui-footer-bottom-links">
319
+ <div className="flex">
242
320
  <a href={absUrl("/privacy")} className="pr-24 ui-footer-link">
243
321
  Cookies
244
322
  </a>
@@ -252,40 +330,36 @@ export default function Footer({ paths, urlBase }) {
252
330
  Privacy
253
331
  </a>
254
332
  </div>
255
-
256
- <div className="pt-32 flex items-center">
257
- <a className="h-24 pr-24 text-cool-black hover:text-icon-twitter" href="https://twitter.com/ablyrealtime">
258
- <Icon name="twitter" size="1.5rem" />
259
- </a>
260
- <a className="h-24 pr-24 text-cool-black hover:text-icon-linkedin" href="https://www.linkedin.com/company/ably-realtime">
261
- <Icon name="linkedin" size="1.5rem" />
262
- </a>
263
- <a className="h-24 pr-24 text-cool-black hover:text-icon-github" href="https://github.com/ably/">
264
- <Icon name="github" size="1.5rem" />
265
- </a>
266
- <a className="h-24 pr-24 text-cool-black hover:text-icon-discord" href="https://discord.gg/jwBPhEZ9g5">
267
- <Icon name="discord" size="1.5rem" />
268
- </a>
269
- <div className="border-l border-mid-grey h-40"></div>
270
- <a
271
- className="flex flex-row pl-24 text-cool-black hover:text-icon-glassdoor"
272
- href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm"
273
- >
274
- <Icon name="glassdoor" size="1.5rem" />
275
- </a>
276
- <div className="pl-16 text-menu3 font-light">
277
- <strong className="block font-medium">We&apos;re hiring!</strong>
278
- <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" className="ui-footer-link">
279
- Learn more
280
- </a>
281
- &nbsp;at Glassdoor
333
+ </div>
334
+ <div className="xs:grid xs:grid-cols-2 sm:grid-cols-4 xs:pl-16 sm:pl-8 md:justify-items-end">
335
+ <div className="flex mr-24">
336
+ <Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
337
+ <div>
338
+ <p className="ui-footer-compliance-text font-medium whitespace-nowrap">SOC 2 Type 2</p>
339
+ <p className="ui-footer-compliance-text font-light mb-24">Certified</p>
340
+ </div>
341
+ </div>
342
+ <div className="flex mr-24 md:col-start-2">
343
+ <Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
344
+ <div>
345
+ <p className="ui-footer-compliance-text font-medium whitespace-nowrap">HIPAA</p>
346
+ <p className="ui-footer-compliance-text font-light mb-24">Compliant</p>
347
+ </div>
348
+ </div>
349
+ <div className="flex mr-24 md:col-start-3">
350
+ <Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
351
+ <div>
352
+ <p className="ui-footer-compliance-text font-medium whitespace-nowrap">EU GDPR</p>
353
+ <p className="ui-footer-compliance-text font-light mb-24">Certified</p>
354
+ </div>
355
+ </div>
356
+ <div className="flex mr-24 md:col-start-4">
357
+ <Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
358
+ <div>
359
+ <p className="ui-footer-compliance-text font-medium whitespace-nowrap">256-bit AES</p>
360
+ <p className="ui-footer-compliance-text font-light mb-24">Encryption</p>
282
361
  </div>
283
362
  </div>
284
- </div>
285
-
286
- <div className="md:text-right col-span-full md:col-span-1 ml-8 inline-flex md:ml-auto">
287
- <img className="mr-24 w-96 h-96" src={paths.rocketList} alt="Rocket List 2021" />
288
- <img className="w-96 h-96" src={paths.flexibleCompanies} alt="Flexible Companies 2021" />
289
363
  </div>
290
364
  </div>
291
365
  </footer>
@@ -295,8 +369,9 @@ export default function Footer({ paths, urlBase }) {
295
369
  Footer.propTypes = {
296
370
  paths: T.shape({
297
371
  ablyStack: T.string,
298
- rocketList: T.string,
299
- flexibleCompanies: T.string,
372
+ highestPerformer: T.string,
373
+ highestUserAdoption: T.string,
374
+ usersLoveUs: T.string,
300
375
  }),
301
376
  urlBase: T.string,
302
377
  };
@@ -1,13 +1,21 @@
1
- require 'securerandom'
2
-
3
1
  module AblyUi
4
2
  module Core
5
3
  class Logo < ViewComponent::Base
6
4
  include AblyUi::Core::MeganavConfig
7
5
 
8
- attr_reader :href, :logo_url, :data_id, :additional_img_attrs, :additional_link_attrs
6
+ attr_reader :href,
7
+ :logo_url,
8
+ :data_id,
9
+ :additional_img_attrs,
10
+ :additional_link_attrs
9
11
 
10
- def initialize(href:, logo_url:, data_id: '', additional_img_attrs: {}, additional_link_attrs: {})
12
+ def initialize(
13
+ href:,
14
+ logo_url:,
15
+ data_id: '',
16
+ additional_img_attrs: {},
17
+ additional_link_attrs: {}
18
+ )
11
19
  @data_id = data_id
12
20
  @href = href
13
21
  @logo_url = logo_url
@@ -93,7 +93,7 @@
93
93
  grid-template-rows: min-content 1fr;
94
94
 
95
95
  @apply block px-8 py-8 hover:bg-light-grey rounded relative -left-8 w-extend-8;
96
- @apply grid gap-x-8;
96
+ @apply grid gap-x-16;
97
97
  }
98
98
 
99
99
  .ui-meganav-media-heading {