From a8358d96a7a5bbfdc59159cc4000648a9c309a08 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Fri, 12 Sep 2025 21:21:58 +0200 Subject: [PATCH] added buttons to header --- .../ItemPopupComponents/HeaderView.tsx | 39 +++++++++++++++---- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx index d31f3cd3..1bb98f89 100644 --- a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx @@ -10,9 +10,11 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ import EllipsisVerticalIcon from '@heroicons/react/16/solid/EllipsisVerticalIcon' +import { MapPinIcon, ShareIcon, UserPlusIcon } from '@heroicons/react/24/outline' import PencilIcon from '@heroicons/react/24/solid/PencilIcon' import TrashIcon from '@heroicons/react/24/solid/TrashIcon' import { useState } from 'react' +import { LuNavigation } from 'react-icons/lu' import SVG from 'react-inlinesvg' import { useNavigate } from 'react-router-dom' @@ -81,11 +83,13 @@ export function HeaderView({
{item.name setImageLoaded(true)} @@ -98,9 +102,9 @@ export function HeaderView({
)} -
+
{title} @@ -111,8 +115,10 @@ export function HeaderView({
)} {subtitle && !hideSubname && ( -
- {subtitle} +
+ {subtitle}
)}
@@ -188,6 +194,25 @@ export function HeaderView({ )}
+ {big && ( +
+
+
+
+
+ + Follow +
+
+ +
+
+ +
+
+
+ )} +