aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/layout
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-08 12:04:25 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-08 12:04:25 +0100
commitb9bb62cf0c2af848bf02e2a74d9bd109ef570010 (patch)
tree9300e05dca96a39a06e8a38bf7ee91dcd7ec77ea /src/frontend/app/components/layout
parent107295575e3a7c37911ae192baf426b0003975a4 (diff)
Update formatting
Diffstat (limited to 'src/frontend/app/components/layout')
-rw-r--r--src/frontend/app/components/layout/AppShell.tsx5
-rw-r--r--src/frontend/app/components/layout/Drawer.css4
-rw-r--r--src/frontend/app/components/layout/NavBar.tsx9
3 files changed, 12 insertions, 6 deletions
diff --git a/src/frontend/app/components/layout/AppShell.tsx b/src/frontend/app/components/layout/AppShell.tsx
index 91f6c0d..08aee59 100644
--- a/src/frontend/app/components/layout/AppShell.tsx
+++ b/src/frontend/app/components/layout/AppShell.tsx
@@ -1,6 +1,9 @@
import React, { useState } from "react";
import { Outlet } from "react-router";
-import { PageTitleProvider, usePageTitleContext } from "~/contexts/PageTitleContext";
+import {
+ PageTitleProvider,
+ usePageTitleContext,
+} from "~/contexts/PageTitleContext";
import { ThemeColorManager } from "../ThemeColorManager";
import "./AppShell.css";
import { Drawer } from "./Drawer";
diff --git a/src/frontend/app/components/layout/Drawer.css b/src/frontend/app/components/layout/Drawer.css
index 27ccce6..4f6bd5f 100644
--- a/src/frontend/app/components/layout/Drawer.css
+++ b/src/frontend/app/components/layout/Drawer.css
@@ -8,7 +8,9 @@
z-index: 99;
opacity: 0;
visibility: hidden;
- transition: opacity 0.3s ease, visibility 0.3s ease;
+ transition:
+ opacity 0.3s ease,
+ visibility 0.3s ease;
}
.drawer-overlay.open {
diff --git a/src/frontend/app/components/layout/NavBar.tsx b/src/frontend/app/components/layout/NavBar.tsx
index 0ac6a71..40591c4 100644
--- a/src/frontend/app/components/layout/NavBar.tsx
+++ b/src/frontend/app/components/layout/NavBar.tsx
@@ -57,7 +57,7 @@ export default function NavBar({ orientation = "horizontal" }: NavBarProps) {
updateMapState(coords, 16);
}
},
- () => { },
+ () => {},
{
enableHighAccuracy: false,
maximumAge: 5 * 60 * 1000,
@@ -70,13 +70,14 @@ export default function NavBar({ orientation = "horizontal" }: NavBarProps) {
name: t("navbar.lines", "LĂ­neas"),
icon: Route,
path: "/lines",
- }
+ },
];
return (
<nav
- className={`${styles.navBar} ${orientation === "vertical" ? styles.vertical : ""
- }`}
+ className={`${styles.navBar} ${
+ orientation === "vertical" ? styles.vertical : ""
+ }`}
>
{navItems.map((item) => {
const Icon = item.icon;