refactor: Move Header component to new path and update imports

This commit is contained in:
Luis Llanes
2025-05-13 14:09:18 +05:30
committed by Sahaj Jain
parent f46cd6028f
commit d21eae98de
9 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import React from "react";
import { Header } from "@/components/editor/header";
import { Header } from "@/components/header";
interface LegalLayoutProps {
children: React.ReactNode;
+1 -1
View File
@@ -1,5 +1,5 @@
import { Loading } from "@/components/loading";
import { Header } from "@/components/editor/header";
import { Header } from "@/components/header";
export default function DashboardLoading() {
return (
+1 -1
View File
@@ -1,5 +1,5 @@
import { getThemes } from "@/actions/themes";
import { Header } from "@/components/editor/header";
import { Header } from "@/components/header";
import { Palette, Plus } from "lucide-react";
import Link from "next/link";
import { Button } from "@/components/ui/button";
+1 -1
View File
@@ -2,7 +2,7 @@ import { getEditorConfig } from "@/config/editors";
import { cn } from "@/lib/utils";
import Editor from "@/components/editor/editor";
import { Metadata } from "next";
import { Header } from "../../../../components/editor/header";
import { Header } from "@/components/header";
import { getTheme } from "@/actions/themes";
import { Suspense } from "react";
import { Loading } from "@/components/loading";
+1 -1
View File
@@ -1,4 +1,4 @@
import { Header } from "@/components/editor/header";
import { Header } from "@/components/header";
export default function PricingLayout({ children }: { children: React.ReactNode }) {
return (
+1 -1
View File
@@ -1,4 +1,4 @@
import { Header } from "@/components/editor/header";
import { Header } from "@/components/header";
import { Loading } from "@/components/loading";
export default function ThemeLoading() {
+1 -1
View File
@@ -2,7 +2,7 @@ import { Suspense } from "react";
import { getTheme } from "@/actions/themes";
import ThemeView from "@/components/theme-view";
import { Metadata } from "next";
import { Header } from "@/components/editor/header";
import { Header } from "@/components/header";
import { Loading } from "@/components/loading";
interface ThemePageProps {
+1 -1
View File
@@ -14,7 +14,7 @@ import {
import { useEditorStore } from "@/store/editor-store";
import { useRouter } from "next/navigation";
import { useEffect } from "react";
import { Header } from "./editor/header";
import { Header } from "./header";
import { Footer } from "@/components/home/footer";
import { toast } from "@/components/ui/use-toast";