diff --git a/src/App.tsx b/src/App.tsx index 5b78f62f..2286a3cd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,4 @@ -import {Link, Route, Routes} from "react-router"; +import { Link, Route, Routes } from "react-router"; import { ROUTE_2023_ATTENDEE, ROUTE_2023_CFP, @@ -45,21 +45,20 @@ import { ROUTE_SPEAKERS, ROUTE_SPONSORSHIP, ROUTE_TALKS, - ROUTE_TRAVEL, + ROUTE_TRAVEL, ROUTE_WORKSHOPS, } from "./constants/routes"; import Footer from "./components/Footer/Footer"; import HomeWrapper from "./views/Home/HomeWrapper"; import Navigation from "./components/Navigation/Navigation"; import ScrollToTop from "./components/ScrollToTop/ScrollToTop"; -import SpeakerDetailContainer - from "./views/SpeakerDetail/SpeakerDetailContainer"; +import SpeakerDetailContainer from "./views/SpeakerDetail/SpeakerDetailContainer"; import styled from "styled-components"; -import React, {FC} from "react"; -import {CookieConsent} from "react-cookie-consent"; -import {Color} from "./styles/colors"; +import React, { FC } from "react"; +import { CookieConsent } from "react-cookie-consent"; +import { Color } from "./styles/colors"; import Loading from "./components/Loading/Loading"; -import {QueryClient, QueryClientProvider} from "react-query"; +import { QueryClient, QueryClientProvider } from "react-query"; import Talks from "./views/Talks/Talks"; import Conditions from "./views/Conditions/Conditions"; import Cookies from "./views/Cookies/Cookies"; @@ -68,10 +67,9 @@ import SpeakerInformation from "./views/Speakers/SpeakerInformation"; import About from "./views/About/About"; import Travel from "./views/Travel/Travel"; import NotFoundError from "./components/NotFoundError/NotFoundError"; -import {Home2023Wrapper} from "./2023/Home/Home2023Wrapper"; +import { Home2023Wrapper } from "./2023/Home/Home2023Wrapper"; import Speakers2023 from "./2023/Speakers/Speakers2023"; -import SpeakerDetailContainer2023 - from "./2023/SpeakerDetail/SpeakerDetailContainer2023"; +import SpeakerDetailContainer2023 from "./2023/SpeakerDetail/SpeakerDetailContainer2023"; import Talks2023 from "./2023/Talks/Talks2023"; import TalkDetailContainer2023 from "./2023/TalkDetail/TalkDetailContainer2023"; import AttendeeInformation2023 from "./2023/Attendee/AttendeeInformation2023"; @@ -86,483 +84,485 @@ import JobOffers2023 from "./2023/JobOffers/JobOffers2023"; import Sponsorship from "./views/sponsorship/Sponsorship"; import Diversity2023 from "./2023/Diversity/Diversity2023"; import CfpSection from "./views/Cfp/CfpSection"; -import {CodeOfConduct} from "./views/CodeOfConduct/CodeOfConduct"; -import {Accommodation} from "./views/Travel/Accommodation"; +import { CodeOfConduct } from "./views/CodeOfConduct/CodeOfConduct"; +import { Accommodation } from "./views/Travel/Accommodation"; import Schedule from "./views/Schedule/Schedule"; import Diversity from "./views/Diversity/Diversity"; import LiveView from "./views/Talks/LiveView"; import JobOffers from "./views/JobOffers/JobOffers"; -import {HomeWrapper2024} from "./2024/HomeWrapper2024"; +import { HomeWrapper2024 } from "./2024/HomeWrapper2024"; import Speakers2024 from "./2024/Speakers/Speakers2024"; import Talks2024 from "./2024/Talks/Talks2024"; -import TalkDetailContainer2024 - from "./views/MeetingDetail/TalkDetailContainer2024"; -import SpeakerDetailContainer2024 - from "./2024/SpeakerDetail/SpeakerDetailContainer2024"; +import TalkDetailContainer2024 from "./views/MeetingDetail/TalkDetailContainer2024"; +import SpeakerDetailContainer2024 from "./2024/SpeakerDetail/SpeakerDetailContainer2024"; import CfpSection2024 from "./2024/Cfp/CfpSection2024"; +import Workshops from "./views/Workshops/Workshops"; const StyledAppWrapper = styled.div` - position: relative; - min-height: 100vh; + position: relative; + min-height: 100vh; `; const isDevBcnCookieSet = document.cookie - .split("; ") - .some((row) => row.startsWith("DevBcnCookie=")); + .split("; ") + .some((row) => row.startsWith("DevBcnCookie=")); const RenderCookie = () => ( - <> - {!isDevBcnCookieSet && ( - - This website uses cookies to enhance the user experience.{" "} - - Read here - - - )} - > + + This website uses cookies to enhance the user experience.{" "} + + Read here + + ); const App: FC> = () => { - const queryClient = new QueryClient(); - return ( - - - - - - }/> - }> - - - } - /> - {/*}> + const queryClient = new QueryClient(); + return ( + + + + + + } /> + }> + + + } + /> + }> + + + } + /> + {/*}> } />*/} - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - { - }> - - - } - /> - } - { - }> - - - } - /> - } - }> - - - } - /> - */ - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - {/*}> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + { + }> + + + } + /> + } + { + }> + + + } + /> + } + }> + + + } + /> + */ + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + {/*}> } />*/} - {/*}> + {/*}> } />*/} - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - {/* 2024 Edition */} - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - {/* 2023 Edition */} - }> - - - } - /> - { - }> - - - } - /> - } - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - }> - - - } - /> - - - - - - ); + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + {/* 2024 Edition */} + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + {/* 2023 Edition */} + }> + + + } + /> + { + }> + + + } + /> + } + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + }> + + + } + /> + + {!isDevBcnCookieSet && } + + + + ); }; export default App; diff --git a/src/components/Navigation/NavigationData.ts b/src/components/Navigation/NavigationData.ts index 84b8f57e..12064a6d 100644 --- a/src/components/Navigation/NavigationData.ts +++ b/src/components/Navigation/NavigationData.ts @@ -6,7 +6,7 @@ import { ROUTE_SPEAKERS, ROUTE_SPONSORSHIP, ROUTE_TALKS, - ROUTE_TRAVEL, + ROUTE_TRAVEL, ROUTE_WORKSHOPS, } from "../../constants/routes"; export interface NavigationItem { @@ -20,7 +20,7 @@ export const navigationItems2025: NavigationItem[] = [ { id: "Sponsors", link: "/#sponsors" }, //{ id: "SCHEDULE", link: ROUTE_SCHEDULE }, { id: "Talks", link: ROUTE_TALKS }, - //{ id: "Workshops", link: ROUTE_WORKSHOPS }, + { id: "Workshops", link: ROUTE_WORKSHOPS }, //{ id: "JOB OFFERS", link: ROUTE_JOB_OFFERS }, //{ id: "Communities", link: ROUTE_COMMUNITIES }, { id: "Speakers", link: ROUTE_SPEAKERS }, diff --git a/src/views/Workshops/Workshops.tsx b/src/views/Workshops/Workshops.tsx index e7d7ea18..d9b911b3 100644 --- a/src/views/Workshops/Workshops.tsx +++ b/src/views/Workshops/Workshops.tsx @@ -14,7 +14,7 @@ import MoreThanBlueIcon from "../../assets/images/MoreThanBlueIcon.svg"; import { useFetchTalks } from "../Talks/UseFetchTalks"; import * as Sentry from "@sentry/react"; import { TalkCard } from "../Talks/components/TalkCard"; -import conferenceData from "../../data/2024.json"; +import conferenceData from "../../data/2025.json"; import styled from "styled-components"; import { BIG_BREAKPOINT } from "../../constants/BreakPoints"; @@ -42,8 +42,7 @@ const Workshops: FC> = () => { }, []); //region workshops - const workshopCategoryId = 149213; - const workshopCategoryList = new Set([workshopCategoryId]); + const workshopCategoryList = new Set([149213]); const workshops = data ?.flatMap((group) => group.sessions) @@ -93,6 +92,7 @@ const Workshops: FC> = () => { {isLoading && Loading } + {workshops?.length === 0 && No workshops yet. Keep posted} {conferenceData.hideTalks ? ( No Workshops selected yet. Keep in touch in our social media for
No workshops yet. Keep posted
No Workshops selected yet. Keep in touch in our social media for