mirror of
https://github.com/jnsahaj/tweakcn.git
synced 2026-10-29 19:23:00 +08:00
refactor: Move Header component to new path and update imports
This commit is contained in:
@@ -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,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,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";
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
import { Header } from "@/components/editor/header";
|
||||
import { Header } from "@/components/header";
|
||||
|
||||
export default function PricingLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Header } from "@/components/editor/header";
|
||||
import { Header } from "@/components/header";
|
||||
import { Loading } from "@/components/loading";
|
||||
|
||||
export default function ThemeLoading() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user