Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit dee12ae

Browse files
committed
add airtable form embed
1 parent eeec846 commit dee12ae

File tree

4 files changed

+32
-10
lines changed

4 files changed

+32
-10
lines changed

Diff for: .babelrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"env": {
33
"development": {
4-
"presets": "next/babel"
4+
"presets": ["next/babel"]
55
},
66
"production": {
7-
"presets": "next/babel"
7+
"presets": ["next/babel"]
88
},
99
"test": {
1010
"presets": [["env", { "modules": "commonjs" }], "next/babel"]

Diff for: components/common/header/index.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,12 @@ class NavBar extends React.Component {
4848
external: false,
4949
},
5050
{
51-
title: 'Blog',
52-
path: 'https://coderplex.org/blog',
53-
external: true,
51+
title: 'Join',
52+
path: '/join',
5453
},
5554
{
56-
title: 'Join',
57-
path: 'https://coderplex.org/join',
55+
title: 'Blog',
56+
path: 'https://coderplex.org/blog',
5857
external: true,
5958
},
6059
],

Diff for: config/meta-info.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"description": "We host frequent online and offline events, from sessions to competitions",
2222
"image": ""
2323
},
24-
"login": {
25-
"title": "Login Or Register | Coderplex",
26-
"description": "Join our community",
24+
"join": {
25+
"title": "Join the Coderplex Community",
26+
"description": "Join the biggest and most active developer community in Hyderabad!",
2727
"image": ""
2828
}
2929
}

Diff for: pages/join.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import React from 'react';
2+
import Head from 'next/head';
3+
4+
import Layout from '../components/common/layout';
5+
6+
export default () => {
7+
return (
8+
<Layout>
9+
<Head>
10+
<script src="https://static.airtable.com/js/embed/embed_snippet_v1.js" />
11+
</Head>
12+
<iframe
13+
className="airtable-embed airtable-dynamic-height"
14+
src="https://airtable.com/embed/shrY3VfShFqerCJmX?backgroundColor=green"
15+
frameBorder="0"
16+
onmousewheel=""
17+
width="100%"
18+
height="1881"
19+
style={{ background: `transparent`, border: `1px solid #ccc` }}
20+
/>
21+
</Layout>
22+
);
23+
};

0 commit comments

Comments
 (0)