mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-10 03:11:46 +00:00
feat(payers): upload de avatar via arquivo com redimensionamento client-side
- círculo de upload no final da grade de avatares abre seletor de arquivo - imagem redimensionada para 200×200px via Canvas e salva como base64 - suporte a data URLs em next/image com prop unoptimized - object-cover adicionado ao componente base Avatar Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,11 @@ const nextConfig: NextConfig = {
|
||||
reactCompiler: true,
|
||||
|
||||
images: {
|
||||
remotePatterns: [new URL("https://lh3.googleusercontent.com/**")],
|
||||
remotePatterns: [
|
||||
new URL("https://lh3.googleusercontent.com/**"),
|
||||
{ protocol: "https", hostname: "**" },
|
||||
{ protocol: "http", hostname: "**" },
|
||||
],
|
||||
},
|
||||
devIndicators: {
|
||||
position: "bottom-right",
|
||||
|
||||
Reference in New Issue
Block a user