diff --git a/components/AmbassadorsList.tsx b/components/AmbassadorsList.tsx index 0328f4772..628114b27 100644 --- a/components/AmbassadorsList.tsx +++ b/components/AmbassadorsList.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import Image from 'next/image'; interface AmbassadorsLink { title: string; @@ -21,7 +22,9 @@ const AmbassadorList = ({ ambassadorList }: AmbassadorsListProps) => { className='flex flex-col items-center text-center p-5 bg-white dark:bg-gray-800 rounded-lg shadow-lg transform transition hover:scale-105' data-testid='Ambassadors-list' > - {link.title} { build new connections.

-
-
+
+
-

- Join the JSON Schema Slack Workspace! +
+

+ Join the JSON Schema Slack Workspace! + {isClient && ( + <> + slack + + )} +

{isClient && ( <> slack )} -

- {isClient && ( - <> - slack-json-schema - - )} - - {/*

Event

*/} -

- Join our Slack to ask questions, get feedback on your - projects, and connect with +5000 practitioners and experts. -

+
-
{/* BlogPost Data */} -
+
-

- The JSON Schema Blog -

- {isClient && ( - <> - blog - - )} -

- {' '} - {blogPosts[0].frontmatter.title} -

-
- -
- -
- {(blogPosts[0].frontmatter.authors || []).map( - (author: any, index: number) => { - return ( -
- ); - }, +
+

+ Latest blog post +

+ {isClient && ( + <> + blog + )} -
-

- {blogPosts[0].frontmatter.authors.length > 2 ? ( - <> - {blogPosts[0].frontmatter.authors - .slice(0, 2) - .map((author: any, index: number) => ( - - {author.name} - {index === 0 && ' & '} - - ))} - {'...'} - - ) : ( - blogPosts[0].frontmatter.authors.map((author: any) => ( - {author.name} - )) - )} -

+

+ {' '} + {blogPosts[0].frontmatter.title} +

+
+ {(blogPosts[0].frontmatter.authors || []).map( + (author: any, index: number) => { + return ( +
+ ); + }, + )} +
+

+ {blogPosts[0].frontmatter.authors.length > 2 ? ( + <> + {blogPosts[0].frontmatter.authors + .slice(0, 2) + .map((author: any, index: number) => ( + + {author.name} + {index === 0 && ' & '} + + ))} + {'...'} + + ) : ( + blogPosts[0].frontmatter.authors.map( + (author: any) => ( + {author.name} + ), + ) + )} +

-
- - {blogPosts[0].frontmatter.date} · {timeToRead}{' '} - min read - +
+ + {blogPosts[0].frontmatter.date} · {timeToRead}{' '} + min read + +
- +
+ Explore our blogs. Their, you'll get latest information about + our blogs, articles, announcements. Let's get upto date with the + recent activities in the organization. +
- Read more{' '} + Read all blogs{' '}
-
-

+ -
+
- Upcoming events +

+ Upcoming events +

{' '}
    {props.datesInfo.map((event: any, index: any) => (
  • -
    -

    - {event.day} -

    +
    +
    +
    +

    + {new Date( + event.time.replace( + /(\d+)(th|st|nd|rd)/, + '$1', + ), + ) + .toLocaleDateString('en-US', { + weekday: 'short', + }) + .toUpperCase()} +

    +
    +

    + {String(event.day).padStart(2, '0')}{' '} +

    +
    + +

    {event.title}

    @@ -542,7 +563,7 @@ const Home = (props: any) => { @@ -818,16 +839,24 @@ const Home = (props: any) => { )} - + octue - The Realtime Unified API
 for Accounting integrations @@ -837,9 +866,11 @@ for Accounting integrations' target='_blank' rel='noreferrer' > - The local Database for JavaScript Applications @@ -848,9 +879,11 @@ for Accounting integrations' target='_blank' rel='noreferrer' > - best website design agencies diff --git a/pages/overview/pro-help/index.page.tsx b/pages/overview/pro-help/index.page.tsx index 5978c6a56..65f8913cf 100644 --- a/pages/overview/pro-help/index.page.tsx +++ b/pages/overview/pro-help/index.page.tsx @@ -7,6 +7,7 @@ import { SectionContext } from '~/context'; import { DocsHelp } from '~/components/DocsHelp'; import NextPrevButton from '~/components/NavigationButtons'; import StyledMarkdown from '~/components/StyledMarkdown'; +import Image from 'next/image'; interface ContractorLink { title: string; @@ -105,7 +106,9 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) {

    {/* Image */}
    - {`${contractor.name}'s
    -