From 30801f30dd36b89d00f28b46e84dfb69b35eb358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20G=C3=BCne=C5=9F?= Date: Fri, 27 Oct 2023 21:09:31 +0300 Subject: [PATCH] feat: dashboard responsive --- .../Dashboard/Dictionaries/data-table-row-actions.tsx | 2 +- .../Feedback/Feedback.constants.tsx | 0 .../{HomeHeader => DashboardHeader}/Feedback/index.tsx | 0 .../{HomeHeader => DashboardHeader}/Navigation.tsx | 0 .../Dashboard/{HomeHeader => DashboardHeader}/index.tsx | 8 +++++--- .../navigation.constant.tsx | 0 .../next/src/components/Layout/Dashboard/Sidebar/Menu.tsx | 2 +- apps/next/src/components/Layout/Dashboard/index.tsx | 8 ++++---- 8 files changed, 11 insertions(+), 9 deletions(-) rename apps/next/src/components/Layout/Dashboard/{HomeHeader => DashboardHeader}/Feedback/Feedback.constants.tsx (100%) rename apps/next/src/components/Layout/Dashboard/{HomeHeader => DashboardHeader}/Feedback/index.tsx (100%) rename apps/next/src/components/Layout/Dashboard/{HomeHeader => DashboardHeader}/Navigation.tsx (100%) rename apps/next/src/components/Layout/Dashboard/{HomeHeader => DashboardHeader}/index.tsx (95%) rename apps/next/src/components/Layout/Dashboard/{HomeHeader => DashboardHeader}/navigation.constant.tsx (100%) diff --git a/apps/next/src/components/Dashboard/Dictionaries/data-table-row-actions.tsx b/apps/next/src/components/Dashboard/Dictionaries/data-table-row-actions.tsx index 85f755c2..cdde52fd 100644 --- a/apps/next/src/components/Dashboard/Dictionaries/data-table-row-actions.tsx +++ b/apps/next/src/components/Dashboard/Dictionaries/data-table-row-actions.tsx @@ -55,7 +55,7 @@ export function DataTableRowActions({ }, [status]); return ( -
+
{row.original.title !== "initial" && ( diff --git a/apps/next/src/components/Layout/Dashboard/HomeHeader/Feedback/Feedback.constants.tsx b/apps/next/src/components/Layout/Dashboard/DashboardHeader/Feedback/Feedback.constants.tsx similarity index 100% rename from apps/next/src/components/Layout/Dashboard/HomeHeader/Feedback/Feedback.constants.tsx rename to apps/next/src/components/Layout/Dashboard/DashboardHeader/Feedback/Feedback.constants.tsx diff --git a/apps/next/src/components/Layout/Dashboard/HomeHeader/Feedback/index.tsx b/apps/next/src/components/Layout/Dashboard/DashboardHeader/Feedback/index.tsx similarity index 100% rename from apps/next/src/components/Layout/Dashboard/HomeHeader/Feedback/index.tsx rename to apps/next/src/components/Layout/Dashboard/DashboardHeader/Feedback/index.tsx diff --git a/apps/next/src/components/Layout/Dashboard/HomeHeader/Navigation.tsx b/apps/next/src/components/Layout/Dashboard/DashboardHeader/Navigation.tsx similarity index 100% rename from apps/next/src/components/Layout/Dashboard/HomeHeader/Navigation.tsx rename to apps/next/src/components/Layout/Dashboard/DashboardHeader/Navigation.tsx diff --git a/apps/next/src/components/Layout/Dashboard/HomeHeader/index.tsx b/apps/next/src/components/Layout/Dashboard/DashboardHeader/index.tsx similarity index 95% rename from apps/next/src/components/Layout/Dashboard/HomeHeader/index.tsx rename to apps/next/src/components/Layout/Dashboard/DashboardHeader/index.tsx index a8325bd1..7acf1ae5 100644 --- a/apps/next/src/components/Layout/Dashboard/HomeHeader/index.tsx +++ b/apps/next/src/components/Layout/Dashboard/DashboardHeader/index.tsx @@ -2,6 +2,8 @@ import NavProfile from "../../NavProfile"; import ThemeMode from "../../ThemeMode"; import Feedback from "./Feedback"; import Navigation from "./Navigation"; +import DashboardHeader from "@/components/Layout/Dashboard/DashboardHeader"; +import DashboardNavigation from "@/components/Layout/Dashboard/Sidebar/Navigation"; import ChangeLanguage from "@/components/Layout/MainLayout/ChangeLanguage"; import DynamicLogo from "@/components/Logo/DynamicLogo"; import StaticLogo from "@/components/Logo/StaticLogo"; @@ -32,7 +34,7 @@ export default function HomeHeader({ className }: { className?: string }) { className )} > -