Skip to content

Commit

Permalink
temp: feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehenson committed Jan 16, 2025
1 parent f3cf6b0 commit bb08d1a
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 16 deletions.
11 changes: 0 additions & 11 deletions src/components/Layout/LeftSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,6 @@ const constructProductNavData = (
<div key={product.name} className="flex flex-col gap-20 px-16">
<div className="flex flex-col gap-[10px] md:gap-8 mt-12">
<p className="ui-text-overline2 text-neutral-700">{product.name}</p>
{product.link ? (
<Link
to={product.link}
id={composeNavLinkId(product.link)}
className={cn('ui-text-menu2 md:ui-text-menu4 leading-relaxed md:leading-snug', {
'font-bold': formatNavLink(product.link) === formatNavLink(location),
})}
>
About {product.name}
</Link>
) : null}
{product.showJumpLink ? (
<a
href="#"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Layout/RightSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const externalLinks = (
const requestBody = encodeURIComponent(`
Name: **${currentPage.name}**
Link: **[${currentPage.link}](https://ably.com/docs/${currentPage.link})**
${language ? `Language: **${languageInfo[language].label}**` : ''}
${language && languageInfo[language] ? `Language: **${languageInfo[language].label}**` : ''}
Please describe the changes you would like to make to this page:
`);
Expand Down
4 changes: 4 additions & 0 deletions src/data/languages/languageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ export default {
label: 'Flutter',
syntaxHighlighterKey: 'dart',
},
kotlin: {
label: 'Kotlin',
syntaxHighlighterKey: 'kotlin',
},
realtime: {
label: 'Realtime',
syntaxHighlighterKey: 'javascript',
Expand Down
1 change: 0 additions & 1 deletion src/data/nav/assettracking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { NavProduct } from './types';

export default {
name: 'Ably Asset Tracking',
link: '/products/asset-tracking',
icon: {
closed: 'icon-product-asset-tracking-mono',
open: 'icon-product-asset-tracking',
Expand Down
1 change: 0 additions & 1 deletion src/data/nav/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { NavProduct } from './types';

export default {
name: 'Ably Chat',
link: '/products/chat',
icon: {
closed: 'icon-product-chat-mono',
open: 'icon-product-chat',
Expand Down
1 change: 0 additions & 1 deletion src/data/nav/pubsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { NavProduct } from './types';

export default {
name: 'Ably Pub/Sub',
link: '/products/channels',
icon: {
closed: 'icon-product-pubsub-mono',
open: 'icon-product-pubsub',
Expand Down
1 change: 0 additions & 1 deletion src/data/nav/spaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { NavProduct } from './types';

export default {
name: 'Ably Spaces',
link: '/products/spaces',
icon: {
closed: 'icon-product-spaces-mono',
open: 'icon-product-spaces',
Expand Down

0 comments on commit bb08d1a

Please sign in to comment.