Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: added online cfp form #371

Merged
merged 6 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions components/Form/Cfp/stepFour.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Button from "../../Buttons/button";
function StepFour({ setStep, setForm, data }) {
const [submitting, setSubmitting] = useState(false);
const [disabled, setDisabled] = useState(false);

const onSubmit = (e) => {
e.preventDefault();
setSubmitting(true);
Expand Down
17 changes: 17 additions & 0 deletions config/city-lists.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
[
{
"name": "Online",
"country": " Edition",
"date": "30th October 2024",
"description": "Join us for the AsyncAPI Online Conference Edition as the community unites across the globe to share experiences, collaborate, and foster meaningful connections.",
"img": "/img/testMic.png",
"address": "AsyncAPI Youtube Channel",
"map": "https://www.youtube.com/@AsyncAPI",
"sponsors": [
"/img/apidays.png"
],
"ticket": false,
"isFree": true,
"ended": false,
"cfp": "/venue/online/register"

},
{
"name": "Helsinki",
"country": "Finland",
Expand Down
4 changes: 4 additions & 0 deletions config/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"title": "Venue",
"ref": "",
"subMenu": [
{
"title": "Online",
"ref": "/venue/Online"
},
{
"title": "Helsinki, Finland",
"ref": "/venue/Helsinki"
Expand Down
20 changes: 13 additions & 7 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
[build]
command = "npm run build"
publish = ".next"

[build.environment]
NODE_VERSION = "16.13.2"
NPM_VERSION = "8.1.2"

[functions]
directory = "netlify/functions"

[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "ALLOW-FROM https://www.youtube.com/"

[build]
command = "npm run build && npm run export"
publish = "out"

[build.environment]
NODE_VERSION = "16.13.2"
NPM_VERSION = "8.1.2"
[[plugins]]
package = "@netlify/plugin-nextjs"
Loading
Loading