Skip to content

Commit

Permalink
OV-29: * add a separted folder for icons
Browse files Browse the repository at this point in the history
  • Loading branch information
lfelix3011 committed Aug 23, 2024
1 parent 80b0bcf commit 090e086
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ import {
IconButton,
Input,
InputGroup,
InputRightElement,
ViewIcon,
ViewOffIcon,
InputRightElement
} from '~/bundles/common/components/components.js';
import { useCallback, useState } from '~/bundles/common/hooks/hooks.js';
import { ViewIcon, ViewOffIcon } from '~/bundles/common/icons/icons.js';

type Properties = {
label: string;
Expand Down
9 changes: 0 additions & 9 deletions frontend/src/bundles/common/components/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ export { Overlay } from './overlay/overlay.js';
export { Player } from './player/player.js';
export { RouterProvider } from './router-provider/router-provider.js';
export { VideoModal } from './video-modal/video-modal.js';
export { DownloadIcon } from '@chakra-ui/icons';
export { ViewIcon, ViewOffIcon } from '@chakra-ui/icons';
export {
Box,
Center,
Expand All @@ -28,13 +26,6 @@ export {
Text,
VStack,
} from '@chakra-ui/react';
export {
faCircleUser,
faCloudArrowUp,
faFont,
faT,
faTableColumns,
} from '@fortawesome/free-solid-svg-icons';
export { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
export { FormikProvider as FormProvider } from 'formik';
export { Provider as StoreProvider } from 'react-redux';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { DownloadIcon, ViewIcon, ViewOffIcon } from '@chakra-ui/icons';
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export {
faCircleUser,
faCloudArrowUp,
faFont,
faT,
faTableColumns,
} from '@fortawesome/free-solid-svg-icons';
8 changes: 8 additions & 0 deletions frontend/src/bundles/common/icons/icons.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export { DownloadIcon, ViewIcon, ViewOffIcon } from './chakra-icon/chakra-icon.js';
export {
faCircleUser,
faCloudArrowUp,
faFont,
faT,
faTableColumns,
} from './font-awesome-icon/font-awesome-icon.js';
2 changes: 1 addition & 1 deletion frontend/src/bundles/studio/pages/studio.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
Button,
DownloadIcon,
Header,
IconButton,
} from '~/bundles/common/components/components.js';
import { DownloadIcon } from '~/bundles/common/icons/icons.js';

const Studio: React.FC = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
faCloudArrowUp,
Flex,
FontAwesomeIcon,
Icon,
} from '~/bundles/common/components/components.js';
import { faCloudArrowUp } from '~/bundles/common/icons/icons.js';

const TemplatesContent: React.FC = () => (
<div>This is the Templates content.</div>
Expand Down
7 changes: 3 additions & 4 deletions frontend/src/bundles/video-editor/pages/video-editor.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { FontAwesomeIcon, Icon } from '~/bundles/common/components/components.js';
import { useCallback, useState } from '~/bundles/common/hooks/hooks.js';
import {
faCircleUser,
faCloudArrowUp,
faFont,
faT,
faTableColumns,
FontAwesomeIcon,
Icon,
} from '~/bundles/common/components/components.js';
import { useCallback, useState } from '~/bundles/common/hooks/hooks.js';
} from '~/bundles/common/icons/icons.js';

import { Menu, MenuBody } from '../components/components.js';
import {
Expand Down

0 comments on commit 090e086

Please sign in to comment.