diff --git a/backend/test_xlsx.py b/backend/test_xlsx.py deleted file mode 100644 index 720c917..0000000 --- a/backend/test_xlsx.py +++ /dev/null @@ -1,40 +0,0 @@ -import zipfile - -def create_empty_xlsx(filename): - with zipfile.ZipFile(filename, 'w') as zf: - # [Content_Types].xml - zf.writestr('[Content_Types].xml', """ - - - - - -""") - - # _rels/.rels - zf.writestr('_rels/.rels', """ - - -""") - - # xl/workbook.xml - zf.writestr('xl/workbook.xml', """ - - - - -""") - - # xl/_rels/workbook.xml.rels - zf.writestr('xl/_rels/workbook.xml.rels', """ - - -""") - - # xl/worksheets/sheet1.xml - zf.writestr('xl/worksheets/sheet1.xml', """ - - -""") - -create_empty_xlsx('test.xlsx') diff --git a/frontend/src/components/FileExplorer.tsx b/frontend/src/components/FileExplorer.tsx index c19ec5a..cc105e8 100644 --- a/frontend/src/components/FileExplorer.tsx +++ b/frontend/src/components/FileExplorer.tsx @@ -8,7 +8,7 @@ import { MoreVertical, Star, Download, Pencil, Copy, Move, FolderPlus, ArrowUp, X, Check, RefreshCw, Info, Link as LinkIcon, Image as ImageIcon, Film as FilmIcon, Home, Sun, Moon, Music as MusicIcon, Code as CodeIcon, Archive as ArchiveIcon, CornerDownRight, - CheckCircle, AlertCircle, Menu, FileText, Projector, FileSpreadsheet + CheckCircle, AlertCircle, Menu, FileText, LayoutTemplate, FileSpreadsheet } from 'lucide-react'; import api from '@/lib/api'; import { useIsMobile } from '@/hooks/useIsMobile'; @@ -1180,7 +1180,7 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) { if (ext === 'pptx' || ext === 'ppt') { return (
- +
); } @@ -1454,7 +1454,7 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) { }} >
- +
Slides @@ -1579,7 +1579,7 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) { color: !editingFile ? 'var(--color-accent)' : 'var(--color-text-secondary)', }} > - + Recent Presentations {renderPinnedSidebarSection('.pptx')} diff --git a/frontend/src/components/OfficeHome.tsx b/frontend/src/components/OfficeHome.tsx index 7f01f33..cf117a4 100644 --- a/frontend/src/components/OfficeHome.tsx +++ b/frontend/src/components/OfficeHome.tsx @@ -1,5 +1,5 @@ import React, { useState, useEffect, useRef } from 'react'; -import { Plus, Pencil, Trash2, Pin, FileText, Projector, FileSpreadsheet } from 'lucide-react'; +import { Plus, Pencil, Trash2, Pin, FileText, LayoutTemplate, FileSpreadsheet } from 'lucide-react'; import api from '@/lib/api'; interface FileItem { @@ -33,7 +33,7 @@ function WordIcon({ className }: { className?: string }) { function PptIcon({ className }: { className?: string }) { return (
- +
); }