Refactor project tasks page and navigation components

- Updated the description in ProjectTasksPage to a placeholder.
- Commented out the display of assigned email in ProjectTasksList.
- Removed the dashboard link from the navigation items.
- Changed the main link in the navigation to point to projects instead of the dashboard.
- Commented out the LanguageSwitcher and user role display in the navigation.
- Translated "Project Location" to "Lokalizacja projektu" in ProjectMap.
- Commented out the instruction for using the layer control in ProjectMap.
- Removed the label "Coordinates:" from the coordinates display in ProjectMap.
- Updated project and contract subtitles in translations to placeholders.
- Added a new empty validation schema file.
This commit is contained in:
2025-07-28 20:56:04 +02:00
parent 747a68832e
commit 8e35821344
14 changed files with 305 additions and 1103 deletions

View File

@@ -51,7 +51,7 @@ export default function ProjectMap({
<div className="space-y-2">
<div className="flex items-center justify-between">
<h3 className="text-sm font-medium text-gray-700">
Project Location
Lokalizacja projektu
</h3>
<div className="text-xs text-gray-500">No coordinates available</div>
</div>
@@ -85,7 +85,7 @@ export default function ProjectMap({
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
<h3 className="text-sm font-medium text-gray-700">
Project Location
Lokalizacja projektu
</h3>
<div
className="w-3 h-3 rounded-full border border-white shadow-sm"
@@ -95,7 +95,7 @@ export default function ProjectMap({
</div>
{showLayerControl && (
<div className="text-xs text-gray-500">
Use the layer control (📚) to switch map views
{/* Use the layer control (📚) to switch map views */}
</div>
)}
</div>
@@ -158,7 +158,7 @@ export default function ProjectMap({
</div>
<div className="flex items-center justify-between">
<p className="text-xs text-gray-500">
Coordinates: {coords.lat.toFixed(6)}, {coords.lng.toFixed(6)}
{coords.lat.toFixed(6)}, {coords.lng.toFixed(6)}
</p>
<div className="flex items-center gap-1 text-xs text-gray-500">
<div