diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index cc5fac3..95f1872 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -26,7 +26,7 @@ import {FluentProvider, Tab, TabList, webDarkTheme} from '@fluentui/react-components'; import {FC, useEffect, useState} from 'react'; import {Route, Routes, useLocation, useNavigate} from 'react-router'; -import {pages} from './Pages'; +import {pages} from './pages'; import {useMediaQuery} from 'usehooks-ts'; const App: FC = () => { diff --git a/frontend/src/Pages/components/Labeled.tsx b/frontend/src/components/Labeled.tsx similarity index 100% rename from frontend/src/Pages/components/Labeled.tsx rename to frontend/src/components/Labeled.tsx diff --git a/frontend/src/Pages/components/Section.tsx b/frontend/src/components/Section.tsx similarity index 100% rename from frontend/src/Pages/components/Section.tsx rename to frontend/src/components/Section.tsx diff --git a/frontend/src/Pages/components/ToolTipButton.tsx b/frontend/src/components/ToolTipButton.tsx similarity index 100% rename from frontend/src/Pages/components/ToolTipButton.tsx rename to frontend/src/components/ToolTipButton.tsx diff --git a/frontend/src/Pages/About.tsx b/frontend/src/pages/About.tsx similarity index 100% rename from frontend/src/Pages/About.tsx rename to frontend/src/pages/About.tsx diff --git a/frontend/src/Pages/Chat.tsx b/frontend/src/pages/Chat.tsx similarity index 100% rename from frontend/src/Pages/Chat.tsx rename to frontend/src/pages/Chat.tsx diff --git a/frontend/src/Pages/Configs.tsx b/frontend/src/pages/Configs.tsx similarity index 96% rename from frontend/src/Pages/Configs.tsx rename to frontend/src/pages/Configs.tsx index b69fcf6..1b1cc8e 100644 --- a/frontend/src/Pages/Configs.tsx +++ b/frontend/src/pages/Configs.tsx @@ -1,9 +1,9 @@ import {Button, Divider, Dropdown, Input, Option, Slider, Switch, Text} from '@fluentui/react-components'; import {AddCircle20Regular, DataUsageSettings20Regular, Delete20Regular, Save20Regular} from '@fluentui/react-icons'; import React, {FC} from 'react'; -import {Section} from './components/Section'; -import {Labeled} from './components/Labeled'; -import {ToolTipButton} from './components/ToolTipButton'; +import {Section} from '../components/Section'; +import {Labeled} from '../components/Labeled'; +import {ToolTipButton} from '../components/ToolTipButton'; export const Configs: FC = () => { return ( diff --git a/frontend/src/Pages/Home.tsx b/frontend/src/pages/Home.tsx similarity index 100% rename from frontend/src/Pages/Home.tsx rename to frontend/src/pages/Home.tsx diff --git a/frontend/src/Pages/Models.tsx b/frontend/src/pages/Models.tsx similarity index 98% rename from frontend/src/Pages/Models.tsx rename to frontend/src/pages/Models.tsx index 6d8cc85..18cf31a 100644 --- a/frontend/src/Pages/Models.tsx +++ b/frontend/src/pages/Models.tsx @@ -13,7 +13,7 @@ import { Textarea } from '@fluentui/react-components'; import {EditRegular} from '@fluentui/react-icons/lib/fonts'; -import {ToolTipButton} from './components/ToolTipButton'; +import {ToolTipButton} from '../components/ToolTipButton'; import {ArrowClockwise20Regular} from '@fluentui/react-icons'; type Operation = { diff --git a/frontend/src/Pages/Settings.tsx b/frontend/src/pages/Settings.tsx similarity index 100% rename from frontend/src/Pages/Settings.tsx rename to frontend/src/pages/Settings.tsx diff --git a/frontend/src/Pages/Train.tsx b/frontend/src/pages/Train.tsx similarity index 100% rename from frontend/src/Pages/Train.tsx rename to frontend/src/pages/Train.tsx diff --git a/frontend/src/Pages/index.tsx b/frontend/src/pages/index.tsx similarity index 100% rename from frontend/src/Pages/index.tsx rename to frontend/src/pages/index.tsx