+
-
+
{{ selector.label }}
@@ -32,6 +32,7 @@
diff --git a/frontend/composables/useBreakpoint.ts b/frontend/composables/useBreakpoint.ts
new file mode 100644
index 000000000..b50bd6223
--- /dev/null
+++ b/frontend/composables/useBreakpoint.ts
@@ -0,0 +1,21 @@
+import { useBreakpoints } from "@vueuse/core";
+import { BreakpointMap } from "~/types/breakpoint-map";
+
+const breakpoints = useBreakpoints({
+ sm: BreakpointMap.SMALL,
+ md: BreakpointMap.MEDIUM,
+ lg: BreakpointMap.LARGE,
+ xl: BreakpointMap.XL,
+ "2xl": BreakpointMap.XXL,
+ xxl: BreakpointMap.XXL,
+ "3xl": BreakpointMap.XXXL,
+ xxxl: BreakpointMap.XXXL,
+});
+
+export default function useBreakpoint(
+ breakpointName: MaybeRefOrGetter<
+ "sm" | "md" | "lg" | "xl" | "2xl" | "xxl" | "3xl" | "xxxl"
+ >
+): Ref
{
+ return breakpoints.greaterOrEqual(breakpointName);
+}
diff --git a/frontend/layouts/auth.vue b/frontend/layouts/auth.vue
index 147d85e2b..84f948ec3 100644
--- a/frontend/layouts/auth.vue
+++ b/frontend/layouts/auth.vue
@@ -1,10 +1,10 @@
-
+
{{ $t(page.title) }}
-
+
-
+
const route = useRoute();
+import useBreakpoint from "~/composables/useBreakpoint";
+
+const aboveMediumBP = useBreakpoint("md");
const page = computed(() => {
const authRoutes = [
diff --git a/frontend/layouts/sidebar.vue b/frontend/layouts/sidebar.vue
index e7f566279..1d7a70a06 100644
--- a/frontend/layouts/sidebar.vue
+++ b/frontend/layouts/sidebar.vue
@@ -1,12 +1,13 @@
-
+
-
+
diff --git a/frontend/pages/organizations/[id]/about.vue b/frontend/pages/organizations/[id]/about.vue
index 5c238fd39..1b05b426b 100644
--- a/frontend/pages/organizations/[id]/about.vue
+++ b/frontend/pages/organizations/[id]/about.vue
@@ -66,7 +66,7 @@
}"
/>
-
+
@@ -81,9 +81,12 @@
diff --git a/frontend/pages/organizations/[id]/groups/[id]/about.vue b/frontend/pages/organizations/[id]/groups/[id]/about.vue
index 905578b28..186e25862 100644
--- a/frontend/pages/organizations/[id]/groups/[id]/about.vue
+++ b/frontend/pages/organizations/[id]/groups/[id]/about.vue
@@ -73,7 +73,7 @@
:group="group"
/>
-
+
@@ -84,11 +84,14 @@