Skip to content

Commit

Permalink
Merge pull request #455 from ably/WEB-3968
Browse files Browse the repository at this point in the history
Update navigation to change  /chat & /pubsub URLs
  • Loading branch information
aralovelace authored Aug 22, 2024
2 parents 64b3854 + 0c30aa0 commit 8d4f989
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 27 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ably/ui",
"version": "14.3.3",
"version": "14.3.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.",
"repository": {
"type": "git",
Expand Down
5 changes: 1 addition & 4 deletions src/core/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ const Footer = ({ paths, urlBase, statusUrl }: FooterProps) => {

<ul className="grid grid-cols-1">
<li className="p-menu-row-snug">
<a
href={absUrl("/solutions/channels")}
className="ui-footer-menu-row-link"
>
<a href={absUrl("/pubsub")} className="ui-footer-menu-row-link">
Pub/sub messaging
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/core/Footer/__snapshots__/Footer.stories.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports[`JS Components/Footer Default smoke-test 1`] = `
</div>
<ul class="grid grid-cols-1">
<li class="p-menu-row-snug">
<a href="/solutions/channels"
<a href="/pubsub"
class="ui-footer-menu-row-link"
>
Pub/sub messaging
Expand Down
24 changes: 12 additions & 12 deletions src/core/Meganav/__snapshots__/Meganav.stories.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ exports[`JS Components/Meganav Default smoke-test 1`] = `
aria-labelledby="meganav-products-panel-list-examples"
>
<li>
<a href="/solutions/channels"
<a href="/pubsub"
class="group ui-meganav-media"
>
<p class="ui-meganav-media-heading">
Expand Down Expand Up @@ -123,7 +123,7 @@ exports[`JS Components/Meganav Default smoke-test 1`] = `
</a>
</li>
<li>
<a href="/solutions/chat"
<a href="/chat"
class="group ui-meganav-media"
>
<p class="ui-meganav-media-heading">
Expand Down Expand Up @@ -262,7 +262,7 @@ exports[`JS Components/Meganav Default smoke-test 1`] = `
</h3>
<ul aria-labelledby="meganav-use-cases-panel-industry-use-cases">
<li>
<a href="/solutions/chat"
<a href="/chat"
class="ui-meganav-media-with-image group"
>
<svg class=" "
Expand Down Expand Up @@ -1393,7 +1393,7 @@ exports[`JS Components/Meganav Default smoke-test 1`] = `
aria-labelledby="meganav-products-panel-list-examples"
>
<li>
<a href="/solutions/channels"
<a href="/pubsub"
class="group ui-meganav-media"
>
<p class="ui-meganav-media-heading">
Expand Down Expand Up @@ -1429,7 +1429,7 @@ exports[`JS Components/Meganav Default smoke-test 1`] = `
</a>
</li>
<li>
<a href="/solutions/chat"
<a href="/chat"
class="group ui-meganav-media"
>
<p class="ui-meganav-media-heading">
Expand Down Expand Up @@ -1580,7 +1580,7 @@ exports[`JS Components/Meganav Default smoke-test 1`] = `
</h3>
<ul aria-labelledby="meganav-use-cases-panel-industry-use-cases">
<li>
<a href="/solutions/chat"
<a href="/chat"
class="ui-meganav-media-with-image group"
>
<svg class=" "
Expand Down Expand Up @@ -2510,7 +2510,7 @@ exports[`JS Components/Meganav SignedIn smoke-test 1`] = `
aria-labelledby="meganav-products-panel-list-examples"
>
<li>
<a href="/solutions/channels"
<a href="/pubsub"
class="group ui-meganav-media"
>
<p class="ui-meganav-media-heading">
Expand Down Expand Up @@ -2546,7 +2546,7 @@ exports[`JS Components/Meganav SignedIn smoke-test 1`] = `
</a>
</li>
<li>
<a href="/solutions/chat"
<a href="/chat"
class="group ui-meganav-media"
>
<p class="ui-meganav-media-heading">
Expand Down Expand Up @@ -2685,7 +2685,7 @@ exports[`JS Components/Meganav SignedIn smoke-test 1`] = `
</h3>
<ul aria-labelledby="meganav-use-cases-panel-industry-use-cases">
<li>
<a href="/solutions/chat"
<a href="/chat"
class="ui-meganav-media-with-image group"
>
<svg class=" "
Expand Down Expand Up @@ -3804,7 +3804,7 @@ exports[`JS Components/Meganav SignedIn smoke-test 1`] = `
aria-labelledby="meganav-products-panel-list-examples"
>
<li>
<a href="/solutions/channels"
<a href="/pubsub"
class="group ui-meganav-media"
>
<p class="ui-meganav-media-heading">
Expand Down Expand Up @@ -3840,7 +3840,7 @@ exports[`JS Components/Meganav SignedIn smoke-test 1`] = `
</a>
</li>
<li>
<a href="/solutions/chat"
<a href="/chat"
class="group ui-meganav-media"
>
<p class="ui-meganav-media-heading">
Expand Down Expand Up @@ -3991,7 +3991,7 @@ exports[`JS Components/Meganav SignedIn smoke-test 1`] = `
</h3>
<ul aria-labelledby="meganav-use-cases-panel-industry-use-cases">
<li>
<a href="/solutions/chat"
<a href="/chat"
class="ui-meganav-media-with-image group"
>
<svg class=" "
Expand Down
10 changes: 2 additions & 8 deletions src/core/MeganavContentProducts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ const MeganavContentProducts = ({
aria-labelledby="meganav-products-panel-list-examples"
>
<li>
<a
href={absUrl("/solutions/channels")}
className="group ui-meganav-media"
>
<a href={absUrl("/pubsub")} className="group ui-meganav-media">
<p className="ui-meganav-media-heading">Pub/Sub Channels</p>
<p className="ui-meganav-media-copy">
Build infinitely scalable realtime applications.
Expand All @@ -73,10 +70,7 @@ const MeganavContentProducts = ({
</a>
</li>
<li>
<a
href={absUrl("/solutions/chat")}
className="group ui-meganav-media"
>
<a href={absUrl("/chat")} className="group ui-meganav-media">
<p className="ui-meganav-media-heading">Chat (Beta)</p>
<p className="ui-meganav-media-copy">
Deliver highly reliable chat experiences at scale.
Expand Down
2 changes: 1 addition & 1 deletion src/core/MeganavContentUseCases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const MeganavContentUseCases = ({ absUrl }: { absUrl: AbsUrl }) => (
<ul aria-labelledby="meganav-use-cases-panel-industry-use-cases">
<li>
<a
href={absUrl("/solutions/chat")}
href={absUrl("/chat")}
className="ui-meganav-media-with-image group"
>
<Icon name="icon-display-chat-stack-col" size="2.5rem" />
Expand Down

0 comments on commit 8d4f989

Please sign in to comment.