From 4d8231e8bae4c4e878021dd2c36c5e3e3490e996 Mon Sep 17 00:00:00 2001 From: Martin Serna Date: Thu, 12 Oct 2023 12:39:31 -0400 Subject: [PATCH] validate index page html --- gatsby-ssr.tsx | 3 +- src/components/about-page/AboutHero.tsx | 4 +-- src/components/about-page/BetterWay.tsx | 5 ++- src/components/about-page/Leaders.tsx | 4 +-- src/components/about-page/OurBeliefs.tsx | 4 +-- src/components/about-page/VisionToReality.tsx | 5 ++- .../about-page/WhySoftwareExists.tsx | 4 +-- src/components/blog-page/BlogCardList.tsx | 4 +-- src/components/blog-page/BlogHero.tsx | 4 +-- src/components/book-call/BookCallModal.tsx | 1 - src/components/contact-page/ContactForm.tsx | 4 +-- src/components/contact-page/ContactUsChat.tsx | 5 ++- src/components/contact-page/ContactUsHero.tsx | 4 +-- src/components/contact-page/GetInTouch.tsx | 12 +++---- .../contact-page/MediaInquiries.tsx | 4 +-- src/components/icons/BinaryIcon.tsx | 2 +- src/components/icons/CommunityIcon.tsx | 2 +- src/components/icons/RiskAssessmentIcon.tsx | 36 +++++++++---------- src/components/index-page/ContactForm.tsx | 5 ++- src/components/index-page/Exasperation.tsx | 5 ++- .../index-page/IndexBestProducts.tsx | 4 +-- .../index-page/IndexBuiltForYou.tsx | 5 ++- src/components/index-page/IndexHero.tsx | 4 +-- src/components/index-page/IndexLaunched.tsx | 4 +-- src/components/index-page/IndexLogos.tsx | 4 +-- .../index-page/IndexPartnership.tsx | 5 ++- src/components/index-page/IndexShipFaster.tsx | 4 +-- .../index-page/IndexStopStressing.tsx | 4 +-- src/components/index-page/MoreMomentum.tsx | 5 ++- src/components/layout/Footer.tsx | 4 +-- src/components/services-page/AreWeAFit.tsx | 4 +-- .../services-page/EnoughOnYourPlate.tsx | 4 +-- .../services-page/ProductListing.tsx | 5 ++- src/components/services-page/ServicesHero.tsx | 4 +-- .../services-page/ServicesStopStressing.tsx | 5 ++- .../services-page/TrustedByTheBest.tsx | 5 ++- .../companyContactInformation.ts | 3 +- 37 files changed, 90 insertions(+), 100 deletions(-) diff --git a/gatsby-ssr.tsx b/gatsby-ssr.tsx index f7ed639..efea655 100644 --- a/gatsby-ssr.tsx +++ b/gatsby-ssr.tsx @@ -29,7 +29,7 @@ const fonts = [ "/fonts/Inter/Inter-Regular.ttf", // "/fonts/Inter/Inter-Thin.ttf", ] -export const onRenderBody = ({ setHeadComponents }) => { +export const onRenderBody = ({ setHeadComponents, setHtmlAttributes }) => { const links = fonts.map((font) => { return { ] setHeadComponents([...links, ...userCentricLinks]) + setHtmlAttributes({ lang: "en" }) } diff --git a/src/components/about-page/AboutHero.tsx b/src/components/about-page/AboutHero.tsx index 8bfd01f..3e2ba3b 100644 --- a/src/components/about-page/AboutHero.tsx +++ b/src/components/about-page/AboutHero.tsx @@ -3,10 +3,10 @@ import React from "react"; import "./css/about-hero.css"; export const AboutHero = () => ( -
+

Too many software projects fail.

Your vision deserves to see the light of day

-
+ ); diff --git a/src/components/about-page/BetterWay.tsx b/src/components/about-page/BetterWay.tsx index 9852291..06fce38 100644 --- a/src/components/about-page/BetterWay.tsx +++ b/src/components/about-page/BetterWay.tsx @@ -11,12 +11,11 @@ export const BetterWay = () => { const { modal, clickHandler } = useBookCallModal(); return ( -
+
@@ -85,6 +84,6 @@ export const BetterWay = () => {
{modal} -
+ ); }; diff --git a/src/components/about-page/Leaders.tsx b/src/components/about-page/Leaders.tsx index a5e08ca..fdf2d60 100644 --- a/src/components/about-page/Leaders.tsx +++ b/src/components/about-page/Leaders.tsx @@ -10,7 +10,7 @@ export const Leaders = () => { const { modal, clickHandler } = useBookCallModal(); return ( -
+
{modal}
@@ -123,6 +123,6 @@ export const Leaders = () => { Book my launch call
-
+ ); } diff --git a/src/components/about-page/OurBeliefs.tsx b/src/components/about-page/OurBeliefs.tsx index a1ecf4b..8d8ac44 100644 --- a/src/components/about-page/OurBeliefs.tsx +++ b/src/components/about-page/OurBeliefs.tsx @@ -5,7 +5,7 @@ import { StaticImage } from "gatsby-plugin-image"; import "./css/our-beliefs.css"; export const OurBeliefs = () => ( -
+
(
-
+ ); diff --git a/src/components/about-page/VisionToReality.tsx b/src/components/about-page/VisionToReality.tsx index 4e0300b..8070b30 100644 --- a/src/components/about-page/VisionToReality.tsx +++ b/src/components/about-page/VisionToReality.tsx @@ -39,12 +39,11 @@ export const VisionToReality = () => { }; return ( -
+
@@ -53,6 +52,6 @@ export const VisionToReality = () => {
{modal} -
+ ); }; diff --git a/src/components/about-page/WhySoftwareExists.tsx b/src/components/about-page/WhySoftwareExists.tsx index e352b26..687d7e6 100644 --- a/src/components/about-page/WhySoftwareExists.tsx +++ b/src/components/about-page/WhySoftwareExists.tsx @@ -9,7 +9,7 @@ export const WhySoftwareExists = () => { const { modal, clickHandler } = useBookCallModal(); return ( -
+
{
{modal} -
+ ); }; diff --git a/src/components/blog-page/BlogCardList.tsx b/src/components/blog-page/BlogCardList.tsx index be7c261..8b72463 100644 --- a/src/components/blog-page/BlogCardList.tsx +++ b/src/components/blog-page/BlogCardList.tsx @@ -29,8 +29,8 @@ export const BlogCardList: FC = ({ articles }) => { }); return ( -
+
    {listItems}
-
+ ); }; diff --git a/src/components/blog-page/BlogHero.tsx b/src/components/blog-page/BlogHero.tsx index cd16a8a..ee0b116 100644 --- a/src/components/blog-page/BlogHero.tsx +++ b/src/components/blog-page/BlogHero.tsx @@ -4,7 +4,7 @@ import "./css/blog-hero.css"; export const BlogHero = () => { return ( -
+
@@ -18,6 +18,6 @@ export const BlogHero = () => {

-
+ ); }; diff --git a/src/components/book-call/BookCallModal.tsx b/src/components/book-call/BookCallModal.tsx index ffa1dea..42294a2 100644 --- a/src/components/book-call/BookCallModal.tsx +++ b/src/components/book-call/BookCallModal.tsx @@ -9,7 +9,6 @@ export const BookCallModal = ({ divRef }: { divRef: RefObject })
diff --git a/src/components/contact-page/ContactForm.tsx b/src/components/contact-page/ContactForm.tsx index 5fa971d..7e9cfda 100644 --- a/src/components/contact-page/ContactForm.tsx +++ b/src/components/contact-page/ContactForm.tsx @@ -155,7 +155,7 @@ export const ContactForm = () => { ); return ( -
+

@@ -174,6 +174,6 @@ export const ContactForm = () => { )}

-
+
); }; diff --git a/src/components/contact-page/ContactUsChat.tsx b/src/components/contact-page/ContactUsChat.tsx index 3303a47..c9ce15e 100644 --- a/src/components/contact-page/ContactUsChat.tsx +++ b/src/components/contact-page/ContactUsChat.tsx @@ -8,12 +8,11 @@ import { StaticImage } from "gatsby-plugin-image"; import "./css/contact-us-chat.css"; export const ContactUsChat = () => ( -
+
@@ -37,5 +36,5 @@ export const ContactUsChat = () => ( />
-
+ ); diff --git a/src/components/contact-page/ContactUsHero.tsx b/src/components/contact-page/ContactUsHero.tsx index 3e8091b..90e3ae6 100644 --- a/src/components/contact-page/ContactUsHero.tsx +++ b/src/components/contact-page/ContactUsHero.tsx @@ -3,10 +3,10 @@ import React from "react"; import "./css/contact-us-hero.css"; export const ContactUsHero = () => ( -
+

Contact us

Let’s get started in making your vision a reality

-
+ ); diff --git a/src/components/contact-page/GetInTouch.tsx b/src/components/contact-page/GetInTouch.tsx index 5bca98d..042c77d 100644 --- a/src/components/contact-page/GetInTouch.tsx +++ b/src/components/contact-page/GetInTouch.tsx @@ -14,17 +14,17 @@ export const GetInTouch = () => { const { email, mailingAddress: { streetAddress, streetAddress2, city, state, zipCode }, - phone, + phoneHref, + phoneFormatted, sms, } = companyContactInformation; return ( -
+

Get in touch

@@ -47,11 +47,11 @@ export const GetInTouch = () => {
  • - {phone} + {phoneFormatted}
  • - {sms} + {sms}
  • @@ -64,6 +64,6 @@ export const GetInTouch = () => {
  • -
    + ); }; diff --git a/src/components/contact-page/MediaInquiries.tsx b/src/components/contact-page/MediaInquiries.tsx index 7cac13f..abb5e92 100644 --- a/src/components/contact-page/MediaInquiries.tsx +++ b/src/components/contact-page/MediaInquiries.tsx @@ -8,7 +8,7 @@ import { StaticImage } from "gatsby-plugin-image"; import "./css/media-inquiries.css"; export const MediaInquiries = () => ( -
    +
    (
    -
    + ); diff --git a/src/components/icons/BinaryIcon.tsx b/src/components/icons/BinaryIcon.tsx index 0005a46..a9c7c74 100644 --- a/src/components/icons/BinaryIcon.tsx +++ b/src/components/icons/BinaryIcon.tsx @@ -3,7 +3,7 @@ import React from "react"; export const BinaryIcon = ({ className = "", width }: { className?: string; width?: string }) => { return ( { return ( { return ( diff --git a/src/components/index-page/ContactForm.tsx b/src/components/index-page/ContactForm.tsx index 62eff36..d06117c 100644 --- a/src/components/index-page/ContactForm.tsx +++ b/src/components/index-page/ContactForm.tsx @@ -154,12 +154,11 @@ export const IndexFormSection = () => { ); return ( -
    +
    @@ -189,6 +188,6 @@ export const IndexFormSection = () => { />
    - +
    ); }; diff --git a/src/components/index-page/Exasperation.tsx b/src/components/index-page/Exasperation.tsx index a56e7ad..ea9804c 100644 --- a/src/components/index-page/Exasperation.tsx +++ b/src/components/index-page/Exasperation.tsx @@ -9,13 +9,12 @@ export const Exasperation = () => { const { modal, clickHandler } = useBookCallModal(); return ( -
    +
    {modal}
    @@ -47,6 +46,6 @@ export const Exasperation = () => {
    -
    + ); }; diff --git a/src/components/index-page/IndexBestProducts.tsx b/src/components/index-page/IndexBestProducts.tsx index 906d920..0007ce3 100644 --- a/src/components/index-page/IndexBestProducts.tsx +++ b/src/components/index-page/IndexBestProducts.tsx @@ -8,7 +8,7 @@ import { StaticImage } from "gatsby-plugin-image"; import "./css/index-best-products.css"; export const IndexBestProducts = () => ( -
    +

    @@ -40,5 +40,5 @@ export const IndexBestProducts = () => ( /> */}

    -
    + ); diff --git a/src/components/index-page/IndexBuiltForYou.tsx b/src/components/index-page/IndexBuiltForYou.tsx index 9244fbe..bb82770 100644 --- a/src/components/index-page/IndexBuiltForYou.tsx +++ b/src/components/index-page/IndexBuiltForYou.tsx @@ -5,12 +5,11 @@ import { StaticImage } from "gatsby-plugin-image"; import "./css/built-for-you.css"; export const IndexBuiltForYou = () => ( -
    +
    @@ -60,5 +59,5 @@ export const IndexBuiltForYou = () => (
    -
    + ); diff --git a/src/components/index-page/IndexHero.tsx b/src/components/index-page/IndexHero.tsx index ac65d45..1ad684b 100644 --- a/src/components/index-page/IndexHero.tsx +++ b/src/components/index-page/IndexHero.tsx @@ -8,7 +8,7 @@ import "./css/index-hero.css"; export const IndexHero = () => { const { modal, clickHandler } = useBookCallModal(); return ( -
    +

    Make your software a success

    @@ -31,6 +31,6 @@ export const IndexHero = () => {
    {modal} -
    + ); }; diff --git a/src/components/index-page/IndexLaunched.tsx b/src/components/index-page/IndexLaunched.tsx index 7e21f74..f4f8f35 100644 --- a/src/components/index-page/IndexLaunched.tsx +++ b/src/components/index-page/IndexLaunched.tsx @@ -12,7 +12,7 @@ export const IndexLaunched = () => { const { modal, clickHandler } = useBookCallModal(); return ( -
    +
    {modal}
    @@ -89,6 +89,6 @@ export const IndexLaunched = () => { Book My Launch Call
    -
    + ) } \ No newline at end of file diff --git a/src/components/index-page/IndexLogos.tsx b/src/components/index-page/IndexLogos.tsx index 29ce92f..6fe7229 100644 --- a/src/components/index-page/IndexLogos.tsx +++ b/src/components/index-page/IndexLogos.tsx @@ -4,7 +4,7 @@ import "./css/index-logos.css"; import { StaticImage } from "gatsby-plugin-image"; export const IndexLogos = () => ( -
    +
    • @@ -25,5 +25,5 @@ export const IndexLogos = () => (
    -
    + ); diff --git a/src/components/index-page/IndexPartnership.tsx b/src/components/index-page/IndexPartnership.tsx index e2ec77f..90985b5 100644 --- a/src/components/index-page/IndexPartnership.tsx +++ b/src/components/index-page/IndexPartnership.tsx @@ -11,13 +11,12 @@ export const IndexPartnership = () => { const { modal, clickHandler } = useBookCallModal(); return ( -
    +
    {modal}
    @@ -66,6 +65,6 @@ export const IndexPartnership = () => {
    -
    + ); }; diff --git a/src/components/index-page/IndexShipFaster.tsx b/src/components/index-page/IndexShipFaster.tsx index 518a875..fb976a3 100644 --- a/src/components/index-page/IndexShipFaster.tsx +++ b/src/components/index-page/IndexShipFaster.tsx @@ -12,7 +12,7 @@ export const IndexShipFaster = () => { const { modal, clickHandler } = useBookCallModal(); return ( -
    +
    {modal}
    @@ -159,6 +159,6 @@ export const IndexShipFaster = () => {
    -
    + ); }; diff --git a/src/components/index-page/IndexStopStressing.tsx b/src/components/index-page/IndexStopStressing.tsx index 9d4c632..c167642 100644 --- a/src/components/index-page/IndexStopStressing.tsx +++ b/src/components/index-page/IndexStopStressing.tsx @@ -8,7 +8,7 @@ import { StaticImage } from "gatsby-plugin-image"; import "./css/index-stop-stressing.css"; export const IndexStopStressing = () => ( -
    +
    (

    -
    + ); diff --git a/src/components/index-page/MoreMomentum.tsx b/src/components/index-page/MoreMomentum.tsx index a4400d3..f292231 100644 --- a/src/components/index-page/MoreMomentum.tsx +++ b/src/components/index-page/MoreMomentum.tsx @@ -40,13 +40,12 @@ export const MoreMomentum = () => { }; return ( -
    +
    {modal}
    @@ -54,6 +53,6 @@ export const MoreMomentum = () => { Book My Launch Call
    -
    + ); }; diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index ccc3d0b..2c352f6 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -81,11 +81,11 @@ const Footer = () => {

    Contact Us

      - {companyContactInformation.phone} + {companyContactInformation.phoneFormatted}

      - {companyContactInformation.sms} + {companyContactInformation.sms}

      diff --git a/src/components/services-page/AreWeAFit.tsx b/src/components/services-page/AreWeAFit.tsx index 8f3f300..14182de 100644 --- a/src/components/services-page/AreWeAFit.tsx +++ b/src/components/services-page/AreWeAFit.tsx @@ -11,7 +11,7 @@ export const AreWeAFit = () => { const { modal, clickHandler } = useBookCallModal(); return ( -

    +

    Are we a fit?

    @@ -112,6 +112,6 @@ export const AreWeAFit = () => {
    {modal} -
    + ); }; diff --git a/src/components/services-page/EnoughOnYourPlate.tsx b/src/components/services-page/EnoughOnYourPlate.tsx index 880c474..6ecb843 100644 --- a/src/components/services-page/EnoughOnYourPlate.tsx +++ b/src/components/services-page/EnoughOnYourPlate.tsx @@ -6,7 +6,7 @@ import { StaticImage } from "gatsby-plugin-image"; import "./css/enough-on-your-plate.css"; export const EnoughOnYourPlate = () => ( -
    +
    (
    -
    + ); diff --git a/src/components/services-page/ProductListing.tsx b/src/components/services-page/ProductListing.tsx index 953c756..c243a11 100644 --- a/src/components/services-page/ProductListing.tsx +++ b/src/components/services-page/ProductListing.tsx @@ -13,13 +13,12 @@ export const ProductListing = () => { const { clickHandler, modal } = useBookCallModal(); return ( -
    +
    {modal}
    @@ -181,6 +180,6 @@ export const ProductListing = () => {
    -
    + ); }; diff --git a/src/components/services-page/ServicesHero.tsx b/src/components/services-page/ServicesHero.tsx index 538e739..887703a 100644 --- a/src/components/services-page/ServicesHero.tsx +++ b/src/components/services-page/ServicesHero.tsx @@ -3,12 +3,12 @@ import React from "react"; import "./css/services-hero.css"; export const ServicesHero = () => ( -
    +

    Software development services designed to get your product{" "} live

    -
    + ); diff --git a/src/components/services-page/ServicesStopStressing.tsx b/src/components/services-page/ServicesStopStressing.tsx index e3c4346..096b649 100644 --- a/src/components/services-page/ServicesStopStressing.tsx +++ b/src/components/services-page/ServicesStopStressing.tsx @@ -41,12 +41,11 @@ export const ServicesStopStressing = () => { }; return ( -
    +
    @@ -59,6 +58,6 @@ export const ServicesStopStressing = () => {
    {modal} -
    + ); }; diff --git a/src/components/services-page/TrustedByTheBest.tsx b/src/components/services-page/TrustedByTheBest.tsx index 4cae1c8..df38e51 100644 --- a/src/components/services-page/TrustedByTheBest.tsx +++ b/src/components/services-page/TrustedByTheBest.tsx @@ -6,12 +6,11 @@ import "./css/trusted-by-the-best.css"; import { StaticImage } from "gatsby-plugin-image"; export const TrustedByTheBest = () => ( -
    +
    @@ -67,5 +66,5 @@ export const TrustedByTheBest = () => (
    -
    + ); diff --git a/src/configuration/companyContactInformation.ts b/src/configuration/companyContactInformation.ts index 208467b..4ff9228 100644 --- a/src/configuration/companyContactInformation.ts +++ b/src/configuration/companyContactInformation.ts @@ -1,5 +1,6 @@ export const companyContactInformation = { - phone: "+1 (833) 4SOF-DEV", + phoneFormatted: "+1 (833) 4SOF-DEV", + phoneHref: "+18334763338", sms: "+1 (833) 476-3338", email: "hello@launchware.com", mailingAddress: {