diff --git a/src/components/molecules/FancyNavBar/utils/FlexBoxTemplateNav/FlexBoxTemplateNav.tsx b/src/components/molecules/FancyNavBar/utils/FlexBoxTemplateNav/FlexBoxTemplateNav.tsx deleted file mode 100644 index 9ad4febc0..000000000 --- a/src/components/molecules/FancyNavBar/utils/FlexBoxTemplateNav/FlexBoxTemplateNav.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import React from 'react'; -import { FancyFlexBox } from '@/components/templates/FancyFlexBox'; - -type TFlexBoxTemplateNavProps = { - children?: React.ReactNode; -} & React.ComponentProps; -export default function FlexBoxTemplateNav(props: TFlexBoxTemplateNavProps) { - const { children, ...flexProps } = props; - - return ( - - {children} - - ); -} diff --git a/src/components/molecules/FancyNavBar/utils/FlexBoxTemplateNav/index.ts b/src/components/molecules/FancyNavBar/utils/FlexBoxTemplateNav/index.ts deleted file mode 100644 index 658a67631..000000000 --- a/src/components/molecules/FancyNavBar/utils/FlexBoxTemplateNav/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as FlexBoxTemplateNav } from './FlexBoxTemplateNav'; diff --git a/src/components/molecules/FancyNavBar/utils/SwitchIndicatorList/SwitchIndicatorList.tsx b/src/components/molecules/FancyNavBar/utils/SwitchIndicatorList/SwitchIndicatorList.tsx deleted file mode 100644 index 9de553efb..000000000 --- a/src/components/molecules/FancyNavBar/utils/SwitchIndicatorList/SwitchIndicatorList.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import React from 'react'; - -import { SwitchList } from '@/components/molecules/SwitchList'; - -type TSwitchIndicatorListProps = { - children?: React.ReactNode; -} & React.ComponentProps; - -export default function SwitchIndicatorList(props: TSwitchIndicatorListProps) { - const { children, flexBoxProps, ...switchListProps } = props; - return ( - - {children} - - ); -} diff --git a/src/components/molecules/FancyNavBar/utils/SwitchIndicatorList/index.ts b/src/components/molecules/FancyNavBar/utils/SwitchIndicatorList/index.ts deleted file mode 100644 index 64c3f1705..000000000 --- a/src/components/molecules/FancyNavBar/utils/SwitchIndicatorList/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as SwitchIndicatorList } from './SwitchIndicatorList'; diff --git a/src/components/organisms/FancyHeader/HeaderNav/HeaderNav.tsx b/src/components/organisms/FancyHeader/HeaderNav/HeaderNav.tsx deleted file mode 100644 index a2bc4aff4..000000000 --- a/src/components/organisms/FancyHeader/HeaderNav/HeaderNav.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import React from 'react'; - -import { RawNav } from '@/components/atoms/RawNav'; -import { RawUL } from '@/components/atoms/RawUL'; -import { RawLI } from '@/components/atoms/RawLI'; - -interface IHeaderNav { - children?: React.ReactNode; -} -export default function HeaderNav({ children }: IHeaderNav) { - const MapedChilds = React.Children.map(children, (child) => { - console.log(child); - if (React.isValidElement(child)) { - return {child}; - } - return child; - }); - - return ( - - {MapedChilds} - - ); -}