diff --git a/components/About/about.js b/components/About/about.js index dea613ba..bf68d5a7 100644 --- a/components/About/about.js +++ b/components/About/about.js @@ -7,7 +7,7 @@ import Image from 'next/image'; function About() { return (
-
+ {/*
@@ -48,7 +48,7 @@ function About() {
-
+
*/} ); } diff --git a/components/ComingSoon/comingSoon.js b/components/ComingSoon/comingSoon.js new file mode 100644 index 00000000..ce5d288f --- /dev/null +++ b/components/ComingSoon/comingSoon.js @@ -0,0 +1,34 @@ +import React from 'react'; +import Heading from '../Typography/heading'; +import Paragraph from '../Typography/paragraph'; +import { Nav } from './tempNav'; +import NotificationForm from '../Form/notification'; +import Image from 'next/image'; + +function ComingSoon() { + return ( +
+
+ ); +} + +export default ComingSoon; diff --git a/components/ComingSoon/tempNav.js b/components/ComingSoon/tempNav.js new file mode 100644 index 00000000..81001c5e --- /dev/null +++ b/components/ComingSoon/tempNav.js @@ -0,0 +1,21 @@ +import Image from "next/image"; +import Button from "../Buttons/button"; +import Link from "next/link"; +import Arrow from "../illustration/arrow"; + +export function Nav(){ + return
+
+ conference logo +
+
+ + +
+
+} \ No newline at end of file diff --git a/components/Footer/footer.js b/components/Footer/footer.js index 348162c8..aee0c6ab 100644 --- a/components/Footer/footer.js +++ b/components/Footer/footer.js @@ -1,68 +1,21 @@ import React from "react"; -import Image from 'next/image'; -import Link from "next/link"; function Footer() { - const socials = [ - { - name: "Github", - href: "https://github.com/asyncapi", - imgUrl: "/img/Github.png", - }, - { - name: "Linkedin", - href: "https://www.linkedin.com/company/asyncapi/", - imgUrl: "/img/Linkedln.png", - }, - { - name: "Twitter(X)", - href: "https://x.com/asyncapispec", - imgUrl: "/img/twitter_new.png", - }, - ]; return (
-
- - company logo - -
- {/* This div helps keep the text centered */} -
-
- - Code of Conduct - -
-
-
-
-
-
- {socials.map((social, index) => { - return ( - - {social.name} - - ); - })} -
-
+ {/*
+
+ + Code of Conduct +
-
+
*/}
); } diff --git a/components/Form/notification.js b/components/Form/notification.js new file mode 100644 index 00000000..aac7ab97 --- /dev/null +++ b/components/Form/notification.js @@ -0,0 +1,18 @@ +import Link from 'next/link'; +import Button from '../Buttons/button'; +import Arrow from '../illustration/arrow'; + +const NotificationForm = () => { + return ( +
+
+
+
Kindly subscribe to our newsletter to get notified
+ +
+
+
+ ); +}; + +export default NotificationForm; \ No newline at end of file diff --git a/components/Header/header.js b/components/Header/header.js index dc651469..07d2766c 100644 --- a/components/Header/header.js +++ b/components/Header/header.js @@ -13,7 +13,7 @@ function Header() { const isMobile = useMediaQuery({ maxWidth: '590px' }); return (
-
+ {/*
@@ -51,7 +51,7 @@ function Header() { return ; })} -
+
*/}
); } diff --git a/components/Navbar/navbar.js b/components/Navbar/navbar.js index 242ac080..0ca53be6 100644 --- a/components/Navbar/navbar.js +++ b/components/Navbar/navbar.js @@ -69,13 +69,13 @@ function Navbar() { }; return ( -
+
- conference logo + {/* conference logo */}
diff --git a/components/PastEditions/pastEditions.js b/components/PastEditions/pastEditions.js new file mode 100644 index 00000000..76bef51c --- /dev/null +++ b/components/PastEditions/pastEditions.js @@ -0,0 +1,29 @@ +import React from 'react'; +import Heading from '../Typography/heading'; +import Paragraph from '../Typography/paragraph'; + +function PastEditions({ editions }) { + return ( +
+ {/*
+ + Past Editions + +
+ {editions.map((edition) => ( +
+ + {edition.year} + + + {edition.description} + +
+ ))} +
+
*/} +
+ ); +} + +export default PastEditions; diff --git a/components/Speakers/speakers.js b/components/Speakers/speakers.js new file mode 100644 index 00000000..b3e0307c --- /dev/null +++ b/components/Speakers/speakers.js @@ -0,0 +1,31 @@ +import React from 'react'; +import Heading from '../Typography/heading'; +import Paragraph from '../Typography/paragraph'; +import Image from 'next/image'; + +function Speakers({ speakers }) { + return ( +
+ {/*
+ + Speakers + +
+ {speakers.map((speaker) => ( +
+ {speaker.name} + + {speaker.name} + + + {speaker.title} + +
+ ))} +
+
*/} +
+ ); +} + +export default Speakers; diff --git a/components/Sponsors/sponsors.js b/components/Sponsors/sponsors.js index 3d284673..0ac65183 100644 --- a/components/Sponsors/sponsors.js +++ b/components/Sponsors/sponsors.js @@ -8,7 +8,7 @@ import Link from 'next/link'; function Sponsors({eventSponsors,financialSponsor}) { //eventSponsors,financialSponsor = [{image: 'url', websiteUrl: 'url' , className: 'string'}] //className for additional styling if needed return (
-
+ {/*
@@ -45,7 +45,7 @@ function Sponsors({eventSponsors,financialSponsor}) { //eventSponsors,financial
-
+
*/}
); } diff --git a/components/Tickets/tickets.js b/components/Tickets/tickets.js new file mode 100644 index 00000000..e58c7ccf --- /dev/null +++ b/components/Tickets/tickets.js @@ -0,0 +1,22 @@ +import React from 'react'; +import Heading from '../Typography/heading'; +import Paragraph from '../Typography/paragraph'; +import Button from '../Buttons/button'; + +function Tickets() { + return ( +
+ {/*
+ + Tickets + + + Get your tickets now! + + +
*/} +
+ ); +} + +export default Tickets; diff --git a/components/Venue/venue.js b/components/Venue/venue.js index bc24eb5d..c709bb08 100644 --- a/components/Venue/venue.js +++ b/components/Venue/venue.js @@ -22,37 +22,51 @@ export function isEventEnded(date){ function Venue({ className, city }) { - const eventEnded = isEventEnded(city.date); - const textColor = eventEnded ? "text-white": "text-white"; - const eventStatus = getEventStatus(city.date); + // const eventEnded = isEventEnded(city.date); + // const textColor = eventEnded ? "text-white": "text-white"; + // const eventStatus = getEventStatus(city.date); + + // return ( + // + //
+ //
+ //
+ // {city.cfp?
cfp is open
:null} + // + //
+ //
+ //
+ //
+ // {city.name=='Online'?{city.name} {city.country}:{city.country}, {city.name}} + //
+ //
+ //
{city.date}
+ // {eventStatus} + //
+ //
+ //
+ //
+ // + // ); return ( - -
-
-
- {city.cfp?
cfp is open
:null} - -
-
-
-
- {city.name=='Online'?{city.name} {city.country}:{city.country}, {city.name}} -
-
-
{city.date}
- {eventStatus} -
-
-
-
- +
+ {/*
+ + {city.name} + + + {city.description} + + {city.name} +
*/} +
); } diff --git a/config/links.json b/config/links.json index 8f896f9f..0637a088 100644 --- a/config/links.json +++ b/config/links.json @@ -1,79 +1 @@ -[ - { - "title": "About", - "ref": "/#about" - }, - { - "title": "Venue", - "ref": "", - "subMenu": [ - { - "title": "Online", - "ref": "/venue/Online" - }, - { - "title": "Helsinki, Finland", - "ref": "/venue/Helsinki" - }, - { - "title": "London, UK", - "ref": "/venue/London" - }, - { - "title": "Paris, France", - "ref": "/venue/Paris" - } - ] - }, - { - "title": "Speakers", - "ref": "/#speakers" - }, - { - "title": "Tickets", - "ref": "/#tickets" - }, - { - "title": "Sponsors", - "ref": "/#sponsors" - }, - { - "title":"Past Editions", - "ref":"/editions" - }, - { - "title":"Resources Hub", - "ref":"", - "subMenu": [ - - { - "title": "Helsinki Slides", - "ref": "https://drive.google.com/drive/folders/1nY7dZF8WFXZ3r2rCWJDDoT2C_GMfQJMV?usp=drive_link", - "target": "_blank" - }, - { - "title": "London Slides", - "ref": "https://drive.google.com/drive/folders/1PsIZSsQmsvSILZ83f9L-2ErV-pXM6PQf?usp=drive_link", - "target": "_blank" - }, - { - "title": "London Talks", - "ref": "https://youtube.com/playlist?list=PLbi1gRlP7pig77jJD2ER9wfTxPSzBrLW5&si=YPmjUsj5mU6FpLhB", - "target": "_blank" - }, - { - "title": "Online Conf Slides", - "ref": "https://drive.google.com/drive/folders/1gw_kr6mLX5lITe_DHG94pGUOVYYS0DjY?usp=drive_link", - "target": "_blank" - }, - { - "title": "Paris Slides", - "ref": "https://drive.google.com/drive/folders/1MBqecV7Q__tLIciF2vaPvwG5gV4RxcI_?usp=drive_link", - "target": "_blank" - } - - - ] -} - -] +[] \ No newline at end of file diff --git a/pages/_app.js b/pages/_app.js index a7e54e34..2270712e 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -1,8 +1,6 @@ import '../styles/globals.css'; import 'slick-carousel/slick/slick.css'; import 'slick-carousel/slick/slick-theme.css'; -import Navbar from '../components/Navbar/navbar'; -import Footer from '../components/Footer/footer'; import { useState, useEffect } from 'react'; function MyApp({ Component, pageProps }) { @@ -18,10 +16,9 @@ function MyApp({ Component, pageProps }) { } return (
- -
+
); } diff --git a/pages/index.js b/pages/index.js index 78c8de64..b28e4338 100644 --- a/pages/index.js +++ b/pages/index.js @@ -1,197 +1,12 @@ /* eslint-disable @next/next/no-img-element */ /* eslint-disable react/no-unescaped-entities */ -import { useEffect, useState } from 'react'; -import Head from 'next/head'; -import { useMediaQuery } from 'react-responsive'; -import Header from '../components/Header/header'; -import cities from '../config/city-lists.json'; -import Sponsors from '../components/Sponsors/sponsors'; -import About from '../components/About/about'; -import TicketCards from '../components/Tickets/ticketCards'; -import Heading from '../components/Typography/heading'; -import Paragraph from '../components/Typography/paragraph'; -import Subscription from '../components/Form/subscription'; -import Speaker from '../components/Speaker/speaker'; -import speakers from '../config/speakers.json'; -import Link from 'next/link'; -import Button from '../components/Buttons/button'; -import Dropdown from '../components/Dropdown/dropdown'; +import React from 'react'; +import ComingSoon from '../components/ComingSoon/comingSoon'; export default function Home() { - const isTablet = useMediaQuery({ maxWidth: '1118px' }); - const [speakersList, setSpeakersList] = useState([]); - const [city, setCity] = useState(""); - speakers[0].lists = []; - speakers.map((speaker) => { - if (Array.isArray(speaker.lists) && Object.keys(speaker.lists).length > 0) { - speakers[0].lists.push(...speaker.lists); - } - }); - const list = speakers[0].lists.filter((obj, index) => { - return index === speakers[0].lists.findIndex(o => obj.name=== o.name); - }); - speakers[0].lists =[...list]; - - useEffect(() => { - setCity(speakers[0]); - setSpeakersList(speakers[0].lists); - },[]); - return ( -
- - AsyncAPI Conference - - - - background-illustration -
-
- -
-
-
-
-
-
-
Speakers
-
-
- - Meet The Speakers - -
- - Discover the inspiring voices shaping our event, each bringing unique insights and expertise to the forefront of their respective fields. - -
-
-
- {isTablet ? ( -
- -
- ) : ( -
-
- {speakers.map((speaker) => { - return ( -
{ - setCity(speaker); - setSpeakersList(speaker.lists); - }} - > - -
- ); - })} -
-
- )} -
- -
- {typeof speakersList === 'string' ? ( -
-
- - {city.city} Speakers To Be Announced Soon - Stay Tuned! - -
-
- ) : Object.keys(speakersList).length > 0 ? ( -
- {speakersList.map((speaker, i) => { - return ( - - ); - })} -
- ) : ( -
-
- - {city.city} Speakers Coming Soon - Stay Tuned! - - - We are actively accepting speaker applications, and you - can start your journey by clicking the button below. Join - us on stage and share your valuable insights with our - enthusiastic audience! - - - - - - -
-
- )} -
-
-
-
-
Tickets
-
-
- - Get Tickets - -
- - Experience the Future of Asynchronous Communication: Get Tickets for the AsyncAPI Conference on Tour! - -
-
- {cities.map((city) => { - if(city.ended === false){ - return - } - })} -
-
-
-
-
- -
-
- -
-
- ); + return ( +
+ +
+ ); } diff --git a/public/img/arrow-bounce.png b/public/img/arrow-bounce.png new file mode 100644 index 00000000..4bd8e6ab Binary files /dev/null and b/public/img/arrow-bounce.png differ diff --git a/public/img/conference-ill.webp b/public/img/conference-ill.webp new file mode 100644 index 00000000..eb98bdee Binary files /dev/null and b/public/img/conference-ill.webp differ diff --git a/public/img/logo-plain.png b/public/img/logo-plain.png new file mode 100644 index 00000000..827cb144 Binary files /dev/null and b/public/img/logo-plain.png differ diff --git a/tailwind.config.js b/tailwind.config.js index e87b5ba7..aae41910 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -24,7 +24,7 @@ module.exports = { }, backgroundImage: { madrid: "url('https://images.unsplash.com/photo-1539037116277-4db20889f2d4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80')", - online: "url('/img/CFS-Banner.png')" + online: "url('/img/CFS-Banner.png')", }, extend: { colors: {