Skip to content

Commit

Permalink
Add experiences to the schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzdogan committed May 17, 2024
1 parent 6bf4246 commit 9e9854b
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 31 deletions.
3 changes: 1 addition & 2 deletions src/components/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ const Layout = ({ children, showEthDiamond, className, hidden }) => {
target="_blank"
rel="noreferrer"
>
&lt;&lt;<span className="text-berlin-red">S</span>&lt;OURCE
CODE(&#94;)
&lt;&lt;S&lt;OURCE(&#94;)
</a>
</footer>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export default function HTML(props) {
case 'a':
window.location.href= "/art";
break;
case 'e':
window.location.href= "/experiences";
break;
case 'm':
window.location.href= "/manifesto";
break;
Expand Down
24 changes: 13 additions & 11 deletions src/pages/experiences.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import secondFloor from "../images/secondFloor.png";
import thirdFloor from "../images/thirdFloor.png";
import fourthFloor from "../images/fourthFloor.png";
import fifthFloor from "../images/fifthFloor.png";
import { FaExternalLinkAlt } from "react-icons/fa";

const Experiences = () => {
const [isMapModalOpen, setIsMapModalOpen] = React.useState(false);
Expand Down Expand Up @@ -194,12 +195,6 @@ const Experiences = () => {
setIsMapModalOpen(true);
},
},
aeden: {
name: "Aeden",
handler: () => {
window.open("https://aedenberlin.com/", "_blank");
},
},
};

const LocationButton = ({ loc, className }) => (
Expand Down Expand Up @@ -301,14 +296,14 @@ const Experiences = () => {
and recenter. At night the space will transform into a starry
night, with areas for hackers to sleep or unwind.
</div>
<div className="mt-4 mb-1">Saturday 24th:</div>
<div className="mt-4 mb-1">Saturday 25th:</div>
<ul className="list-disc list-inside ml-4 ">
<li>10:00 - 11:30 - Kundalini yoga</li>
<li>13:00 - 15:00 - Reiki practitioner available</li>
<li>15:00 - 16:30 - Sound healing practice</li>
<li>17:00 - 19:00 - Yoga flow + Sound Bath</li>
</ul>
<div className="mt-4 mb-1">Sunday 25th:</div>
<div className="mt-4 mb-1">Sunday 26th:</div>
<ul className="list-disc list-inside ml-4 ">
<li>10:00 - 10:45 Active/dance meditation</li>
<li>10:45 - 11:30 Vibro Acoustic massage 1:1 first slot</li>
Expand Down Expand Up @@ -350,7 +345,6 @@ const Experiences = () => {
>
Base
</a>
<LocationButton loc={locations.yard1} />
</div>
<div className="ml-4">
Pizza will be served on Saturday, after 22 hs. Stay tuned for the
Expand Down Expand Up @@ -501,7 +495,7 @@ const Experiences = () => {
>
TelediskoDAO
</a>
<LocationButton loc={locations.yard1} />
<LocationButton loc={locations.yard0} />
</div>
<div className="ml-4">
The teledisko needs no further explanation. Brought to you by
Expand Down Expand Up @@ -552,7 +546,15 @@ const Experiences = () => {
>
Fuel
</a>
<LocationButton loc={locations.aeden} />
<a
href="https://aedenberlin.com"
target="blank"
rel="noreferrer noopener"
className="inline-flex items-center ml-2 text-berlin-red"
>
<FaExternalLinkAlt className="mr-[2px]" />{" "}
<strong>Aeden</strong>
</a>
</div>
<div className="ml-4">From 8PM onwards on Sunday night.</div>
<div className="ml-4">
Expand Down
114 changes: 96 additions & 18 deletions src/pages/schedule.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ const Program = () => {
setIsMapModalOpen(true);
},
},
creatorsLab: {
name: "Creator's Lab",
giftShop: {
name: "Gift Shop",
handler: () => {
handleGroundFloor();
setActiveRoomClass("creators-lab");
setActiveRoomClass("giftShop");
setIsMapModalOpen(true);
},
},
Expand Down Expand Up @@ -364,11 +364,11 @@ const Program = () => {
setIsMapModalOpen(true);
},
},
xrRoom: {
name: "XR Room",
library: {
name: "Library",
handler: () => {
handleGroundFloor();
setActiveRoomClass("xrRoom");
handleFirstFloor();
setActiveRoomClass("library");
setIsMapModalOpen(true);
},
},
Expand All @@ -380,11 +380,11 @@ const Program = () => {
setIsMapModalOpen(true);
},
},
persius: {
name: "Persius",
wellnessRoom: {
name: "Wellness & Planeterium",
handler: () => {
handleFifthFloor();
setActiveRoomClass("persius");
setActiveRoomClass("wellnessRoom");
setIsMapModalOpen(true);
},
},
Expand All @@ -396,6 +396,14 @@ const Program = () => {
setIsMapModalOpen(true);
},
},
cinebar: {
name: "Cinebar",
handler: () => {
handleFifthFloor();
setActiveRoomClass("cinebar");
setIsMapModalOpen(true);
},
},
};

React.useEffect(() => {
Expand Down Expand Up @@ -700,6 +708,16 @@ const Program = () => {
title="Breakfast"
eventLocations={[locations.restaurant]}
/>
{isExtravaganza && (
<ProgramItem
dayStr="2024-05-25"
startTime="10:00"
endTime="11:30"
title="Kundalini yoga"
className={"text-berlin-red"}
eventLocations={[locations.wellnessRoom]}
/>
)}
<SpeechItem
dayStr="2024-05-25"
startTime="11:00"
Expand Down Expand Up @@ -740,6 +758,23 @@ const Program = () => {
eventLocations={[locations.artExhibition]}
/>
)}
<ProgramItem
dayStr="2024-05-25"
startTime="13:00"
endTime="15:00"
title="Lunch"
eventLocations={[locations.restaurant]}
/>
{isExtravaganza && (
<ProgramItem
dayStr="2024-05-25"
startTime="13:00"
endTime="15:00"
title="Reiki practitioner available"
className={"text-berlin-red"}
eventLocations={[locations.wellnessRoom]}
/>
)}
{isExtravaganza && (
<SpeechItem
dayStr="2024-05-25"
Expand All @@ -762,21 +797,34 @@ const Program = () => {
eventLocations={[locations.artExhibition]}
/>
)}
<ProgramItem
dayStr="2024-05-25"
startTime="13:00"
endTime="15:00"
title="Lunch"
eventLocations={[locations.restaurant]}
/>
<ProgramItem
dayStr="2024-05-25"
startTime="14:00"
endTime="17:00"
title="Mentoring Expert Office Hours"
description="Check mentor area for detailed schedule!"
eventLocations={[locations.nodeCafe]} //TODO: node cafe
eventLocations={[locations.nodeCafe]}
/>
{isExtravaganza && (
<ProgramItem
dayStr="2024-05-25"
startTime="15:00"
endTime="16:30"
title="Sound healing practice"
className={"text-berlin-red"}
eventLocations={[locations.wellnessRoom]}
/>
)}
{isExtravaganza && (
<ProgramItem
dayStr="2024-05-25"
startTime="17:00"
endTime="19:00"
title="Yoga flow + Sound Bath"
className={"text-berlin-red"}
eventLocations={[locations.wellnessRoom]}
/>
)}
{isExtravaganza && (
<div className="text-berlin-red">
<ProgramItem
Expand Down Expand Up @@ -918,13 +966,43 @@ const Program = () => {
title="Breakfast"
eventLocations={[locations.restaurant]}
/>
{isExtravaganza && (
<ProgramItem
dayStr="2024-05-26"
startTime="10:00"
endTime="10:45"
title="Active/dance meditation"
className={"text-berlin-red"}
eventLocations={[locations.wellnessRoom]}
/>
)}
{isExtravaganza && (
<ProgramItem
dayStr="2024-05-26"
startTime="10:45"
endTime="11:30"
title="Vibro Acoustic massage 1:1 first slot"
className={"text-berlin-red"}
eventLocations={[locations.wellnessRoom]}
/>
)}
<ProgramItem
dayStr="2024-05-26"
startTime="11:30"
title="PROJECT SUBMISSION DEADLINE"
className={"font-bold italic"}
eventLocations={[]}
/>
{isExtravaganza && (
<ProgramItem
dayStr="2024-05-26"
startTime="11:45"
endTime="12:30"
title="Vibro acoustic massage 1:1 2nd slot"
className={"text-berlin-red"}
eventLocations={[locations.wellnessRoom]}
/>
)}
<ProgramItem
dayStr="2024-05-26"
startTime="12:00"
Expand Down

0 comments on commit 9e9854b

Please sign in to comment.