diff --git a/src/App.jsx b/src/App.jsx index f95f1e9..2413bef 100755 --- a/src/App.jsx +++ b/src/App.jsx @@ -27,7 +27,7 @@ import PayInvoice from './pages/PayInvoice'; const Settings = lazy(() => import('./pages/Settings')); const CompaniesPage = lazy(() => import('./pages/CompaniesPage')); -const CompanyDetail = lazy(() => import('./pages/team/CompanyDetail')); +const CompanyDetail = lazy(() => import('./pages/CompanyDetail')); const Invoices = lazy(() => import('./pages/team/Invoices')); const MeetingNotes = lazy(() => import('./pages/team/MeetingNotes')); const RequestDetail = lazy(() => import('./pages/RequestDetail')); @@ -36,9 +36,9 @@ const CreateSubcontractorPO = lazy(() => import('./pages/team/CreateSubcontracto const InvoiceDetail = lazy(() => import('./pages/team/InvoiceDetail')); const SubcontractorPODetail = lazy(() => import('./pages/team/SubcontractorPODetail')); const SubInvoiceDetail = lazy(() => import('./pages/team/SubInvoiceDetail')); -const SurveyMaker = lazy(() => import('./pages/team/SurveyMaker')); -const BrandBook = lazy(() => import('./pages/team/BrandBook')); -const Converters = lazy(() => import('./pages/team/Converters')); +const SurveyMaker = lazy(() => import('./pages/SurveyMaker')); +const BrandBook = lazy(() => import('./pages/BrandBook')); +const Converters = lazy(() => import('./pages/Converters')); const FileSharing = lazy(() => import('./pages/FileSharing')); const FourgePasswords = lazy(() => import('./pages/team/FourgePasswords')); const MyPurchaseOrders = lazy(() => import('./pages/external/MyPurchaseOrders')); diff --git a/src/pages/team/BrandBook.jsx b/src/pages/BrandBook.jsx similarity index 99% rename from src/pages/team/BrandBook.jsx rename to src/pages/BrandBook.jsx index f9546b9..7858d88 100644 --- a/src/pages/team/BrandBook.jsx +++ b/src/pages/BrandBook.jsx @@ -1,11 +1,11 @@ import { useState, useEffect, useRef } from 'react'; -import Layout from '../../components/Layout'; -import LoadingButton from '../../components/LoadingButton'; -import SortTh from '../../components/SortTh'; -import { useSortable } from '../../hooks/useSortable'; -import { supabase } from '../../lib/supabase'; -import { generateBrandBookEditorPDF } from '../../lib/brandBookEditor'; -import { cleanupBrandBookStorage } from '../../lib/deleteHelpers'; +import Layout from '../components/Layout'; +import LoadingButton from '../components/LoadingButton'; +import SortTh from '../components/SortTh'; +import { useSortable } from '../hooks/useSortable'; +import { supabase } from '../lib/supabase'; +import { generateBrandBookEditorPDF } from '../lib/brandBookEditor'; +import { cleanupBrandBookStorage } from '../lib/deleteHelpers'; const BUCKET = 'brand-books'; diff --git a/src/pages/team/CompanyDetail.jsx b/src/pages/CompanyDetail.jsx similarity index 98% rename from src/pages/team/CompanyDetail.jsx rename to src/pages/CompanyDetail.jsx index 1bdf735..9c49c94 100644 --- a/src/pages/team/CompanyDetail.jsx +++ b/src/pages/CompanyDetail.jsx @@ -1,12 +1,12 @@ import { useState, useEffect } from 'react'; import { useParams, Link, useNavigate } from 'react-router-dom'; -import Layout from '../../components/Layout'; -import StatusBadge from '../../components/StatusBadge'; -import { supabase } from '../../lib/supabase'; -import { useAuth } from '../../context/AuthContext'; -import { serviceTypes } from '../../data/mockData'; -import { cleanupTaskStorage, deleteCompanyData } from '../../lib/deleteHelpers'; -import { renameClientFolder, backfillClientFolders } from '../../lib/filebrowserFolders'; +import Layout from '../components/Layout'; +import StatusBadge from '../components/StatusBadge'; +import { supabase } from '../lib/supabase'; +import { useAuth } from '../context/AuthContext'; +import { serviceTypes } from '../data/mockData'; +import { cleanupTaskStorage, deleteCompanyData } from '../lib/deleteHelpers'; +import { renameClientFolder, backfillClientFolders } from '../lib/filebrowserFolders'; export default function CompanyDetail() { const { id } = useParams(); diff --git a/src/pages/team/Converters.jsx b/src/pages/Converters.jsx similarity index 99% rename from src/pages/team/Converters.jsx rename to src/pages/Converters.jsx index d5e1c0e..74dea51 100644 --- a/src/pages/team/Converters.jsx +++ b/src/pages/Converters.jsx @@ -1,8 +1,8 @@ import { useEffect, useMemo, useRef, useState } from 'react'; import JSZip from 'jszip'; import { heicTo, isHeic } from 'heic-to/csp'; -import Layout from '../../components/Layout'; -import LoadingButton from '../../components/LoadingButton'; +import Layout from '../components/Layout'; +import LoadingButton from '../components/LoadingButton'; const INPUT_ACCEPT = 'image/*,.heic,.heif,.avif,.tif,.tiff,.bmp,.webp,.jpeg,.jpg,.png,.gif'; const OUTPUT_FORMATS = [ diff --git a/src/pages/team/SurveyMaker.jsx b/src/pages/SurveyMaker.jsx similarity index 98% rename from src/pages/team/SurveyMaker.jsx rename to src/pages/SurveyMaker.jsx index 35a5199..a13d0d9 100644 --- a/src/pages/team/SurveyMaker.jsx +++ b/src/pages/SurveyMaker.jsx @@ -1,7 +1,7 @@ import { useRef, useState } from 'react'; -import Layout from '../../components/Layout'; -import LoadingButton from '../../components/LoadingButton'; -import { generateSurveyMakerPdf } from '../../lib/surveyMakerPdf'; +import Layout from '../components/Layout'; +import LoadingButton from '../components/LoadingButton'; +import { generateSurveyMakerPdf } from '../lib/surveyMakerPdf'; const PHOTO_FILE_ACCEPT = 'image/*,.heic,.heif,.avif,.tif,.tiff,.bmp,.webp,.jpeg,.jpg,.png,.gif'; const PHOTO_FILE_EXTENSIONS = new Set(['heic', 'heif', 'avif', 'tif', 'tiff', 'bmp', 'webp', 'jpeg', 'jpg', 'png', 'gif']);