From 28483e669bec0ebfdf58b3c28a299dd3729204a5 Mon Sep 17 00:00:00 2001 From: Atul R Date: Fri, 4 Oct 2019 19:41:17 +0200 Subject: [PATCH] adds talk link --- website/src/components/Talks.js | 51 +++++++++++++++++++++++++++++++++ website/src/pages/index.js | 3 ++ 2 files changed, 54 insertions(+) create mode 100644 website/src/components/Talks.js diff --git a/website/src/components/Talks.js b/website/src/components/Talks.js new file mode 100644 index 000000000..906d26727 --- /dev/null +++ b/website/src/components/Talks.js @@ -0,0 +1,51 @@ +import React, { useEffect } from "react"; +import { Section, Container, Center, H2 } from "../components/common"; +import styled from "styled-components"; + +const Heading = styled.h2` + margin-top: 20px; + margin-bottom: 40px; +`; + +const Spacing = styled.div` + padding: 40px; +`; + +export const Talks = () => { + useEffect(() => { + const script = document.createElement("script"); + script.src = "//cdn.changelog.com/embed.js"; + script.async = true; + document.body.appendChild(script); + }, []); + return ( +
+ +
+ Talks + + +
+
+
+ ); +}; diff --git a/website/src/pages/index.js b/website/src/pages/index.js index b65c0ba45..38d049db0 100644 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -6,6 +6,8 @@ import { Hero } from "../components/Hero"; import { Features } from "../components/Features"; import { CreateNativeApps } from "../components/CreateNativeApps"; import { CodeExample } from "../components/CodeExample"; +import { Talks } from "../components/Talks"; + import "./styles.module.css"; function Home() { @@ -22,6 +24,7 @@ function Home() { + );