diff --git a/components/AmbassadorsList.tsx b/components/AmbassadorsList.tsx index f27d78328..886f44388 100644 --- a/components/AmbassadorsList.tsx +++ b/components/AmbassadorsList.tsx @@ -6,6 +6,7 @@ import { CardTitle, CardDescription, } from '@/components/ui/card'; +import Image from 'next/image'; interface AmbassadorsLink { title: string; @@ -30,7 +31,9 @@ const AmbassadorList = ({ ambassadorList }: AmbassadorsListProps) => { > - {link.title} { ) : (
useStore.setState({ overlayNavigation: null })} - /> + > + Close menu +
)}
diff --git a/cypress/components/Layout.cy.tsx b/cypress/components/Layout.cy.tsx index c1314d820..fc1a0eac0 100644 --- a/cypress/components/Layout.cy.tsx +++ b/cypress/components/Layout.cy.tsx @@ -255,7 +255,7 @@ describe('Layout Component', () => { cy.get('header').find('.block.lg\\:hidden').click(); // Click close button - cy.get('header').find('.h-6.w-6.lg\\:hidden').click(); + cy.get('header').find('.relative.h-8.w-8.lg\\:hidden').click(); // Check if mobile nav is hidden - it should not exist in DOM when hidden cy.get('.flex.flex-col.lg\\:hidden').should('not.exist'); diff --git a/pages/404.page.tsx b/pages/404.page.tsx index ce3753c68..cf33deadc 100644 --- a/pages/404.page.tsx +++ b/pages/404.page.tsx @@ -1,6 +1,7 @@ import React, { useEffect, useState } from 'react'; import Link from 'next/link'; import { useTheme } from 'next-themes'; +import Image from 'next/image'; const Logo = () => { const { resolvedTheme } = useTheme(); @@ -16,7 +17,10 @@ const Logo = () => { return ( - Logo diff --git a/pages/blog/index.page.tsx b/pages/blog/index.page.tsx index b46ce6a13..a693b214b 100644 --- a/pages/blog/index.page.tsx +++ b/pages/blog/index.page.tsx @@ -218,12 +218,16 @@ export default function StaticMarkdownPage({ {recentBlog[0].frontmatter.title}
-
+
+ {recentBlog[0].frontmatter.authors[0].name} +
+

{recentBlog[0].frontmatter.authors[0].name} @@ -357,17 +361,22 @@ export default function StaticMarkdownPage({ {(frontmatter.authors || []).map( (author: Author, index: number) => (

2 ? 'h-8 w-8' : 'h-11 w-11' }`} - style={{ - backgroundImage: `url(${author.photo})`, - zIndex: 10 - index, - }} - /> + key={index} + style={{ zIndex: 10 - index }} + > + {author.name} +
), )}
diff --git a/pages/blog/posts/[slug].page.tsx b/pages/blog/posts/[slug].page.tsx index 4f4ce4d9a..968053f6d 100644 --- a/pages/blog/posts/[slug].page.tsx +++ b/pages/blog/posts/[slug].page.tsx @@ -78,10 +78,15 @@ export default function StaticMarkdownPage({ key={index} className='flex flex-row items-center mb-3 w-full' > -
+
+ {author.name} +
{author.name} @@ -111,10 +116,17 @@ export default function StaticMarkdownPage({
-
+
+ {frontmatter.title} +
+
diff --git a/pages/community/index.page.tsx b/pages/community/index.page.tsx index dccf67ba0..140e69041 100644 --- a/pages/community/index.page.tsx +++ b/pages/community/index.page.tsx @@ -335,12 +335,17 @@ export default function communityPages(props: any) { return (
+ className='relative h-[44px] w-[44px] rounded-full overflow-hidden -ml-3 border-2 border-white bg-slate-200' + style={{ zIndex: 10 - index }} + > + {author.name} +
); }, )} diff --git a/pages/index.page.tsx b/pages/index.page.tsx index 663c25a6d..a314a74a1 100644 --- a/pages/index.page.tsx +++ b/pages/index.page.tsx @@ -453,12 +453,17 @@ const Home = (props: any) => { return (
+ className='relative h-[44px] w-[44px] rounded-full -ml-3 overflow-hidden border-2 border-white bg-slate-200' + style={{ zIndex: 10 - index }} + > + {author.name} +
); }, )} @@ -829,7 +834,10 @@ const Home = (props: any) => { )} - octue @@ -839,11 +847,12 @@ const Home = (props: any) => { target='_blank' rel='noreferrer' > - The Realtime Unified API
-for Accounting integrations - The local Database for JavaScript Applications - best website design agencies - Instagram Story Viewer - supadata logo - dottxt logo - dottxt logo - n-iX logo diff --git a/pages/overview/pro-help/index.page.tsx b/pages/overview/pro-help/index.page.tsx index 5978c6a56..1ab4afa7a 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
- {/* Reach Out Button */}
{contractor.email && ( @@ -214,7 +216,9 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { {/* Image and Name */}
- {`${contractor.name}'s
- {/* End of Header */}