chore: cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ImageProps } from "next/image"
|
||||
import type { ImageProps } from "next/image"
|
||||
|
||||
export interface AvatarProps {
|
||||
image?: ImageProps
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import { LinkProps } from "@/components/TempDesignSystem/Link/link"
|
||||
import type { LinkProps } from "@/components/TempDesignSystem/Link/link"
|
||||
|
||||
export interface HeaderLinkProps extends React.PropsWithChildren<LinkProps> {}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
import { VariantProps } from "class-variance-authority"
|
||||
|
||||
import { languageSwitcherVariants } from "@/components/LanguageSwitcher/variants"
|
||||
|
||||
import { LanguageSwitcherData } from "@/types/requests/languageSwitcher"
|
||||
|
||||
export interface LanguageSwitcherProps
|
||||
extends VariantProps<typeof languageSwitcherVariants> {
|
||||
urls: LanguageSwitcherData
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LanguageSwitcherData } from "@/types/requests/languageSwitcher"
|
||||
import type { LanguageSwitcherData } from "@/types/requests/languageSwitcher"
|
||||
|
||||
export interface MainMenuProps {
|
||||
languageUrls: LanguageSwitcherData
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { MainNavigationItem } from "./mainNavigationItem"
|
||||
|
||||
import { LanguageSwitcherData } from "@/types/requests/languageSwitcher"
|
||||
import type { LanguageSwitcherData } from "@/types/requests/languageSwitcher"
|
||||
|
||||
export interface MobileMenuProps {
|
||||
languageUrls: LanguageSwitcherData
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { navigationQueryRouter } from "@/server/routers/contentstack/myPages/navigation/query"
|
||||
|
||||
import { User } from "@/types/user"
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
type MyPagesNavigation = Awaited<
|
||||
ReturnType<(typeof navigationQueryRouter)["get"]>
|
||||
|
||||
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority"
|
||||
|
||||
import { navigationMenuVariants } from "@/components/Header/MainMenu/NavigationMenu/variants"
|
||||
|
||||
import { MainNavigationItem } from "@/types/components/header/mainNavigationItem"
|
||||
import type { MainNavigationItem } from "@/types/components/header/mainNavigationItem"
|
||||
|
||||
export interface NavigationMenuProps
|
||||
extends VariantProps<typeof navigationMenuVariants> {
|
||||
|
||||
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority"
|
||||
|
||||
import { navigationMenuItemVariants } from "@/components/Header/MainMenu/NavigationMenu/NavigationMenuItem/variants"
|
||||
|
||||
import { MainNavigationItem } from "@/types/components/header/mainNavigationItem"
|
||||
import type { MainNavigationItem } from "@/types/components/header/mainNavigationItem"
|
||||
|
||||
export interface NavigationMenuItemProps
|
||||
extends VariantProps<typeof navigationMenuItemVariants> {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LanguageSwitcherData } from "@/types/requests/languageSwitcher"
|
||||
import type { LanguageSwitcherData } from "@/types/requests/languageSwitcher"
|
||||
|
||||
export interface TopMenuProps {
|
||||
languageUrls: LanguageSwitcherData
|
||||
|
||||
Reference in New Issue
Block a user