Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Waterfall from '../../_components/Waterfall/Waterfall';
import BigVinyl from '../../_components/BigVinyl/BigVinyl';
import PrizeTracks from '../../_components/PrizeTracks/PrizeTracks';
import BeginnersSection from '../../_components/BeginnersSection/BeginnersSection';
import Waterfall from '@pages/(hackers)/_components/Waterfall/Waterfall';
import BigVinyl from '@pages/(hackers)/_components/BigVinyl/BigVinyl';
import PrizeTracks from '@pages/(hackers)/_components/PrizeTracks/PrizeTracks';
import BeginnersSection from '@pages/(hackers)/_components/BeginnersSection/BeginnersSection';
import Footer from '@components/Footer/Footer';
import Contact from '@pages/(hackers)/_components/Contact/Contact';
import IndexHero from '@pages/(hackers)/_components/IndexHero/IndexHero';
Expand Down
16 changes: 9 additions & 7 deletions app/(pages)/(hackers)/(hub)/schedule/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default function Page() {

// Update the existing useEffect - simplify to just set the schedule data without virtual events
useEffect(() => {
if (eventData.length > 0 && !personalEventsLoading) {
if (!eventsLoading && !personalEventsLoading) {
// Group events by day key - "19" or "20".
const groupedByDay = eventData.reduce(
(acc: ScheduleData, eventWithCount) => {
Expand Down Expand Up @@ -174,7 +174,13 @@ export default function Page() {

setScheduleData(groupedByDay);
}
}, [eventData, personalEvents, isInPersonalSchedule, personalEventsLoading]);
}, [
eventData,
personalEvents,
isInPersonalSchedule,
personalEventsLoading,
eventsLoading,
]);

useEffect(() => {
if (activeTab === 'personal') {
Expand Down Expand Up @@ -290,11 +296,7 @@ export default function Page() {

// Update the loading state to include eventsLoading
const isLoading =
userLoading ||
personalEventsLoading ||
eventsLoading ||
!scheduleData ||
isActionInProgress;
userLoading || personalEventsLoading || eventsLoading || isActionInProgress;

const isError = personalEventsError || eventsError;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
max-width: none;
height: 600px;
transform: translateX(7.5%);
object-fit: 'cover';

@include desktop-m {
height: 400px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ export default function SubmissionTips() {
<Image
src={Animals}
alt="Animals Peeping Behind Wall"
objectFit="cover"
className={styles.peeping_animals}
/>
<div className={styles.devpost_submission}>
<Link
href="https://hackdavis-2025.devpost.com/"
className={styles.button}
target="_blank"
>
<Image src={arrow} alt="arrow" />
<p>
Expand Down
51 changes: 17 additions & 34 deletions public/hackers/project-info/radio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.