This repository was archived by the owner on Mar 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Issue 529 add #534
Merged
Merged
Issue 529 add #534
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
17f244f
Add @krushiraj as a contributor
krushiraj 7de2ec3
Added feedback from
krushiraj d7d4ffa
Update yarn.lock
krushiraj 5a6a673
Merge branch 'develop' of https://github.com/coderplex/coderplex into…
krushiraj 049d04a
Merge branch 'develop' into issue-529-add
krushiraj 57e1144
Update feedback.js
krushiraj 0c26990
Fix nav issue
krushiraj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from 'react'; | ||
import Head from 'next/head'; | ||
import styled from 'react-emotion'; | ||
|
||
import Layout from './layout'; | ||
|
||
export default ({ formId, height }) => { | ||
return ( | ||
<Layout> | ||
<Head> | ||
<script src="https://static.airtable.com/js/embed/embed_snippet_v1.js" /> | ||
</Head> | ||
<IframeContainer> | ||
<iframe | ||
className="airtable-embed airtable-dynamic-height" | ||
src={`https://airtable.com/embed/${formId}?backgroundColor=green`} | ||
frameBorder="0" | ||
onmousewheel="" | ||
width="100%" | ||
height={height} | ||
style={{ background: `transparent`, border: `1px solid #ccc` }} | ||
/> | ||
</IframeContainer> | ||
</Layout> | ||
); | ||
}; | ||
|
||
const IframeContainer = styled.div` | ||
background-image: url('https://res.cloudinary.com/vinaypuppal/image/upload/c_scale,w_102/v1528992906/Spinner-1s-200px_wnlnc6.gif'); | ||
background-position: center top; | ||
background-repeat: no-repeat; | ||
`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React from 'react'; | ||
|
||
import Form from '../components/common/airtable-form'; | ||
|
||
console.log(Form); | ||
|
||
export default () => { | ||
return <Form formId="shrhz9WWHYRzNhJNl" height="2190" />; | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,7 @@ | ||
import React from 'react'; | ||
import Head from 'next/head'; | ||
import styled from 'react-emotion'; | ||
|
||
import Layout from '../components/common/layout'; | ||
import Form from '../components/common/airtable-form'; | ||
|
||
export default () => { | ||
return ( | ||
<Layout> | ||
<Head> | ||
<script src="https://static.airtable.com/js/embed/embed_snippet_v1.js" /> | ||
</Head> | ||
<IframeContainer> | ||
<iframe | ||
className="airtable-embed airtable-dynamic-height" | ||
src="https://airtable.com/embed/shrY3VfShFqerCJmX?backgroundColor=green" | ||
frameBorder="0" | ||
onmousewheel="" | ||
width="100%" | ||
height="1881" | ||
style={{ background: `transparent`, border: `1px solid #ccc` }} | ||
/> | ||
</IframeContainer> | ||
</Layout> | ||
); | ||
return <Form formId="shrY3VfShFqerCJmX" height="1881" />; | ||
}; | ||
|
||
const IframeContainer = styled.div` | ||
background-image: url('https://res.cloudinary.com/vinaypuppal/image/upload/c_scale,w_102/v1528992906/Spinner-1s-200px_wnlnc6.gif'); | ||
background-position: center top; | ||
background-repeat: no-repeat; | ||
`; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.