Skip to content

Commit

Permalink
fix: added online cfp form (#371)
Browse files Browse the repository at this point in the history
* added online cfp form

* testing different toml configuration

* ehanced config

* testing new config

* fixed typo

* fixed cfp date
  • Loading branch information
AceTheCreator authored Sep 2, 2024
1 parent 4050e68 commit 86877e3
Show file tree
Hide file tree
Showing 8 changed files with 1,098 additions and 41 deletions.
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
2 changes: 1 addition & 1 deletion config/cfp-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"EventStartDate": "30th October 2024",
"EventEndDate": "30th October 2024",
"CallStartDate": "21st August 2024",
"CallEndDate": "6th September 2024",
"CallEndDate": "20th September 2024",
"Edition": "Online Edition",
"sponsors":[
"/img/apidays.png"
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

0 comments on commit 86877e3

Please sign in to comment.