nyte 1.2.4 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) 2026 itsmuzin
4
4
  */
5
5
  import React, { useState, useEffect } from 'react';
6
- import { Home, RefreshCw, AlertTriangle } from 'lucide-react';
6
+ // REMOVIDO: import { Home, RefreshCw, AlertTriangle } from 'lucide-react';
7
7
 
8
8
  export default function ErrorPage() {
9
9
  const [path, setPath] = useState('/');
@@ -193,7 +193,11 @@ export default function ErrorPage() {
193
193
  onMouseLeave={() => setHoverHome(false)}
194
194
  style={{ ...getBtnStyle('primary', hoverHome), flex: 1, justifyContent: 'center' }}
195
195
  >
196
- <Home size={16} />
196
+ {/* SUBSTITUIÇÃO: Home Icon SVG */}
197
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
198
+ <path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />
199
+ <polyline points="9 22 9 12 15 12 15 22" />
200
+ </svg>
197
201
  Back Home
198
202
  </a>
199
203
  <button
@@ -202,7 +206,13 @@ export default function ErrorPage() {
202
206
  onMouseLeave={() => setHoverRetry(false)}
203
207
  style={{ ...getBtnStyle('secondary', hoverRetry), flex: 1, justifyContent: 'center' }}
204
208
  >
205
- <RefreshCw size={16} />
209
+ {/* SUBSTITUIÇÃO: RefreshCw Icon SVG */}
210
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
211
+ <path d="M21 2v6h-6"></path>
212
+ <path d="M3 12a9 9 0 0 1 15-6.7L21 8"></path>
213
+ <path d="M3 22v-6h6"></path>
214
+ <path d="M21 12a9 9 0 0 1-15 6.7L3 16"></path>
215
+ </svg>
206
216
  Retry
207
217
  </button>
208
218
  </div>
@@ -220,7 +230,12 @@ export default function ErrorPage() {
220
230
  }}>
221
231
  <span>Nyte Server</span>
222
232
  <div style={{display: 'flex', alignItems: 'center', gap: 6}}>
223
- <AlertTriangle size={10} color="#f87171" />
233
+ {/* SUBSTITUIÇÃO: AlertTriangle Icon SVG */}
234
+ <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="#f87171" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
235
+ <path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" />
236
+ <line x1="12" y1="9" x2="12" y2="13" />
237
+ <line x1="12" y1="17" x2="12.01" y2="17" />
238
+ </svg>
224
239
  <span style={{ color: '#f87171' }}>Not Found</span>
225
240
  </div>
226
241
  </div>