Changed pptx icon
All checks were successful
Automated Container Build / build-and-push (push) Successful in 47s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 47s
This commit is contained in:
parent
9454ad28ea
commit
b4d3488a85
2 changed files with 6 additions and 6 deletions
|
|
@ -8,7 +8,7 @@ import {
|
||||||
MoreVertical, Star, Download, Pencil, Copy, Move,
|
MoreVertical, Star, Download, Pencil, Copy, Move,
|
||||||
FolderPlus, ArrowUp, X, Check, RefreshCw, Info, Link as LinkIcon, Image as ImageIcon, Film as FilmIcon, Home,
|
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,
|
Sun, Moon, Music as MusicIcon, Code as CodeIcon, Archive as ArchiveIcon, CornerDownRight,
|
||||||
CheckCircle, AlertCircle, Menu, FileText, Presentation, FileSpreadsheet
|
CheckCircle, AlertCircle, Menu, FileText, Projector, FileSpreadsheet
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import api from '@/lib/api';
|
import api from '@/lib/api';
|
||||||
import { useIsMobile } from '@/hooks/useIsMobile';
|
import { useIsMobile } from '@/hooks/useIsMobile';
|
||||||
|
|
@ -1180,7 +1180,7 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) {
|
||||||
if (ext === 'pptx' || ext === 'ppt') {
|
if (ext === 'pptx' || ext === 'ppt') {
|
||||||
return (
|
return (
|
||||||
<div className={`${large ? 'w-28 h-20 rounded-2xl text-2xl' : 'w-5 h-5 rounded text-[6px] flex-shrink-0 aspect-square'} flex items-center justify-center font-black tracking-tighter shadow-sm text-white bg-[#D24726]`}>
|
<div className={`${large ? 'w-28 h-20 rounded-2xl text-2xl' : 'w-5 h-5 rounded text-[6px] flex-shrink-0 aspect-square'} flex items-center justify-center font-black tracking-tighter shadow-sm text-white bg-[#D24726]`}>
|
||||||
<Presentation className={large ? "w-10 h-10 text-white" : "w-3 h-3 text-white"} />
|
<Projector className={large ? "w-10 h-10 text-white" : "w-3 h-3 text-white"} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
@ -1454,7 +1454,7 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className="w-7 h-7 rounded-lg flex items-center justify-center" style={{ background: appMode === 'slides' ? 'linear-gradient(135deg, #f59e0b, #d97706)' : 'var(--color-bg-elevated)' }}>
|
<div className="w-7 h-7 rounded-lg flex items-center justify-center" style={{ background: appMode === 'slides' ? 'linear-gradient(135deg, #f59e0b, #d97706)' : 'var(--color-bg-elevated)' }}>
|
||||||
<Presentation className={`w-4 h-4 ${appMode === 'slides' ? 'text-white' : ''}`} style={{ color: appMode !== 'slides' ? 'var(--color-text-secondary)' : undefined }} />
|
<Projector className={`w-4 h-4 ${appMode === 'slides' ? 'text-white' : ''}`} style={{ color: appMode !== 'slides' ? 'var(--color-text-secondary)' : undefined }} />
|
||||||
</div>
|
</div>
|
||||||
Slides
|
Slides
|
||||||
</button>
|
</button>
|
||||||
|
|
@ -1579,7 +1579,7 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) {
|
||||||
color: !editingFile ? 'var(--color-accent)' : 'var(--color-text-secondary)',
|
color: !editingFile ? 'var(--color-accent)' : 'var(--color-text-secondary)',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Presentation className="w-4.5 h-4.5" />
|
<Projector className="w-4.5 h-4.5" />
|
||||||
Recent Presentations
|
Recent Presentations
|
||||||
</button>
|
</button>
|
||||||
{renderPinnedSidebarSection('.pptx')}
|
{renderPinnedSidebarSection('.pptx')}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React, { useState, useEffect, useRef } from 'react';
|
import React, { useState, useEffect, useRef } from 'react';
|
||||||
import { Plus, Pencil, Trash2, Pin, FileText, Presentation, FileSpreadsheet } from 'lucide-react';
|
import { Plus, Pencil, Trash2, Pin, FileText, Projector, FileSpreadsheet } from 'lucide-react';
|
||||||
import api from '@/lib/api';
|
import api from '@/lib/api';
|
||||||
|
|
||||||
interface FileItem {
|
interface FileItem {
|
||||||
|
|
@ -33,7 +33,7 @@ function WordIcon({ className }: { className?: string }) {
|
||||||
function PptIcon({ className }: { className?: string }) {
|
function PptIcon({ className }: { className?: string }) {
|
||||||
return (
|
return (
|
||||||
<div className={`flex items-center justify-center text-white bg-[#D24726] rounded-lg ${className || ''}`}>
|
<div className={`flex items-center justify-center text-white bg-[#D24726] rounded-lg ${className || ''}`}>
|
||||||
<Presentation className="w-[55%] h-[55%]" />
|
<Projector className="w-[55%] h-[55%]" />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue