File tree Expand file tree Collapse file tree 3 files changed +54
-121
lines changed Expand file tree Collapse file tree 3 files changed +54
-121
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import React , { useEffect } from "react" ;
2+ import { Section , Container , Center , H2 } from "../components/common" ;
3+ import styled from "styled-components" ;
4+
5+ const Heading = styled . h2 `
6+ margin-top: 20px;
7+ margin-bottom: 40px;
8+ ` ;
9+
10+ const Spacing = styled . div `
11+ padding: 40px;
12+ ` ;
13+
14+ export const Talks = ( ) => {
15+ useEffect ( ( ) => {
16+ const script = document . createElement ( "script" ) ;
17+ script . src = "//cdn.changelog.com/embed.js" ;
18+ script . async = true ;
19+ document . body . appendChild ( script ) ;
20+ } , [ ] ) ;
21+ return (
22+ < Section id = "quick-start" >
23+ < Container >
24+ < Center >
25+ < Heading > Talks</ Heading >
26+ < ul >
27+ < li >
28+ < div >
29+ < p >
30+ < a href = "https://changelog.com/jsparty/96" >
31+ JS Party 96: Performant Node desktop apps with NodeGui
32+ </ a > { " " }
33+ – Listen on Changelog.com
34+ </ p >
35+ < audio
36+ data-theme = "night"
37+ data-src = "https://changelog.com/jsparty/96/embed"
38+ src = "https://cdn.changelog.com/uploads/jsparty/96/js-party-96.mp3"
39+ preload = "none"
40+ class = "changelog-episode"
41+ controls
42+ > </ audio >
43+ </ div >
44+ </ li >
45+ </ ul >
46+ < Spacing />
47+ </ Center >
48+ </ Container >
49+ </ Section >
50+ ) ;
51+ } ;
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import { Hero } from "../components/Hero";
66import { Features } from "../components/Features" ;
77import { CreateNativeApps } from "../components/CreateNativeApps" ;
88import { CodeExample } from "../components/CodeExample" ;
9+ import { Talks } from "../components/Talks" ;
10+
911import "./styles.module.css" ;
1012
1113function Home ( ) {
@@ -22,6 +24,7 @@ function Home() {
2224 < CreateNativeApps />
2325 < CodeExample />
2426 < Try />
27+ < Talks />
2528 </ main >
2629 </ Layout >
2730 ) ;
You can’t perform that action at this time.
0 commit comments