Skip to content

Commit 4057a2b

Browse files
authored
fix: light mode ui & backend schedules
* fix: light mode ui & backend schedules * fix: remove console log
1 parent 77ea1ae commit 4057a2b

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

backend/app/controllers/schedules_controller.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export default class SchedulesController {
3737
void groupQuery
3838
.preload("lecturers")
3939
.where("isActive", true)
40-
.orWhereNull("isActive")
4140
.whereExists((subQuery) =>
4241
subQuery
4342
.from("schedule_groups")
@@ -157,7 +156,6 @@ export default class SchedulesController {
157156
void groupQuery
158157
.preload("lecturers")
159158
.where("isActive", true)
160-
.orWhereNull("isActive")
161159
.whereExists((subQuery) =>
162160
subQuery
163161
.from("schedule_groups")
27.6 KB
Loading
25.4 KB
Loading

frontend/src/app/(homepage)/page.tsx

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import { Button } from "@/components/ui/button";
1313
import { createUsosService } from "@/lib/usos";
1414
import { cn } from "@/lib/utils";
1515

16+
import PWrLogoColor from "../../../public/assets/logo/pwr_color.png";
17+
import PWrLogoMono from "../../../public/assets/logo/pwr_mono.png";
1618
import HeroImageDark from "../../../public/assets/planer-dark.png";
1719
import HeroImageLight from "../../../public/assets/planer-light.png";
1820

@@ -77,12 +79,15 @@ function AnimationLogo() {
7779
>
7880
<div className="items-center justify-center gap-4 sm:gap-6 md:flex">
7981
<div className="mb-5 md:mb-0 md:mt-5">
80-
<p className="text-4xl font-bold text-blue-900 dark:text-white sm:text-5xl md:text-6xl lg:text-7xl">
82+
<p className="text-6xl font-bold text-blue-900 dark:text-white sm:text-5xl lg:text-7xl">
8183
SOLVRO
8284
</p>
8385
</div>
8486

85-
<a href="https://solvro.pwr.edu.pl/">
87+
<a
88+
href="https://solvro.pwr.edu.pl/"
89+
className="flex items-center justify-center"
90+
>
8691
<Image
8792
src="/assets/logo/logo_solvro_color.png"
8893
alt="Logo Koła Naukowego Solvro w kolorze"
@@ -94,7 +99,7 @@ function AnimationLogo() {
9499
</a>
95100

96101
<div className="mb:mt-5">
97-
<p className="text-4xl font-bold text-blue-900 dark:text-white sm:text-5xl md:text-6xl lg:text-7xl">
102+
<p className="text-6xl font-bold text-blue-900 dark:text-white sm:text-5xl lg:text-7xl">
98103
PLANER
99104
</p>
100105
</div>
@@ -156,7 +161,7 @@ export default function Home() {
156161
<ModeToggle /> */}
157162
<section
158163
id="hero"
159-
className="relative mx-auto mt-56 max-w-[80rem] px-2 text-center md:px-6 md:px-8"
164+
className="relative mx-auto mt-28 max-w-[80rem] px-2 text-center md:mt-56 md:px-8"
160165
>
161166
<div className="z-10 flex animate-fade-in-2 items-center justify-center opacity-0 [--animation-delay:1000ms]">
162167
<AnimatedGradientText>
@@ -232,8 +237,13 @@ export default function Home() {
232237
<li>
233238
<img
234239
alt="PWr"
235-
src="https://makroklaster.pl/wp-content/uploads/2022/04/logo-pwr.png"
236-
className="w-34 h-8 px-2 dark:brightness-100 dark:invert"
240+
src={PWrLogoMono.src}
241+
className="hidden h-8 w-40 px-2 dark:block dark:brightness-0 dark:invert"
242+
/>
243+
<img
244+
alt="PWr"
245+
src={PWrLogoColor.src}
246+
className="block h-8 w-40 px-2 dark:hidden"
237247
/>
238248
</li>
239249
<li>

frontend/src/app/plans/edit/[id]/page.client.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ export function CreateNewPlanPage({
170170
duration: 10_000,
171171
});
172172
}
173+
setSyncing(false);
173174
};
174175

175176
const handleUpdateLocalPlan = async () => {

0 commit comments

Comments
 (0)