Skip to content

Commit 04a281f

Browse files
contact page (#48)
1 parent 2616618 commit 04a281f

File tree

6 files changed

+49
-2
lines changed

6 files changed

+49
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules/
44
.env
55
out/
66
yarn-error.log
7+
/.idea/

nav-items.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ const menuItems = {
2828
{
2929
href: '/videos',
3030
children: 'Videos'
31+
},
32+
{
33+
href: '/contact',
34+
children: "Contact Us"
3135
}
3236
],
3337
secondaryMenuItems: [

pages/_app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function getUrlParams(search) {
2323
gtag('config', 'UA-120967034-1');
2424
var redirect = getUrlParams(window.location.href).utm_medium
2525
if(redirect) window.location.replace(redirect)
26+
window.onload = function() { Calendly.initBadgeWidget({ url: 'https://calendly.com/scripted-alchemy/30-meeting-1-1', text: 'Schedule time with us', color: '#006bff', textColor: '#ffffff', branding: true }); }
2627
`
2728
function MyApp ({ Component, pageProps }) {
2829
return (
@@ -33,6 +34,8 @@ function MyApp ({ Component, pageProps }) {
3334
<link rel="prerender" href="/blog"/>
3435
<meta name='description' content={config.description} />
3536
<script dangerouslySetInnerHTML={{ __html: tracking }} />
37+
<link href="https://assets.calendly.com/assets/external/widget.css" rel="stylesheet"/>
38+
<script src="https://assets.calendly.com/assets/external/widget.js" type="text/javascript" async/>
3639
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
3740
</Head>
3841

pages/blog/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default function BlogPage({posts}) {
4848
return (
4949
<>
5050
<Head>
51-
<title>The Federated Blog | {config.title}</title>
51+
<title>Module Federation Group Blog | {config.title}</title>
5252
<script
5353
async
5454
src="//cdn.embedly.com/widgets/platform.js"

pages/contact.js

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import Head from "next/head";
2+
import config from "../data/config.json";
3+
import AppShell from "../components/app-shell";
4+
import navItems from "../nav-items";
5+
import Hero from "../components/hero";
6+
import {Button, Container, Divider, Header, Segment} from "semantic-ui-react";
7+
import {container} from "./blog/blog.module.css";
8+
9+
export default function BlogPage({posts}) {
10+
return (
11+
<>
12+
<Head>
13+
<title>Module Federation Group | {config.title}</title>
14+
</Head>
15+
16+
<AppShell
17+
menuItems={navItems.menuItems}
18+
secondaryMenuItems={navItems.secondaryMenuItems}
19+
heading={() => (
20+
<Hero>
21+
<Container text>
22+
<h1>Need Help? Contact Us</h1>
23+
<h2>We do workshops, support, and consulting</h2>
24+
</Container>
25+
</Hero>
26+
)}
27+
>
28+
<Segment style={{padding: "8em 0em"}} vertical>
29+
<Container text className={container}>
30+
<iframe
31+
src="https://docs.google.com/forms/d/e/1FAIpQLSdtJJoWQdvqECU9ZGKcV_7KngcALUt1Q8acum8mPDw3dybJLg/viewform?embedded=true"
32+
width="640" height="650" frameBorder="0" marginHeight="0" marginWidth="0">Loading…
33+
</iframe>
34+
</Container>
35+
</Segment>
36+
</AppShell>
37+
</>
38+
)
39+
}

pages/videos/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function BlogPage ({ embeds }) {
5252
return (
5353
<>
5454
<Head>
55-
<title>The Federated Blog | {config.title}</title>
55+
<title>Module Federation Group Blog | {config.title}</title>
5656
</Head>
5757

5858
<AppShell

0 commit comments

Comments
 (0)