Skip to content

Commit

Permalink
remove test stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Sep 2, 2023
1 parent 2bd958a commit ab321a0
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 23 deletions.
10 changes: 0 additions & 10 deletions app/Http/Controllers/TimetableController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ public function __invoke()
{
return Inertia::render('Timetable', [
'initialSchedule' => ScheduleEntry::with(['room', 'scheduleType','scheduleOrganizer'])->orderBy('starts_at')->get()->values()->toArray(),
'blabla' => [
[
"test" => 1,
"te5st" => 2,
],
[
"test" => 4,
"t2est" => 5,
],
]
]);
}
}
8 changes: 0 additions & 8 deletions resources/js/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -246,14 +246,6 @@ watch(activePageIndex, (value, oldValue) => {
:screen="appScreen"
:rooms="rooms"
:schedule="schedule"
:waht="[
{
name: 'waht1',
},
{
name: 'waht2',
}
]"
:artworks="artworks"
:announcements="announcements"
:page="mappedPages[activePageIndex] ?? {resolvedComponent: Error}"
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Projects/EF27/Pages/SingleRoom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const nextEvent = computed(() => {
{{ nextEvent.room.name }}
</div>
<div class="text-[6vw] leading-[1.2] font-bold text-center magicTextColor">
{{ nextEvent.title }}
{{ nextEvent.title.truncate(90) }}
</div>
<div class="mb-2 whitespace-nowrap text-5xl text-center text-[9vw] leading-none">
<div v-if="getDayDescription(DateTime.fromISO(nextEvent.starts_at).plus({minutes: nextEvent.delay}))"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defineProps(['screen'])
</script>

<template>
<div class="text-white h-full flex justify-center items-center">
<div class="text-white z-50 h-full flex justify-center items-center">
<div class="text-center">
<div class="text-9xl">#{{ screen.id }}</div>
<h1 class="text-7xl font-bold">{{ screen.name }}</h1>
Expand Down
3 changes: 0 additions & 3 deletions resources/js/Timetable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ Echo.channel('ScreenAll')
schedule.value = e.schedule;
})
const copyEvent = unref(props.initialSchedule[14]);
copyEvent.title = "Fursuit WAAAAAAAAAAAAAAH"
const groupedSchedule = computed(() => {
// Group by date
return schedule.value
Expand Down

0 comments on commit ab321a0

Please sign in to comment.