This is an automated email from the ASF dual-hosted git repository.
bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new bf4db2c374b Add a link to the Airflow logo in Nav (#50304)
bf4db2c374b is described below
commit bf4db2c374bc252b9d88822f6c89551f26786fdd
Author: Lee Gaines <[email protected]>
AuthorDate: Wed May 7 11:32:11 2025 -0400
Add a link to the Airflow logo in Nav (#50304)
---
airflow-core/src/airflow/ui/src/layouts/Nav/Nav.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/ui/src/layouts/Nav/Nav.tsx
b/airflow-core/src/airflow/ui/src/layouts/Nav/Nav.tsx
index 1d5f9de9e66..2b206591a72 100644
--- a/airflow-core/src/airflow/ui/src/layouts/Nav/Nav.tsx
+++ b/airflow-core/src/airflow/ui/src/layouts/Nav/Nav.tsx
@@ -18,6 +18,7 @@
*/
import { Box, Flex, VStack } from "@chakra-ui/react";
import { FiDatabase, FiHome } from "react-icons/fi";
+import { NavLink } from "react-router-dom";
import { useAuthLinksServiceGetAuthMenus, useVersionServiceGetVersion } from
"openapi/queries";
import { AirflowPin } from "src/assets/AirflowPin";
@@ -50,7 +51,9 @@ export const Nav = () => {
>
<Flex alignItems="center" flexDir="column" width="100%">
<Box mb={3}>
- <AirflowPin height="35px" width="35px" />
+ <NavLink to="/">
+ <AirflowPin height="35px" width="35px" />
+ </NavLink>
</Box>
<NavButton icon={<FiHome size="1.75rem" />} title="Home" to="/" />
<NavButton