Dateien nach "frontend/src" hochladen

This commit is contained in:
2026-05-27 09:09:32 +02:00
parent b87f6ba7c9
commit f24332719f

View File

@@ -453,16 +453,17 @@ function QuickLinks({ toast, mobile }) {
{/* Link-Grid */} {/* Link-Grid */}
{links.length === 0 && !editMode {links.length === 0 && !editMode
? <div style={{ color:'rgba(255,255,255,0.5)', fontSize:11, fontFamily:'monospace', padding:'6px 0' }}>Links können unter Einstellungen Dashboard hinzugefügt werden.</div> ? <div style={{ color:'rgba(255,255,255,0.5)', fontSize:11, fontFamily:'monospace', padding:'6px 0' }}>Links können unter Einstellungen Dashboard hinzugefügt werden.</div>
: <div style={{ display:'grid', gridTemplateColumns:'repeat(auto-fill,minmax(70px,1fr))', gap:8 }}> : <div style={{ display:'grid', gridTemplateColumns:'repeat(auto-fill,minmax(80px,1fr))', gap:8 }}>
{links.map(l => ( {links.map(l => (
<div key={l.id} style={{ position:'relative' }}> <div key={l.id} style={{ position:'relative' }}>
<a href={l.url} target="_blank" rel="noopener noreferrer" <a href={l.url} target="_blank" rel="noopener noreferrer"
style={{ display:'flex', flexDirection:'column', alignItems:'center', justifyContent:'center', gap:4, style={{ display:'flex', flexDirection:'column', alignItems:'center', justifyContent:'center', gap:4,
padding:'10px 8px', background:'rgba(255,255,255,0.04)', padding: mobile?'8px 6px':'12px 18px',
background:'rgba(255,255,255,0.04)',
border:'1px solid rgba(255,255,255,0.08)', borderRadius:10, border:'1px solid rgba(255,255,255,0.08)', borderRadius:10,
textDecoration:'none', height:76, cursor:'pointer' }}> textDecoration:'none', height: mobile?72:90, cursor:'pointer' }}>
{l.icon && l.icon.startsWith('http') {l.icon && l.icon.startsWith('http')
? <img src={l.icon} alt="" style={{width:26,height:26,objectFit:'contain'}} onError={e=>e.target.style.display='none'}/> ? <img src={l.icon} alt="" style={{width:26,height:26,objectFit:'contain'}} onError={e=>e.target.style.display='none'}/>
: <span style={{ fontSize:26 }}>{l.icon}</span>} : <span style={{ fontSize:26 }}>{l.icon}</span>}
@@ -612,7 +613,7 @@ function Notepad({ toast }) {
display:'flex',justifyContent:'space-between',alignItems:'center',cursor:'pointer',padding:0}}> display:'flex',justifyContent:'space-between',alignItems:'center',cursor:'pointer',padding:0}}>
<div style={{display:'flex',alignItems:'center',gap:8}}> <div style={{display:'flex',alignItems:'center',gap:8}}>
<div style={S.head}>NOTIZEN</div> <div style={S.head}>NOTIZEN</div>
{!isOpen && content.length > 0 && ( {content.length > 0 && (
<span style={{color:'#4ecdc4',fontFamily:'monospace',fontSize:10}}>{content.length} Zeichen</span> <span style={{color:'#4ecdc4',fontFamily:'monospace',fontSize:10}}>{content.length} Zeichen</span>
)} )}
</div> </div>