@ably/ui 8.7.0-dev.4e08581 → 8.7.0-dev.579e0ab

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 (164) hide show
  1. package/README.md +16 -5
  2. package/core/Code/component.css +5 -3
  3. package/core/Code/component.js +1 -1
  4. package/core/Code.jsx +351 -7148
  5. package/core/CompanyAutocomplete/component.js +1 -1
  6. package/core/ConnectStateWrapper/component.js +1 -1
  7. package/core/ConnectStateWrapper.jsx +7 -7
  8. package/core/ContactFooter/component.js +1 -1
  9. package/core/ContactFooter.jsx +12 -12
  10. package/core/CookieMessage/component.js +1 -1
  11. package/core/CookieMessage.jsx +10 -10
  12. package/core/CustomerLogos/component.js +1 -1
  13. package/core/CustomerLogos.jsx +7 -7
  14. package/core/DropdownMenu/component.js +1 -0
  15. package/core/DropdownMenu.jsx +313 -0
  16. package/core/FeatureFooter/component.js +1 -1
  17. package/core/FeaturedLink/component.css +1 -1
  18. package/core/FeaturedLink/component.js +1 -1
  19. package/core/FeaturedLink.jsx +10 -10
  20. package/core/Flash/component.js +1 -1
  21. package/core/Flash.jsx +142 -70
  22. package/core/Footer/component.css +22 -2
  23. package/core/Footer/component.js +1 -1
  24. package/core/Footer.jsx +156 -65
  25. package/core/Icon/component.js +1 -1
  26. package/core/Icon.jsx +7 -7
  27. package/core/Loader/component.js +1 -1
  28. package/core/Loader.jsx +7 -7
  29. package/core/Logo/component.js +1 -1
  30. package/core/Logo.jsx +33 -118
  31. package/core/Meganav/component.css +8 -10
  32. package/core/Meganav/component.js +1 -1
  33. package/core/Meganav/component.json +1 -1
  34. package/core/Meganav.jsx +395 -361
  35. package/core/MeganavBlogPostsList/component.js +1 -1
  36. package/core/MeganavBlogPostsList.jsx +13 -13
  37. package/core/MeganavContentCompany/component.js +1 -1
  38. package/core/MeganavContentCompany.jsx +39 -27
  39. package/core/MeganavContentDevelopers/component.js +1 -1
  40. package/core/MeganavContentDevelopers.jsx +48 -23
  41. package/core/MeganavContentPlatform/component.js +1 -1
  42. package/core/MeganavContentPlatform.jsx +23 -23
  43. package/core/MeganavContentUseCases/component.js +1 -1
  44. package/core/MeganavContentUseCases.jsx +63 -55
  45. package/core/MeganavContentWhyAbly/component.js +21 -5
  46. package/core/MeganavContentWhyAbly.jsx +3276 -3
  47. package/core/MeganavControl/component.js +1 -1
  48. package/core/MeganavControl.jsx +10 -10
  49. package/core/MeganavControlMobileDropdown/component.js +1 -1
  50. package/core/MeganavControlMobileDropdown.jsx +11 -11
  51. package/core/MeganavControlMobilePanelClose/component.js +1 -1
  52. package/core/MeganavControlMobilePanelClose.jsx +10 -10
  53. package/core/MeganavControlMobilePanelOpen/component.js +1 -1
  54. package/core/MeganavControlMobilePanelOpen.jsx +10 -10
  55. package/core/MeganavItemsDesktop/component.js +1 -1
  56. package/core/MeganavItemsDesktop.jsx +16 -16
  57. package/core/MeganavItemsMobile/component.js +1 -1
  58. package/core/MeganavItemsMobile.jsx +39 -39
  59. package/core/MeganavItemsSignedIn/component.js +1 -1
  60. package/core/MeganavItemsSignedIn.jsx +33 -33
  61. package/core/MeganavSearch/component.js +1 -1
  62. package/core/MeganavSearch.jsx +23 -23
  63. package/core/MeganavSearchAutocomplete/component.js +1 -1
  64. package/core/MeganavSearchAutocomplete.jsx +4 -4
  65. package/core/MeganavSearchPanel/component.js +1 -1
  66. package/core/MeganavSearchPanel.jsx +19 -19
  67. package/core/MeganavSearchSuggestions/component.js +1 -1
  68. package/core/MeganavSearchSuggestions.jsx +13 -13
  69. package/core/Notice/component.css +1 -1
  70. package/core/Notice/component.js +1 -1
  71. package/core/Notice.jsx +154 -82
  72. package/core/Showcase/component.js +1 -1
  73. package/core/Showcase.jsx +1 -1
  74. package/core/SignOutLink/component.js +1 -1
  75. package/core/SignOutLink.jsx +7 -7
  76. package/core/Slider/component.js +1 -1
  77. package/core/Slider.jsx +14 -14
  78. package/core/Uptime/component.js +1 -1
  79. package/core/Uptime.jsx +15 -15
  80. package/core/fonts/jetBrains-mono.css +3 -0
  81. package/core/fonts/manrope.css +3 -0
  82. package/core/images/ably-logo.png +0 -0
  83. package/core/images/high-performer-2022.png +0 -0
  84. package/core/images/highest-user-adoption-2022.png +0 -0
  85. package/core/images/users-love-us-2022.png +0 -0
  86. package/core/scripts.js +1 -1
  87. package/core/sprites.svg +106 -1
  88. package/core/styles.css +124 -94
  89. package/package.json +3 -2
  90. package/reset/scripts.js +1 -1
  91. package/reset/styles.css +1 -11
  92. package/src/core/Code/component.css +1 -67
  93. package/src/core/Code/component.js +11 -46
  94. package/src/core/Code/component.jsx +7 -3
  95. package/src/core/DropdownMenu/component.jsx +112 -0
  96. package/src/core/FeatureFooter/component.html.erb +1 -1
  97. package/src/core/FeaturedLink/component.css +1 -1
  98. package/src/core/Flash/component.jsx +40 -14
  99. package/src/core/Footer/component.css +22 -2
  100. package/src/core/Footer/component.html.erb +119 -57
  101. package/src/core/Footer/component.jsx +127 -52
  102. package/src/core/Logo/component.html.erb +2 -27
  103. package/src/core/Logo/component.jsx +7 -40
  104. package/src/core/Logo/component.rb +15 -6
  105. package/src/core/Meganav/component.css +8 -8
  106. package/src/core/Meganav/component.html.erb +1 -1
  107. package/src/core/Meganav/component.json +1 -1
  108. package/src/core/Meganav/component.jsx +1 -1
  109. package/src/core/Meganav/component.rb +3 -2
  110. package/src/core/MeganavContentCompany/component.html.erb +9 -0
  111. package/src/core/MeganavContentCompany/component.jsx +9 -0
  112. package/src/core/MeganavContentDevelopers/component.html.erb +27 -11
  113. package/src/core/MeganavContentDevelopers/component.jsx +28 -9
  114. package/src/core/MeganavContentPlatform/component.html.erb +6 -6
  115. package/src/core/MeganavContentPlatform/component.jsx +7 -7
  116. package/src/core/MeganavContentUseCases/component.html.erb +43 -39
  117. package/src/core/MeganavContentUseCases/component.jsx +42 -39
  118. package/src/core/MeganavSearchSuggestions/component.html.erb +1 -1
  119. package/src/core/Notice/component.css +1 -1
  120. package/src/core/Notice/component.html.erb +2 -2
  121. package/src/core/Notice/component.jsx +2 -2
  122. package/src/core/core.rb +12 -4
  123. package/src/core/fonts/jetBrains-mono.css +3 -0
  124. package/src/core/fonts/manrope.css +3 -0
  125. package/src/core/icons/github.svg +1 -1
  126. package/src/core/icons/google.svg +3 -0
  127. package/src/core/icons/icon-display-chat-col.svg +4 -0
  128. package/src/core/icons/icon-display-data-broadcast-col.svg +26 -0
  129. package/src/core/icons/icon-display-data-synchronization-col.svg +14 -0
  130. package/src/core/icons/icon-display-events-col.svg +13 -0
  131. package/src/core/icons/icon-display-integrations-col.svg +8 -0
  132. package/src/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
  133. package/src/core/icons/icon-display-push-notifications-col.svg +6 -0
  134. package/src/core/icons/icon-gui-check-circled-fill-black.svg +4 -0
  135. package/src/core/icons/icon-gui-filter-flow-step-1.svg +5 -0
  136. package/src/core/icons/icon-gui-filter-flow-step-2.svg +5 -0
  137. package/src/core/icons/icon-gui-filter-flow-step-3.svg +5 -0
  138. package/src/core/icons/icon-gui-resources.svg +3 -0
  139. package/src/core/icons/icon-tech-apachekafka.svg +3 -0
  140. package/src/core/icons/stackoverflow.svg +3 -0
  141. package/src/core/icons/youtube.svg +11 -0
  142. package/src/core/images/ably-logo.png +0 -0
  143. package/src/core/images/high-performer-2022.png +0 -0
  144. package/src/core/images/highest-user-adoption-2022.png +0 -0
  145. package/src/core/images/users-love-us-2022.png +0 -0
  146. package/src/core/styles/buttons.css +5 -5
  147. package/src/core/styles/forms.css +5 -5
  148. package/src/core/styles/properties.css +49 -31
  149. package/src/core/styles/text.css +65 -47
  150. package/src/core/utils/syntax-highlighter-registry.js +63 -0
  151. package/src/core/utils/syntax-highlighter.css +71 -0
  152. package/src/core/utils/syntax-highlighter.js +103 -0
  153. package/tailwind.config.js +43 -26
  154. package/core/.DS_Store +0 -0
  155. package/core/fonts/.DS_Store +0 -0
  156. package/core/images/.DS_Store +0 -0
  157. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/.keep +0 -0
  158. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/pids/.keep +0 -0
  159. package/src/.DS_Store +0 -0
  160. package/src/core/.DS_Store +0 -0
  161. package/src/core/fonts/.DS_Store +0 -0
  162. package/src/core/images/.DS_Store +0 -0
  163. package/src/reset/.DS_Store +0 -0
  164. /package/{preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/log/.keep → src/core/DropdownMenu/component.js} +0 -0
@@ -22,20 +22,20 @@ const MeganavContentDevelopers = ({ absUrl }) => (
22
22
  </a>
23
23
  </li>
24
24
  <li>
25
- <a href={absUrl("/docs/key-concepts")} className="ui-meganav-media-with-image group">
26
- <Icon name="icon-display-lightbulb-col" size="2.5rem" />
25
+ <a href={absUrl("/docs/quick-start-guide")} className="ui-meganav-media-with-image group">
26
+ <Icon name="icon-display-quickstart-guides-col" size="2.5rem" />
27
27
  <div className="flex flex-col justify-center">
28
- <p className="ui-meganav-media-heading">Concepts</p>
29
- <p className="ui-meganav-media-copy">Read about core Ably platform concepts.</p>
28
+ <p className="ui-meganav-media-heading">Quickstart guides</p>
29
+ <p className="ui-meganav-media-copy">Documentation to help you get started quickly.</p>
30
30
  </div>
31
31
  </a>
32
32
  </li>
33
33
  <li>
34
- <a href={absUrl("/docs/quick-start-guide")} className="ui-meganav-media-with-image group">
35
- <Icon name="icon-display-quickstart-guides-col" size="2.5rem" />
34
+ <a href={absUrl("/integrations")} className="ui-meganav-media-with-image group">
35
+ <Icon name="icon-display-integrations-col" size="2.5rem" />
36
36
  <div className="flex flex-col justify-center">
37
- <p className="ui-meganav-media-heading">Quickstart guides</p>
38
- <p className="ui-meganav-media-copy">Documentation to help you get started quickly.</p>
37
+ <p className="ui-meganav-media-heading">Integrations</p>
38
+ <p className="ui-meganav-media-copy">Find out more about Ably integrations. </p>
39
39
  </div>
40
40
  </a>
41
41
  </li>
@@ -58,7 +58,25 @@ const MeganavContentDevelopers = ({ absUrl }) => (
58
58
  <Icon name="icon-display-tutorials-demos-col" size="2.5rem" />
59
59
  <div className="flex flex-col justify-center">
60
60
  <p className="ui-meganav-media-heading">Tutorials & Demos</p>
61
- <p className="ui-meganav-media-copy">Get stuck in with our hands-on resources. </p>
61
+ <p className="ui-meganav-media-copy">Get stuck in with our hands-on resources.</p>
62
+ </div>
63
+ </a>
64
+ </li>
65
+ <li>
66
+ <a href={absUrl("/reference-guide-chat")} className="ui-meganav-media-with-image group">
67
+ <Icon name="icon-display-chat-col" size="2.5rem" />
68
+ <div className="flex flex-col justify-center">
69
+ <p className="ui-meganav-media-heading">Chat apps reference guide</p>
70
+ <p className="ui-meganav-media-copy">Learn how to build chat apps with Ably.</p>
71
+ </div>
72
+ </a>
73
+ </li>
74
+ <li>
75
+ <a href={absUrl("/reference-guide-multiplayer")} className="ui-meganav-media-with-image group">
76
+ <Icon name="icon-multi-user-spaces-col" size="2.5rem" />
77
+ <div className="flex flex-col justify-center">
78
+ <p className="ui-meganav-media-heading">Multiplayer reference guide</p>
79
+ <p className="ui-meganav-media-copy">Learn how to build collaborative features with Ably.</p>
62
80
  </div>
63
81
  </a>
64
82
  </li>
@@ -90,6 +108,7 @@ const MeganavContentDevelopers = ({ absUrl }) => (
90
108
  <p className="ui-meganav-media-heading">
91
109
  Status
92
110
  <iframe
111
+ title="Ably status"
93
112
  src="https://status.ably.com/embed/icon"
94
113
  allowtransparency="true"
95
114
  frameBorder="0"
@@ -36,12 +36,6 @@
36
36
  <p class="ui-meganav-media-copy">Display a list of user actions in realtime.</p>
37
37
  <% end %>
38
38
  </li>
39
- <li>
40
- <%= link_to abs_url("/examples/live-charts"), class: "ui-meganav-media group" do %>
41
- <p class="ui-meganav-media-heading">Live Charts</p>
42
- <p class="ui-meganav-media-copy">Visualise live metrics and data in a chart.</p>
43
- <% end %>
44
- </li>
45
39
  <li>
46
40
  <%= link_to abs_url("/examples/live-cursors"), class: "ui-meganav-media group" do %>
47
41
  <p class="ui-meganav-media-heading">Live Cursors</p>
@@ -54,6 +48,12 @@
54
48
  <p class="ui-meganav-media-copy">See when a user is typing a message.</p>
55
49
  <% end %>
56
50
  </li>
51
+ <li>
52
+ <%= link_to abs_url("/examples/chat-admin-privileges"), class: "ui-meganav-media group" do %>
53
+ <p class="ui-meganav-media-heading">Chat Admin Privileges</p>
54
+ <p class="ui-meganav-media-copy">Control who can take admin actions in a digital space.</p>
55
+ <% end %>
56
+ </li>
57
57
  </ul>
58
58
 
59
59
  <%= render(AblyUi::Core::FeaturedLink.new(url: abs_url("/examples"), text_size: 'text-p3')) do %>Explore all live examples<% end %>
@@ -12,7 +12,7 @@ const MeganavContentPlatform = ({ paths, absUrl }) => (
12
12
  <img src={paths.ablyStack} alt="Ably homepage" />
13
13
  <h3 className="ui-meganav-overline ml-24">The Ably Platform</h3>
14
14
  </div>
15
- <p className="text-p2 font-medium text-cool-black mb-24" style={{ maxWidth: "330px" }}>
15
+ <p className="text-p2 font-bold text-cool-black mb-24" style={{ maxWidth: "330px" }}>
16
16
  Easily power any realtime experience in your application. No complex infrastructure to manage or provision. Just a simple API that handles everything
17
17
  realtime, and lets you focus on your code.
18
18
  </p>
@@ -45,12 +45,6 @@ const MeganavContentPlatform = ({ paths, absUrl }) => (
45
45
  <p className="ui-meganav-media-copy">Display a list of user actions in realtime.</p>
46
46
  </a>
47
47
  </li>
48
- <li>
49
- <a href={absUrl("/examples/live-charts")} className="ui-meganav-media group">
50
- <p className="ui-meganav-media-heading">Live Charts</p>
51
- <p className="ui-meganav-media-copy">Visualise live metrics and data in a chart.</p>
52
- </a>
53
- </li>
54
48
  <li>
55
49
  <a href={absUrl("/examples/live-cursors")} className="ui-meganav-media group">
56
50
  <p className="ui-meganav-media-heading">Live Cursors</p>
@@ -63,6 +57,12 @@ const MeganavContentPlatform = ({ paths, absUrl }) => (
63
57
  <p className="ui-meganav-media-copy">See when a user is typing a message.</p>
64
58
  </a>
65
59
  </li>
60
+ <li>
61
+ <a href={absUrl("/examples/chat-admin-privileges")} className="ui-meganav-media group">
62
+ <p className="ui-meganav-media-heading">Chat Admin Privileges</p>
63
+ <p className="ui-meganav-media-copy">Control who can take admin actions in a digital space.</p>
64
+ </a>
65
+ </li>
66
66
  </ul>
67
67
  <FeaturedLink url={absUrl("/examples")} textSize="text-p3">
68
68
  Explore all live examples
@@ -3,49 +3,68 @@
3
3
  <section class="grid grid-cols-12 ui-grid-gap-x w-full">
4
4
  <div class="col-span-full md:col-span-4 py-24 lg:py-32 px-24 sm:px-32 md:pl-0 md:pr-24 bg-extra-light-grey">
5
5
  <h3 class="ui-meganav-overline" id="meganav-use-cases-panel-use-cases">
6
- Use cases
6
+ Solutions
7
7
  </h3>
8
8
  <ul aria-labelledby="meganav-use-cases-panel-industry-use-cases">
9
+
9
10
  <li>
10
- <%= link_to abs_url("/solutions/live-updates-results-metrics"), class: "ui-meganav-media-with-image group" do %>
11
- <%= render(AblyUi::Core::Icon.new(name: "icon-live-updates-results-metrics-col", size: "2.5rem")) %>
11
+ <%= link_to abs_url("/solutions/chat"), class: "ui-meganav-media-with-image group" do %>
12
+ <%= render(AblyUi::Core::Icon.new(name: "icon-display-chat-stack-col", size: "2.5rem")) %>
12
13
  <div class="flex flex-col justify-center">
13
- <p class="ui-meganav-media-heading">Live updates, results & metrics</p>
14
- <p class="ui-meganav-media-copy">Deliver live updates to keep users informed.</p>
14
+ <p class="ui-meganav-media-heading">Live Chat</p>
15
+ <p class="ui-meganav-media-copy">Deliver highly reliable chat experiences at scale.</p>
15
16
  </div>
16
17
  <% end %>
17
18
  </li>
18
19
  <li>
19
- <%= link_to abs_url("/solutions/chat"), class: "ui-meganav-media-with-image group" do %>
20
- <%= render(AblyUi::Core::Icon.new(name: "icon-display-chat-stack-col", size: "2.5rem")) %>
20
+ <%= link_to abs_url("/solutions/multiplayer-collaboration"), class: "ui-meganav-media-with-image group" do %>
21
+ <%= render(AblyUi::Core::Icon.new(name: "icon-multi-user-spaces-col", size: "2.5rem")) %>
21
22
  <div class="flex flex-col justify-center">
22
- <p class="ui-meganav-media-heading">Chat</p>
23
- <p class="ui-meganav-media-copy">Deliver highly reliable chat experiences at scale. </p>
23
+ <p class="ui-meganav-media-heading">Multiplayer Collaboration</p>
24
+ <p class="ui-meganav-media-copy">Bring collaborative multiplayer experiences to your users.</p>
24
25
  </div>
25
26
  <% end %>
26
27
  </li>
27
28
  <li>
28
- <%= link_to abs_url("/solutions/virtual-events"), class: "ui-meganav-media-with-image group" do %>
29
- <%= render(AblyUi::Core::Icon.new(name: "icon-display-virtual-events-col", size: "2.5rem")) %>
29
+ <%= link_to abs_url("/solutions/data-broadcast"), class: "ui-meganav-media-with-image group" do %>
30
+ <%= render(AblyUi::Core::Icon.new(name: "icon-display-data-broadcast-col", size: "2.5rem")) %>
30
31
  <div class="flex flex-col justify-center">
31
- <p class="ui-meganav-media-heading">Virtual Events</p>
32
- <p class="ui-meganav-media-copy">Power engaging virtual events with realtime features.</p>
32
+ <p class="ui-meganav-media-heading">Data Broadcast</p>
33
+ <p class="ui-meganav-media-copy">Broadcast realtime event data to millions of devices around the globe.</p>
33
34
  </div>
34
35
  <% end %>
35
36
  </li>
36
37
  <li>
37
- <%= link_to abs_url("/solutions/multi-user-virtual-spaces"), class: "ui-meganav-media-with-image group" do %>
38
- <%= render(AblyUi::Core::Icon.new(name: "icon-multi-user-spaces-col", size: "2.5rem")) %>
38
+ <%= link_to abs_url("/solutions/data-synchronization"), class: "ui-meganav-media-with-image group" do %>
39
+ <%= render(AblyUi::Core::Icon.new(name: "icon-display-data-synchronization-col", size: "2.5rem")) %>
39
40
  <div class="flex flex-col justify-center">
40
- <p class="ui-meganav-media-heading">Multi-user virtual spaces</p>
41
- <p class="ui-meganav-media-copy">Build live and interactive multi-user applications.</p>
41
+ <p class="ui-meganav-media-heading">Data Synchronization</p>
42
+ <p class="ui-meganav-media-copy">Keep your frontend and backend in realtime sync, at global scale.</p>
43
+ </div>
44
+ <% end %>
45
+ </li>
46
+ <li>
47
+ <%= link_to abs_url("/push-notifications"), class: "ui-meganav-media-with-image group" do %>
48
+ <%= render(AblyUi::Core::Icon.new(name: "icon-display-push-notifications-col", size: "2.5rem")) %>
49
+ <div class="flex flex-col justify-center">
50
+ <p class="ui-meganav-media-heading">Notifications</p>
51
+ <p class="ui-meganav-media-copy">Deliver cross-platform push notifications with a simple unified API.</p>
52
+ </div>
53
+ <% end %>
54
+ </li>
55
+ <li>
56
+ <%= link_to abs_url("/solutions/extend-kafka-to-the-edge"), class: "ui-meganav-media-with-image group" do %>
57
+ <%= render(AblyUi::Core::Icon.new(name: "icon-display-kafka-at-the-edge-col", size: "2.5rem")) %>
58
+ <div class="flex flex-col justify-center">
59
+ <p class="ui-meganav-media-heading">Extend Kafka to the edge</p>
60
+ <p class="ui-meganav-media-copy">Reliably expand Kafka’s event streaming beyond your private network.</p>
42
61
  </div>
43
62
  <% end %>
44
63
  </li>
45
64
  </ul>
46
65
  </div>
47
66
 
48
- <div class="col-span-full md:col-span-4 pt-24 pb-8 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0 bg-white">
67
+ <div class="col-span-full md:col-span-4 pt-24 pb-0 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0 bg-white">
49
68
  <h3 class="ui-meganav-overline" id="meganav-use-cases-panel-industry">
50
69
  Industry
51
70
  </h3>
@@ -58,7 +77,7 @@
58
77
  </li>
59
78
  <li>
60
79
  <%= link_to abs_url("/solutions/fintech"), class: "ui-meganav-media group" do %>
61
- <p class="ui-meganav-media-heading">Fintech</p>
80
+ <p class="ui-meganav-media-heading">FinTech</p>
62
81
  <p class="ui-meganav-media-copy">Deliver personalised financial data in realtime.</p>
63
82
  <% end %>
64
83
  </li>
@@ -80,6 +99,11 @@
80
99
  <p class="ui-meganav-media-copy">Provide trustworthy, HIPAA-compliant realtime apps.</p>
81
100
  <% end %>
82
101
  </li>
102
+ </ul>
103
+ </div>
104
+
105
+ <div class="col-span-full md:col-span-4 pt-0 pb-24 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0 bg-white">
106
+ <ul aria-labelledby="meganav-use-cases-panel-solutions" class="mt-0 md:mt-40">
83
107
  <li>
84
108
  <%= link_to abs_url("/solutions/ecommerce-and-retail"), class: "ui-meganav-media group" do %>
85
109
  <p class="ui-meganav-media-heading">eCommerce & Retail</p>
@@ -106,26 +130,6 @@
106
130
  </li>
107
131
  </ul>
108
132
  </div>
109
-
110
- <div class="col-span-full md:col-span-4 pt-8 pb-24 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0 bg-white">
111
- <h3 class="ui-meganav-overline" id="meganav-use-cases-panel-solutions">
112
- Solutions
113
- </h3>
114
- <ul aria-labelledby="meganav-use-cases-panel-solutions">
115
- <li>
116
- <%= link_to abs_url("/solutions/extend-kafka-to-the-edge"), class: "ui-meganav-media group" do %>
117
- <p class="ui-meganav-media-heading">Extend Kafka to the edge</p>
118
- <p class="ui-meganav-media-copy">Reliably expand Kafka’s event streaming beyond your private network.</p>
119
- <% end %>
120
- </li>
121
- <li>
122
- <%= link_to abs_url("/solutions/asset-tracking"), class: "ui-meganav-media group" do %>
123
- <p class="ui-meganav-media-heading">Asset Tracking</p>
124
- <p class="ui-meganav-media-copy">Track assets in realtime with a solution optimised for last mile logistics.</p>
125
- <% end %>
126
- </li>
127
- </ul>
128
- </div>
129
133
  </section>
130
134
  <div class="ui-meganav-content-spacer"></div>
131
135
  </div>
@@ -9,49 +9,67 @@ const MeganavContentUseCases = ({ absUrl }) => (
9
9
  <section className="grid grid-cols-12 ui-grid-gap-x w-full">
10
10
  <div className="col-span-full md:col-span-4 py-24 lg:py-32 px-24 sm:px-32 md:pl-0 md:pr-24 bg-extra-light-grey">
11
11
  <h3 className="ui-meganav-overline" id="meganav-use-cases-panel-use-cases">
12
- Use cases
12
+ Solutions
13
13
  </h3>
14
14
  <ul aria-labelledby="meganav-use-cases-panel-industry-use-cases">
15
15
  <li>
16
- <a href={absUrl("/solutions/live-updates-results-metrics")} className="ui-meganav-media-with-image group">
17
- <Icon name="icon-live-updates-results-metrics-col" size="2.5rem" />
16
+ <a href={absUrl("/solutions/chat")} className="ui-meganav-media-with-image group">
17
+ <Icon name="icon-display-chat-stack-col" size="2.5rem" />
18
18
  <div className="flex flex-col justify-center">
19
- <p className="ui-meganav-media-heading">Live updates, results & metrics</p>
20
- <p className="ui-meganav-media-copy">Deliver live updates to keep users informed.</p>
19
+ <p className="ui-meganav-media-heading">Live Chat</p>
20
+ <p className="ui-meganav-media-copy">Deliver highly reliable chat experiences at scale.</p>
21
21
  </div>
22
22
  </a>
23
23
  </li>
24
24
  <li>
25
- <a href={absUrl("/solutions/chat")} className="ui-meganav-media-with-image group">
26
- <Icon name="icon-display-chat-stack-col" size="2.5rem" />
25
+ <a href={absUrl("/solutions/multiplayer-collaboration")} className="ui-meganav-media-with-image group">
26
+ <Icon name="icon-multi-user-spaces-col" size="2.5rem" />
27
27
  <div className="flex flex-col justify-center">
28
- <p className="ui-meganav-media-heading">Chat</p>
29
- <p className="ui-meganav-media-copy">Deliver highly reliable chat experiences at scale. </p>
28
+ <p className="ui-meganav-media-heading">Multiplayer Collaboration</p>
29
+ <p className="ui-meganav-media-copy">Bring collaborative multiplayer experiences to your users.</p>
30
30
  </div>
31
31
  </a>
32
32
  </li>
33
33
  <li>
34
- <a href={absUrl("/solutions/virtual-events")} className="ui-meganav-media-with-image group">
35
- <Icon name="icon-display-virtual-events-col" size="2.5rem" />
34
+ <a href={absUrl("/solutions/data-broadcast")} className="ui-meganav-media-with-image group">
35
+ <Icon name="icon-display-data-broadcast-col" size="2.5rem" />
36
36
  <div className="flex flex-col justify-center">
37
- <p className="ui-meganav-media-heading">Virtual Events</p>
38
- <p className="ui-meganav-media-copy">Power engaging virtual events with realtime features.</p>
37
+ <p className="ui-meganav-media-heading">Data Broadcast</p>
38
+ <p className="ui-meganav-media-copy">Broadcast realtime event data to millions of devices around the globe.</p>
39
39
  </div>
40
40
  </a>
41
41
  </li>
42
42
  <li>
43
- <a href={absUrl("/solutions/multi-user-virtual-spaces")} className="ui-meganav-media-with-image group">
44
- <Icon name="icon-multi-user-spaces-col" size="2.5rem" />
43
+ <a href={absUrl("/solutions/data-synchronization")} className="ui-meganav-media-with-image group">
44
+ <Icon name="icon-display-data-synchronization-col" size="2.5rem" />
45
+ <div className="flex flex-col justify-center">
46
+ <p className="ui-meganav-media-heading">Data Synchronization</p>
47
+ <p className="ui-meganav-media-copy">Keep your frontend and backend in realtime sync, at global scale.</p>
48
+ </div>
49
+ </a>
50
+ </li>
51
+ <li>
52
+ <a href={absUrl("/push-notifications")} className="ui-meganav-media-with-image group">
53
+ <Icon name="icon-display-push-notifications-col" size="2.5rem" />
45
54
  <div className="flex flex-col justify-center">
46
- <p className="ui-meganav-media-heading">Multi-user virtual spaces</p>
47
- <p className="ui-meganav-media-copy">Build live and interactive multi-user applications.</p>
55
+ <p className="ui-meganav-media-heading">Notifications</p>
56
+ <p className="ui-meganav-media-copy">Deliver cross-platform push notifications with a simple unified API.</p>
57
+ </div>
58
+ </a>
59
+ </li>
60
+ <li>
61
+ <a href={absUrl("/solutions/extend-kafka-to-the-edge")} className="ui-meganav-media-with-image group">
62
+ <Icon name="icon-display-kafka-at-the-edge-col" size="2.5rem" />
63
+ <div className="flex flex-col justify-center">
64
+ <p className="ui-meganav-media-heading">Extend Kafka to the edge</p>
65
+ <p className="ui-meganav-media-copy">Reliably expand Kafka’s event streaming beyond your private network.</p>
48
66
  </div>
49
67
  </a>
50
68
  </li>
51
69
  </ul>
52
70
  </div>
53
71
 
54
- <div className="col-span-full md:col-span-4 pt-24 pb-8 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0 bg-white">
72
+ <div className="col-span-full md:col-span-4 pt-24 pb-0 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0 bg-white">
55
73
  <h3 className="ui-meganav-overline" id="meganav-use-cases-panel-industry">
56
74
  Industry
57
75
  </h3>
@@ -64,7 +82,7 @@ const MeganavContentUseCases = ({ absUrl }) => (
64
82
  </li>
65
83
  <li>
66
84
  <a href={absUrl("/solutions/fintech")} className="ui-meganav-media group">
67
- <p className="ui-meganav-media-heading">Fintech</p>
85
+ <p className="ui-meganav-media-heading">FinTech</p>
68
86
  <p className="ui-meganav-media-copy">Deliver personalised financial data in realtime.</p>
69
87
  </a>
70
88
  </li>
@@ -86,6 +104,11 @@ const MeganavContentUseCases = ({ absUrl }) => (
86
104
  <p className="ui-meganav-media-copy">Provide trustworthy, HIPAA-compliant realtime apps.</p>
87
105
  </a>
88
106
  </li>
107
+ </ul>
108
+ </div>
109
+
110
+ <div className="col-span-full md:col-span-4 pt-0 pb-24 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0 bg-white">
111
+ <ul aria-labelledby="meganav-use-cases-panel-solutions" className="mt-0 md:mt-40">
89
112
  <li>
90
113
  <a href={absUrl("/solutions/ecommerce-and-retail")} className="ui-meganav-media group">
91
114
  <p className="ui-meganav-media-heading">eCommerce & Retail</p>
@@ -112,26 +135,6 @@ const MeganavContentUseCases = ({ absUrl }) => (
112
135
  </li>
113
136
  </ul>
114
137
  </div>
115
-
116
- <div className="col-span-full md:col-span-4 pt-8 pb-24 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0 bg-white">
117
- <h3 className="ui-meganav-overline" id="meganav-use-cases-panel-solutions">
118
- Solutions
119
- </h3>
120
- <ul aria-labelledby="meganav-use-cases-panel-solutions">
121
- <li>
122
- <a href={absUrl("/solutions/extend-kafka-to-the-edge")} className="ui-meganav-media group">
123
- <p className="ui-meganav-media-heading">Extend Kafka to the edge</p>
124
- <p className="ui-meganav-media-copy">Reliably expand Kafka’s event streaming beyond your private network.</p>
125
- </a>
126
- </li>
127
- <li>
128
- <a href={absUrl("/solutions/asset-tracking")} className="ui-meganav-media group">
129
- <p className="ui-meganav-media-heading">Asset Tracking</p>
130
- <p className="ui-meganav-media-copy">Track assets in realtime with a solution optimised for last mile logistics.</p>
131
- </a>
132
- </li>
133
- </ul>
134
- </div>
135
138
  </section>
136
139
  <div className="ui-meganav-content-spacer"></div>
137
140
  </div>
@@ -12,7 +12,7 @@
12
12
  <%= link_to 'Publish/Subscribe Messaging', abs_url("/docs/core-features/pubsub"), class: "ui-text-p2 hover:text-gui-hover active:text-gui-active focus:text-gui-focus" %>
13
13
  </li>
14
14
  <li class="py-12 pl-8 flex-shrink-0">
15
- <%= link_to 'Platform', abs_url("/docs/how-ably-works"), class: "ui-text-p2 hover:text-gui-hover active:text-gui-active focus:text-gui-focus" %>
15
+ <%= link_to 'Platform', abs_url("/platform"), class: "ui-text-p2 hover:text-gui-hover active:text-gui-active focus:text-gui-focus" %>
16
16
  </li>
17
17
  </ul>
18
18
 
@@ -1,6 +1,6 @@
1
1
  @layer components {
2
2
  .ui-announcement {
3
- @apply font-sans;
3
+ @apply font-manrope;
4
4
  max-height: 37.5rem;
5
5
  transition: max-height 300ms;
6
6
  }
@@ -1,8 +1,8 @@
1
1
  <%# Note the style attribute is used for entry animation %>
2
2
  <%= tag.div class: "ui-announcement #{bg_color} #{text_color}", data: { id: "ui-notice" }, style: "max-height: 0; overflow: hidden" do %>
3
3
  <div class="ui-grid-px py-16 max-w-screen-xl mx-auto flex items-start">
4
- <%= content_wrapper class: "font-light w-full pr-8 text-p3 self-center" do %>
5
- <strong class="font-medium whitespace-nowrap pr-4"><%= @contents[:title] %></strong>
4
+ <%= content_wrapper class: "font-medium w-full pr-8 text-p3 self-center" do %>
5
+ <strong class="font-bold whitespace-nowrap pr-4"><%= @contents[:title] %></strong>
6
6
  <span class="pr-4"><%= @contents[:body_text] %></span>
7
7
  <span class="underline cursor-pointer whitespace-nowrap"><%= @contents[:button_label] %></span>
8
8
  <% end %>
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect } from "react";
2
2
  import T from "prop-types";
3
3
 
4
- const contentWrapperClasses = "font-light w-full pr-8 text-p3 self-center";
4
+ const contentWrapperClasses = "font-medium w-full pr-8 text-p3 self-center";
5
5
 
6
6
  import NoticeScripts from "./component.js";
7
7
  import Icon from "../Icon/component.jsx";
@@ -38,7 +38,7 @@ const Notice = ({ buttonLink, buttonLabel, bodyText, title, config, closeBtn, bg
38
38
  <div className={wrapperClasses} data-id="ui-notice" style={{ maxHeight: 0, overflow: "hidden" }}>
39
39
  <div className="ui-grid-px py-16 max-w-screen-xl mx-auto flex items-start">
40
40
  <ContentWrapper buttonLink={buttonLink}>
41
- <strong className="font-medium whitespace-nowrap pr-4">{title}</strong>
41
+ <strong className="font-bold whitespace-nowrap pr-4">{title}</strong>
42
42
  <span className="pr-4">{bodyText}</span>
43
43
  {buttonLabel && <span className="underline cursor-pointer whitespace-nowrap">{buttonLabel}</span>}
44
44
  </ContentWrapper>
package/src/core/core.rb CHANGED
@@ -30,6 +30,10 @@ module AblyUi
30
30
  end
31
31
 
32
32
  module SharedAssets
33
+ def ably_logo
34
+ asset_path 'ably_ui/core/images/ably-logo.png'
35
+ end
36
+
33
37
  def ably_stack_path
34
38
  asset_path 'ably_ui/core/images/ably-stack.svg'
35
39
  end
@@ -38,12 +42,16 @@ module AblyUi
38
42
  asset_path 'ably_ui/core/images/icon-tech-aws.svg'
39
43
  end
40
44
 
41
- def rocket_list
42
- asset_path 'ably_ui/core/images/rocket-list-2021.png'
45
+ def highest_performer
46
+ asset_path 'ably_ui/core/images/high-performer-2022.png'
47
+ end
48
+
49
+ def highest_user_adoption
50
+ asset_path 'ably_ui/core/images/highest-user-adoption-2022.png'
43
51
  end
44
52
 
45
- def flexible_companies
46
- asset_path 'ably_ui/core/images/flexible-companies.png'
53
+ def users_love_us
54
+ asset_path 'ably_ui/core/images/users-love-us-2022.png'
47
55
  end
48
56
  end
49
57
 
@@ -0,0 +1,3 @@
1
+ @layer base {
2
+ @import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&display=swap");
3
+ }
@@ -0,0 +1,3 @@
1
+ @layer base {
2
+ @import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");
3
+ }
@@ -1,3 +1,3 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.4 0 0 5.41945 0 12.0432C0 17.3623 3.4 21.8785 8.2 23.4843C8.8 23.5846 9 23.1832 9 22.8821C9 22.581 9 21.8785 9 20.8749C5.7 21.5774 5 19.2692 5 19.2692C4.5 17.8641 3.7 17.4627 3.7 17.4627C2.6 16.7601 3.8 16.7602 3.8 16.7602C5 16.8605 5.6 17.9645 5.6 17.9645C6.7 19.771 8.4 19.2692 9.1 18.9681C9.2 18.1652 9.5 17.6634 9.9 17.3623C7.1 17.0612 4.3 16.0576 4.3 11.4411C4.3 10.1364 4.8 9.03242 5.5 8.22953C5.5 7.82809 5 6.62377 5.7 5.01801C5.7 5.01801 6.7 4.71693 9 6.22233C10 5.92125 11 5.82089 12 5.82089C13 5.82089 14 5.92125 15 6.22233C17.3 4.71693 18.3 5.01801 18.3 5.01801C19 6.72413 18.5 7.92845 18.4 8.22953C19.2 9.03242 19.6 10.1364 19.6 11.4411C19.6 16.0576 16.8 17.0612 14.1 17.3623C14.5 17.7638 14.9 18.4663 14.9 19.5702C14.9 21.176 14.9 22.4807 14.9 22.8821C14.9 23.1832 15.1 23.5846 15.7 23.4843C20.6 21.8785 24 17.3623 24 12.0432C24 5.41945 18.6 0 12 0Z" />
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.4 0 0 5.41945 0 12.0432C0 17.3623 3.4 21.8785 8.2 23.4843C8.8 23.5846 9 23.1832 9 22.8821C9 22.581 9 21.8785 9 20.8749C5.7 21.5774 5 19.2692 5 19.2692C4.5 17.8641 3.7 17.4627 3.7 17.4627C2.6 16.7601 3.8 16.7602 3.8 16.7602C5 16.8605 5.6 17.9645 5.6 17.9645C6.7 19.771 8.4 19.2692 9.1 18.9681C9.2 18.1652 9.5 17.6634 9.9 17.3623C7.1 17.0612 4.3 16.0576 4.3 11.4411C4.3 10.1364 4.8 9.03242 5.5 8.22953C5.5 7.82809 5 6.62377 5.7 5.01801C5.7 5.01801 6.7 4.71693 9 6.22233C10 5.92125 11 5.82089 12 5.82089C13 5.82089 14 5.92125 15 6.22233C17.3 4.71693 18.3 5.01801 18.3 5.01801C19 6.72413 18.5 7.92845 18.4 8.22953C19.2 9.03242 19.6 10.1364 19.6 11.4411C19.6 16.0576 16.8 17.0612 14.1 17.3623C14.5 17.7638 14.9 18.4663 14.9 19.5702C14.9 21.176 14.9 22.4807 14.9 22.8821C14.9 23.1832 15.1 23.5846 15.7 23.4843C20.6 21.8785 24 17.3623 24 12.0432C24 5.41945 18.6 0 12 0Z" fill="currentColor" />
3
3
  </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.6483 7.36875H9.1803V10.8492H14.0178C13.8092 11.9742 13.1764 12.9258 12.2225 13.5633C11.4162 14.1023 10.3873 14.4211 9.17795 14.4211C6.83655 14.4211 4.85608 12.8391 4.14827 10.7133C3.97014 10.1742 3.86702 9.59766 3.86702 9.00469C3.86702 8.41172 3.97014 7.83516 4.14827 7.29609C4.85842 5.17266 6.83889 3.59063 9.1803 3.59063C10.4998 3.59063 11.6834 4.04531 12.6162 4.93594L15.1944 2.35547C13.6358 0.902344 11.6037 0.0117188 9.1803 0.0117188C5.66702 0.0117188 2.62717 2.02734 1.14827 4.96641C0.538892 6.18047 0.192017 7.55391 0.192017 9.00703C0.192017 10.4602 0.538892 11.8312 1.14827 13.0453C2.62717 15.9844 5.66702 18 9.1803 18C11.6084 18 13.6428 17.1938 15.1287 15.8203C16.828 14.2547 17.81 11.9484 17.81 9.20859C17.81 8.57109 17.7537 7.95937 17.6483 7.36875Z" fill="currentColor" />
3
+ </svg>