diff --git a/src/components/content/BlogArticlesList/index.tsx b/src/components/content/BlogArticlesList/index.tsx index 3fea61b73e..7e973df1c1 100644 --- a/src/components/content/BlogArticlesList/index.tsx +++ b/src/components/content/BlogArticlesList/index.tsx @@ -34,12 +34,13 @@ const BlogArticlesList: React.FC = ({ } const containerClasses = - containerLayout === 'vertical' ? 'flex flex-col gap-4' : 'flex flex-wrap justify-center gap-4'; + containerLayout === 'vertical' ? 'flex flex-col gap-4' : 'mx-auto grid max-w-6xl grid-cols-1 gap-8 md:grid-cols-2'; return (
-
+
+
{data.slice(0, actualDisplayCount).map((card, index) => ( = ({ index={index} /> ))} +
{showFooter && footerText && (

diff --git a/src/components/content/TestimonialSection/index.tsx b/src/components/content/TestimonialSection/index.tsx index 0fe59ce2d8..d0291b6b0d 100644 --- a/src/components/content/TestimonialSection/index.tsx +++ b/src/components/content/TestimonialSection/index.tsx @@ -33,7 +33,7 @@ function TestimonialSection() {

+ className="mx-auto flex h-full w-full justify-start gap-4 overflow-x-scroll scroll-smooth px-4 py-4 scrollbar xl:justify-center"> {testimonials.map((testimonial, index) => { return ; })} diff --git a/src/components/layout/CommunityMeetingsCardGrid/index.tsx b/src/components/layout/CommunityMeetingsCardGrid/index.tsx index 31615cf0c2..d25f42edd4 100644 --- a/src/components/layout/CommunityMeetingsCardGrid/index.tsx +++ b/src/components/layout/CommunityMeetingsCardGrid/index.tsx @@ -94,7 +94,7 @@ function CommunityMeetingsCardGrid({ cards }) { let mdReader = mdFile?.default(useRef()); mdReader?.props?.children?.forEach(child => { let field1: string = child?.props?.children?.[0]; - let field2: object = child?.props?.children?.[1]; + let field2: any = child?.props?.children?.[1]; if (typeof field1 == 'string' && (field1.includes('BlueJeans') || field1.includes('Video'))) { if (mdFile?.contentTitle?.includes('Cabal')) { cabalDropdownOptions.unshift({ diff --git a/src/components/ui/ArticleCard/index.tsx b/src/components/ui/ArticleCard/index.tsx index d1ff58c057..4b8c840a37 100644 --- a/src/components/ui/ArticleCard/index.tsx +++ b/src/components/ui/ArticleCard/index.tsx @@ -77,20 +77,23 @@ function ArticleCard(props: ArticleCardProps) { // Normal Layout else return ( -
-
-

- - {sanitizeHtml(props.title)} - -

+
+ +
{parse(abbrSubtitle)} - - -

+

By: {props.display_name}

diff --git a/src/components/ui/Testimonial/index.tsx b/src/components/ui/Testimonial/index.tsx index c85ba2bb8a..08d0d5b269 100644 --- a/src/components/ui/Testimonial/index.tsx +++ b/src/components/ui/Testimonial/index.tsx @@ -14,7 +14,7 @@ type TestimonialProps = { function Testimonial(props: TestimonialProps) { return ( -
+
diff --git a/src/components/ui/ThumbCard/index.tsx b/src/components/ui/ThumbCard/index.tsx index cc0937e02e..b6da8e75c6 100644 --- a/src/components/ui/ThumbCard/index.tsx +++ b/src/components/ui/ThumbCard/index.tsx @@ -6,7 +6,7 @@ type ThumbCardProps = Card & { function ThumbCard({ title, subtitle, image }: ThumbCardProps): JSX.Element { return ( -
+

{title}

{subtitle}

{image.alt} diff --git a/src/components/utilities/PlayOnScroll/index.tsx b/src/components/utilities/PlayOnScroll/index.tsx index 37bb178356..8b327c4bf6 100644 --- a/src/components/utilities/PlayOnScroll/index.tsx +++ b/src/components/utilities/PlayOnScroll/index.tsx @@ -7,7 +7,7 @@ interface VideoProps { posterImg?: string; } -const PlayOnScroll: React.FC = (props: VideoProps) => { +const PlayOnScroll: React.FC = (props) => { const videoRef = useRef(null); useEffect(() => { diff --git a/src/pages/get-started.tsx b/src/pages/get-started.tsx index d920e7a5a2..a8927c9fcc 100644 --- a/src/pages/get-started.tsx +++ b/src/pages/get-started.tsx @@ -99,7 +99,7 @@ const RunListContainersSection = () => { $ podman ps{'\n'} CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES{'\n'} - 01c44968199f docker.io/library/httpd:latest httpd-foreground 1 minute ago Up 1 minute 0.0.0.0:8080->80/tcp laughing_bob{'\n'} + 01c44968199f docker.io/library/httpd:latest httpd-foreground 1 minute ago Up 1 minute 0.0.0.0:8080->80/tcp laughing_bob{'\n'}
Note:
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 1df142b116..144d163538 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -15,21 +15,21 @@ import { header, featureList, kubernetesBanner, compatibleTools } from '@site/st /* PAGE COMPONENTS */ const FeatureItem = ({ title, description }) => { return ( -
  • -

    {title}

    - -
  • +
    +

    {title}

    + +
    ); }; const FeatureSection = () => { return ( -
    -
      +
      +
      {featureList.map(feature => { return ; })} -
    +
    ); };