diff --git a/admin/src/api/post/content-types/post/lifecycles.js b/admin/src/api/post/content-types/post/lifecycles.js index 35fcae9d..92e38003 100644 --- a/admin/src/api/post/content-types/post/lifecycles.js +++ b/admin/src/api/post/content-types/post/lifecycles.js @@ -202,7 +202,7 @@ async function generateTOC(result, event) { childNode = true; } else { toc = childNode ? toc + "" : toc; - toc += `
  • ${header.textContent}
  • `; + toc += `
  • ${header.textContent}
  • `; childNode = false; } diff --git a/assets/css/global.css b/assets/css/global.css index 90fc3b62..03aee107 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -3,11 +3,11 @@ @tailwind utilities; @font-face { - font-family: "Inter Medium"; + font-family: "Inter ExtraLight"; font-style: normal; - font-weight: 400; + font-weight: 200; font-display: swap; - src: url(./../fonts/Inter-Medium.woff2); + src: url(./../fonts/Inter-ExtraLight.woff2); } @font-face { @@ -19,27 +19,27 @@ } @font-face { - font-family: "Inter Bold"; + font-family: "Inter Medium"; font-style: normal; - font-weight: 400; + font-weight: 500; font-display: swap; - src: url(./../fonts/Inter-Bold.woff2); + src: url(./../fonts/Inter-Medium.woff2); } @font-face { font-family: "Inter SemiBold"; font-style: normal; - font-weight: 400; + font-weight: 600; font-display: swap; src: url(./../fonts/Inter-SemiBold.woff2); } @font-face { - font-family: "Inter ExtraLight"; + font-family: "Inter Bold"; font-style: normal; - font-weight: 400; + font-weight: 700; font-display: swap; - src: url(./../fonts/Inter-ExtraLight.woff2); + src: url(./../fonts/Inter-Bold.woff2); } @font-face { @@ -51,43 +51,59 @@ } @font-face { - font-family: "Product Sans Regular"; + font-family: "Poppins Light"; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(./../fonts/Poppins-Light.woff2); +} + +@font-face { + font-family: "Poppins Regular"; font-style: normal; font-weight: 400; font-display: swap; - src: url(./../fonts/ProductSans-Regular.woff2); + src: url(./../fonts/Poppins-Regular.woff2); } @font-face { - font-family: "Product Sans Black"; + font-family: "Poppins Medium"; font-style: normal; - font-weight: 600; + font-weight: 500; font-display: swap; - src: url(./../fonts/ProductSans-Black.woff2); + src: url(./../fonts/Poppins-Medium.woff2); } @font-face { - font-family: "Poppins Light"; + font-family: "WorkSans Light"; font-style: normal; - font-weight: 600; + font-weight: 300; font-display: swap; - src: url(./../fonts/Poppins-Light.woff2); + src: url(./../fonts/WorkSans-Light.woff2); } @font-face { - font-family: "Poppins Regular"; + font-family: "WorkSans Regular"; font-style: normal; font-weight: 400; font-display: swap; - src: url(./../fonts/Poppins-Regular.woff2); + src: url(./../fonts/WorkSans-Regular.woff2); } @font-face { - font-family: "Poppins Medium"; + font-family: "WorkSans Medium"; font-style: normal; font-weight: 500; font-display: swap; - src: url(./../fonts/Poppins-Medium.woff2); + src: url(./../fonts/WorkSans-Medium.woff2); +} + +@font-face { + font-family: "WorkSans SemiBold"; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(./../fonts/WorkSans-SemiBold.woff2); } input:-webkit-autofill, @@ -118,7 +134,7 @@ input:-webkit-autofill:active { } body { - @apply font-product-regular break-words text-[#000000d6]; + @apply font-inter-regular break-words text-black-core/[0.87]; } .content > p { @@ -126,7 +142,7 @@ body { } .prose > * { - @apply text-[1.125rem] md:text-[1.27rem] md:leading-[2rem] tracking-[0.04em]; + @apply text-lg md:text-[1.1875rem] md:leading-8; } .comment input[type="text"], @@ -152,7 +168,7 @@ body { } .gradient-border-btn { - @apply border-[1px] border-solid border-transparent rounded-[0.6rem] bg-gradient-to-r from-[#f2709c] via-[#ff909c] to-[#ff9472] shadow-[inset_2px_1000px_1px_#fff] p-[1rem] text-center hover:border-[1px] hover:border-solid hover:border-transparent hover:from-[#f2709c] hover:to-[#ff9472] hover:shadow-none active:scale-[0.98]; + @apply border border-solid border-transparent rounded-[0.6rem] bg-gradient-to-r from-[#f2709c] via-[#ff909c] to-[#ff9472] shadow-[inset_2px_1000px_1px_#fff] p-[1rem] text-center hover:border hover:border-solid hover:border-transparent hover:from-[#f2709c] hover:to-[#ff9472] hover:shadow-none active:scale-[0.98]; } .gradient-border-btn > a > .fab { @@ -160,7 +176,7 @@ body { } .gradient-border-btn > span { - @apply my-0 mx-[6px] text-[#3d3d3d]; + @apply my-0 mx-1.5 text-[#3d3d3d]; } .gradient-border-btn:hover > span, @@ -189,7 +205,7 @@ ul { } strong { - @apply font-product-black tracking-wide; + @apply font-worksans-medium tracking-[0.01em] !text-black-core/[0.87] !font-medium text-[1.0625rem] md:text-[1.15625rem]; } h1 strong { @@ -197,7 +213,7 @@ h1 strong { } h2 strong { - @apply text-[1.5rem] lg:text-[1.7rem]; + @apply text-2xl lg:text-[1.7rem] font-worksans-semibold; } /* HighlightJS */ @@ -282,17 +298,29 @@ code::after { @apply content-none !important; } +.prose h2 { + @apply font-worksans-semibold text-[#000] xl:text-[2.0625rem] !mb-4 !tracking-tight; +} + +.prose i, +.prose a span { + @apply font-worksans-regular text-lg; +} + .prose :where(code, code strong):not(:where([class~="not-prose"], blockquote code)) { - @apply bg-gray-200 py-0.5 px-1 rounded-[4px] font-[550] tracking-wide font-source-codepro; + @apply bg-gray-200 py-0.5 px-1 rounded font-[550] tracking-wide font-source-codepro; } .prose :where(pre code):not(:where([class~="not-prose"] *)) { @apply bg-transparent text-[#dbe0e0] leading-normal tracking-[-0.022em] !break-normal; } -.prose :where(blockquote, blockquote i):not(:where([class~="not-prose"] *)) { - @apply not-italic text-[1.4rem] lg:text-[1.755rem] leading-[2.3rem] text-[#757575] font-normal font-inter-light; +.prose + :where(blockquote, blockquote i, blockquote i strong):not( + :where([class~="not-prose"] *) + ) { + @apply not-italic !text-[1.4rem] lg:!text-[1.755rem] !leading-[2.3rem] !text-[#919191] !font-normal tracking-wide font-inter-extralight; } .prose @@ -308,7 +336,7 @@ code::after { .category-swiper .swiper-button-next:after, .category-swiper .swiper-button-prev:after { - @apply px-7 pb-[1rem] pt-1 text-black-900 !text-[12px]; + @apply px-7 pb-4 pt-1 text-black-900 !text-xs; } .category-swiper .swiper-button-prev:after { diff --git a/assets/fonts/ProductSans-Black.woff2 b/assets/fonts/ProductSans-Black.woff2 deleted file mode 100755 index a032904f..00000000 Binary files a/assets/fonts/ProductSans-Black.woff2 and /dev/null differ diff --git a/assets/fonts/ProductSans-Regular.woff2 b/assets/fonts/ProductSans-Regular.woff2 deleted file mode 100755 index d4bcbf2b..00000000 Binary files a/assets/fonts/ProductSans-Regular.woff2 and /dev/null differ diff --git a/assets/fonts/WorkSans-Light.woff2 b/assets/fonts/WorkSans-Light.woff2 new file mode 100644 index 00000000..618a29ef Binary files /dev/null and b/assets/fonts/WorkSans-Light.woff2 differ diff --git a/assets/fonts/WorkSans-Medium.woff2 b/assets/fonts/WorkSans-Medium.woff2 new file mode 100644 index 00000000..c0a2e693 Binary files /dev/null and b/assets/fonts/WorkSans-Medium.woff2 differ diff --git a/assets/fonts/WorkSans-Regular.woff2 b/assets/fonts/WorkSans-Regular.woff2 new file mode 100644 index 00000000..63a5b4bf Binary files /dev/null and b/assets/fonts/WorkSans-Regular.woff2 differ diff --git a/assets/fonts/WorkSans-SemiBold.woff2 b/assets/fonts/WorkSans-SemiBold.woff2 new file mode 100644 index 00000000..20cf6d20 Binary files /dev/null and b/assets/fonts/WorkSans-SemiBold.woff2 differ diff --git a/components/authorDetails.js b/components/authorDetails.js index 9a791156..d2db5148 100644 --- a/components/authorDetails.js +++ b/components/authorDetails.js @@ -16,23 +16,15 @@ export default function AuthorDetails({ postData }) { />
    -
    +
    {postData.authorName}
    - {postData.authorBio ? ( - <> -
    - {postData.authorBio} -
    -
    - {postData.authorRole} -
    - - ) : ( -
    - {postData.authorRole} -
    - )} +
    + {postData.authorBio} +
    +
    + {postData.authorRole} +

    @@ -54,17 +46,17 @@ export default function AuthorDetails({ postData }) { postData.authorBio ? "space-y-4" : "space-y-1" } md:-ml-16 xl:-ml-10 2xl:-ml-16`} > -
    +
    {postData.authorName}
    {postData.authorBio ? ( -
    +
    {postData.authorBio}
    ) : ( "" )} -
    +
    {postData.authorRole}
    diff --git a/components/comments/commentForm.js b/components/comments/commentForm.js index 1efd637c..b8d96b17 100644 --- a/components/comments/commentForm.js +++ b/components/comments/commentForm.js @@ -55,8 +55,8 @@ export default function CommentForm({ post, onNewComment, recaptchaRef }) { }, [formRef]); return ( -
    -
    +
    +
    - diff --git a/components/comments/index.js b/components/comments/index.js index 6f7e34e1..baedc21a 100644 --- a/components/comments/index.js +++ b/components/comments/index.js @@ -56,7 +56,7 @@ export default function Comment({ post }) { >
    -
    +
    -
    +
    cta-bg-image
    -
    -

    +

    +

    Want to build a new version of your existing app or add new features?

    -

    +

    Not sure where to start? We also offer code and architecture reviews, strategic planning, and more.

    -
    +
    Talk to our experts
    -
    +
    - + {slide.title} diff --git a/components/cta/CTA2.js b/components/cta/CTA2.js index 9afd249d..7b166a3d 100644 --- a/components/cta/CTA2.js +++ b/components/cta/CTA2.js @@ -115,7 +115,7 @@ export default function CTA() { /> )} -
    +
    Say Hello!
    @@ -137,7 +137,7 @@ export default function CTA() { /> @@ -167,7 +167,7 @@ export default function CTA() { /> @@ -205,7 +205,7 @@ export default function CTA() { /> @@ -239,7 +239,7 @@ export default function CTA() { > @@ -257,13 +257,13 @@ export default function CTA() { {showLoader ? ( loader-image ) : (
    {showErrorMessage ? ( -
    +
    Get Free Consultation diff --git a/components/cta/CTA3.js b/components/cta/CTA3.js index 7b021dc3..1bb53590 100644 --- a/components/cta/CTA3.js +++ b/components/cta/CTA3.js @@ -102,15 +102,15 @@ export default function CTA() {
    -
    -
    +
    +
    Talk to an expert
    -
    +
    get in touch
    -
    +
    Our team is happy to answer your questions. Fill out the form and we’ll get back to you as soon as possible
    @@ -118,7 +118,7 @@ export default function CTA() {
    -
    +
    ) : (
    {showErrorMessage ? ( -
    +
    @@ -276,9 +276,9 @@ export default function CTA() { )} diff --git a/components/cta/CTA4.js b/components/cta/CTA4.js index b171fdac..1f584ed7 100644 --- a/components/cta/CTA4.js +++ b/components/cta/CTA4.js @@ -13,23 +13,23 @@ export default function CTA() { return (
    -
    +
    -
    +
    fourth-cta-image
    -
    -
    +
    +

    Whether you need...

    -
      +
        {reasons.map((reason, index) => { return (
      • @@ -39,12 +39,12 @@ export default function CTA() { ); })}
      -
      +
      Bring us your toughest challenge and we'll show you the path to a sleek solution.
      -
      +
      Talk to our experts diff --git a/components/cta/CTA5.js b/components/cta/CTA5.js index 9af69cca..5e62e8af 100644 --- a/components/cta/CTA5.js +++ b/components/cta/CTA5.js @@ -8,7 +8,7 @@ export default function CTA() { return (
      -
      +
      @@ -28,13 +28,13 @@ export default function CTA() { ogether

      -

      +

      Not sure where to start? We also offer code and architecture reviews, strategic planning, and more.

      -
      - +
      + Get Free Consultation
      @@ -44,10 +44,10 @@ export default function CTA() { cta-image -
      +
      diff --git a/components/partials/footer.js b/components/partials/footer.js index e6573b3c..88a04541 100644 --- a/components/partials/footer.js +++ b/components/partials/footer.js @@ -67,7 +67,7 @@ export default function Footer({ mixpanel }) { Subscribe Here!
      @@ -85,13 +85,13 @@ export default function Footer({ mixpanel }) { />
      -