39 lines
1.1 KiB
TypeScript
Raw Permalink Normal View History

2023-10-27 17:48:49 -04:00
import dynamic from "next/dynamic";
import ExploreCreators from "./_sections/ExploreCreators";
2023-10-28 11:07:50 -04:00
import ExploreCalendars from "./_sections/ExploreCalendars";
2023-10-27 17:48:49 -04:00
import UpcomingEvents from "./_sections/UpcomingEvents";
import LongFormContentSection from "./_sections/LongFormContent";
2023-10-27 20:26:51 -04:00
import CreateEvents from "./_sections/CreateEvents";
2023-10-27 13:10:07 -04:00
2023-10-27 17:48:49 -04:00
const LiveStreamingSection = dynamic(
() => import("./_sections/LiveStreaming"),
{
ssr: false,
},
);
const FeaturedListsSection = dynamic(
() => import("./_sections/FeaturedLists"),
{
ssr: false,
},
);
const NewEventButton = dynamic(() => import("./_components/NewEventButton"), {
ssr: false,
});
2023-10-27 14:49:16 -04:00
2023-10-27 17:48:49 -04:00
export default function Page() {
2023-10-27 13:10:07 -04:00
return (
2023-10-27 17:48:49 -04:00
<div className="relative space-y-6 px-5 pt-5 sm:pt-7">
2023-10-28 11:07:50 -04:00
<ExploreCalendars />
2023-10-27 17:48:49 -04:00
<UpcomingEvents />
2023-10-28 11:07:50 -04:00
{/* <LongFormContentSection /> */}
2023-10-27 20:26:51 -04:00
<CreateEvents />
2023-10-27 17:48:49 -04:00
<LiveStreamingSection />
<FeaturedListsSection />
2023-10-27 20:26:51 -04:00
<div className="fixed bottom-[calc(var(--bottom-nav-height)_+_20px)] right-[20px] z-overlay- sm:hidden">
2023-10-27 17:48:49 -04:00
<NewEventButton />
2023-10-27 13:10:07 -04:00
</div>
</div>
);
}