Skip to content

Commit

Permalink
Discovery track instead of Community, plus some editing in links and …
Browse files Browse the repository at this point in the history
…descriptions
  • Loading branch information
theonlymonica authored Mar 23, 2024
1 parent 433d7c9 commit 2ba5075
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
10 changes: 5 additions & 5 deletions src/Components/Agenda.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./ui/accordion";
import mainTrack from "../assets/mainTrack.json";
import communityTrack from "../assets/communityTrack.json";
import discoveryTrack from "../assets/discoveryTrack.json";
import { motion } from "framer-motion";
import { useEffect, useRef, useState } from "react";
// import owl_mascot from "../assets/Animals SVG/owl_mascot.svg";
Expand Down Expand Up @@ -65,7 +65,7 @@ const AgendaAccordion = () => {
<Accordion
type="multiple"
// defaultValue="item-1"
defaultValue={["main_stage", "community_track"]}
defaultValue={["main_stage", "discovery_track"]}
// collapsible
className="w-full lg:flex lg:justify-center lg:gap-4 lg:mt-10 lg:pl-10 lg:pr-10 "
>
Expand All @@ -81,18 +81,18 @@ const AgendaAccordion = () => {
</AccordionContent>
</AccordionItem>
<AccordionItem
value="community_track"
value="discovery_track"
className="mt-4 border-b-0 rounded-lg lg:mt-0 lg:w-1/2"
disabled={!isMobile}
>
<AccordionTrigger
className="p-2 text-2xl font-bold text-purple-900 no-underline hover:no-underline min-h-16"
showIcon={isMobile}
>
💬 Community track
💬 Discovery track
</AccordionTrigger>
<AccordionContent className="">
<Agenda talks={communityTrack as AgendaItem[]} />
<Agenda talks={discoveryTrack as AgendaItem[]} />
</AccordionContent>
</AccordionItem>
</Accordion>
Expand Down
Loading

0 comments on commit 2ba5075

Please sign in to comment.