refactor
This commit is contained in:
parent
01c4c0ba2e
commit
1744c7a96a
|
@ -1,9 +1,9 @@
|
|||
import type { Metadata } from 'next';
|
||||
import ThemeWrapper from '@/lib/components/ThemeWrapper';
|
||||
import ThemeWrapper from '@/lib/components/wrapper/ThemeWrapper';
|
||||
import './globals.css';
|
||||
import AuthWrapper from '@/lib/components/AuthWrapper';
|
||||
import AuthWrapper from '@/lib/components/wrapper/AuthWrapper';
|
||||
import { getServerSession } from 'next-auth';
|
||||
import NavigationWrapper from '@/lib/components/NavigationWrapper';
|
||||
import NavigationWrapper from '@/lib/components/wrapper/NavigationWrapper';
|
||||
import { ThemePanel } from '@radix-ui/themes';
|
||||
import BackgroundImage from '@/lib/components/ui/BackgroundImage';
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
import { Button, Flex, Heading, Text, Link } from "@radix-ui/themes";
|
||||
import { Session } from "next-auth";
|
||||
import { SessionProvider, signIn } from "next-auth/react";
|
||||
import useThemePreference from "../hooks/useThemePreference";
|
||||
import { WEBMAIL_URL } from "../constants";
|
||||
import useThemePreference from "../../hooks/useThemePreference";
|
||||
import { WEBMAIL_URL } from "../../constants";
|
||||
|
||||
export default function AuthWrapper({
|
||||
children,
|
|
@ -1,8 +1,8 @@
|
|||
"use client";
|
||||
|
||||
import { Flex } from "@radix-ui/themes";
|
||||
import useWindowDimensions from "../hooks/useWindowDimensions";
|
||||
import NavigationPanel from "./ui/NavigationPanel";
|
||||
import useWindowDimensions from "../../hooks/useWindowDimensions";
|
||||
import NavigationPanel from "../ui/NavigationPanel";
|
||||
|
||||
export default function NavigationWrapper({
|
||||
children,
|
|
@ -3,7 +3,7 @@
|
|||
import '@radix-ui/themes/styles.css';
|
||||
import { Theme } from "@radix-ui/themes";
|
||||
import { useEffect, useState } from 'react';
|
||||
import useThemePreference from '../hooks/useThemePreference';
|
||||
import useThemePreference from '../../hooks/useThemePreference';
|
||||
|
||||
export default function ThemeWrapper({
|
||||
children,
|
Loading…
Reference in a new issue