From 423756939067ad914ff6040ad90748ca9660bbcc Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Sat, 11 Sep 2021 09:17:03 +0200 Subject: [PATCH] Added cloudinary --- docs/components/Page/CTA.tsx | 6 +++++- docs/components/Page/Hero.tsx | 13 +++++++------ docs/pages/index.tsx | 4 ++-- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/docs/components/Page/CTA.tsx b/docs/components/Page/CTA.tsx index c2e09407..3678d6b6 100644 --- a/docs/components/Page/CTA.tsx +++ b/docs/components/Page/CTA.tsx @@ -38,7 +38,11 @@ export const CTA: React.FunctionComponent = (props: React.PropsWithCh
- {`Front + {`Front
diff --git a/docs/components/Page/Hero.tsx b/docs/components/Page/Hero.tsx index 16b52f59..f8a84f1e 100644 --- a/docs/components/Page/Hero.tsx +++ b/docs/components/Page/Hero.tsx @@ -1,6 +1,5 @@ import Link from 'next/link'; import * as React from 'react'; -import { useTranslation } from 'react-i18next'; export interface IHeroProps { view: "left" | "right"; @@ -16,8 +15,8 @@ export interface IHeroProps { export const Hero: React.FunctionComponent = ({view, title, description, imgSrc, imgAlt, link, linkText, className}: React.PropsWithChildren) => { return ( -
-
+
+

@@ -43,10 +42,12 @@ export const Hero: React.FunctionComponent = ({view, title, descript }

+
-
-
- +
+
+ {imgAlt}
diff --git a/docs/pages/index.tsx b/docs/pages/index.tsx index f85b04cf..86b4e707 100644 --- a/docs/pages/index.tsx +++ b/docs/pages/index.tsx @@ -32,7 +32,7 @@ const Home: NextPage = () => {

)} - imgSrc={"/assets/dashboard.png"} + imgSrc={"https://res.cloudinary.com/estruyf/image/upload/h_710,w_1256/dpr_3.0/v1631342303/dashboard_bdu3xl.png"} imgAlt={"Front Matter CMS editor dashboard of your static site content"} link={`/docs/getting-started`} linkText={strings(`hero_button_primary`)} /> @@ -42,7 +42,7 @@ const Home: NextPage = () => { view={"right"} title={strings(`hero_media_title`)} description={strings(`hero_media_description`)} - imgSrc={"/assets/media.png"} + imgSrc={"https://res.cloudinary.com/estruyf/image/upload/h_710,w_1256/dpr_3.0/v1631342349/media_p1nhry.png"} imgAlt={"Front Matter CMS - media management was never easier in VS Code"} link={`/docs/dashboard`} linkText={strings(`hero_media_button_primary`)}