File size: 4,867 Bytes
4a0202c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | <!doctype html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover"
/>
<meta name="robots" content="noindex,nofollow" />
<meta name="description" content="Painel Administrativo da Barbershop — gestão de agendamentos, serviços, produtos e equipe." />
<!-- Aparência -->
<meta name="color-scheme" content="dark light" />
<meta name="theme-color" content="#111111" media="(prefers-color-scheme: dark)" />
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
<!-- Open Graph (opcional) -->
<meta property="og:title" content="Admin • Barbershop" />
<meta property="og:description" content="Gerencie agendamentos, produtos e barbeiros." />
<meta property="og:type" content="website" />
<!-- Ícones/manifest (adicione os arquivos em /public se quiser usá-los) -->
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<title>Admin • Barbershop</title>
<!-- Estilos base + loader -->
<style>
:root {
--bg: #ffffff;
--fg: #0a0a0a;
--muted: #7a7a7a;
--card: #ffffff;
--ring: rgba(0,0,0,.08);
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #0b0b0c;
--fg: #f5f5f5;
--muted: #a2a2a2;
--card: #111113;
--ring: rgba(255,255,255,.08);
}
}
* { box-sizing: border-box; }
html, body, #root { height: 100%; }
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font: 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
.boot {
height: 100%;
display: grid;
place-items: center;
padding: 24px;
}
.card {
width: min(560px, 92vw);
background: var(--card);
border: 1px solid var(--ring);
border-radius: 16px;
padding: 24px;
box-shadow:
0 1px 1px rgba(0,0,0,.04),
0 8px 32px rgba(0,0,0,.06);
}
.brand {
display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.brand .dot {
width: 12px; height: 12px; border-radius: 50%;
background: linear-gradient(135deg,#111,#444);
}
.title {
margin: 0;
font-size: 20px; font-weight: 700;
letter-spacing: .2px;
}
.muted { color: var(--muted); margin: 6px 0 18px; }
.progress {
display: inline-flex; align-items: center; gap: 10px;
}
.spinner {
width: 18px; height: 18px; border-radius: 50%;
border: 2px solid var(--ring);
border-top-color: var(--fg);
animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tips { margin-top: 16px; color: var(--muted); font-size: 12px; }
.tips code {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
background: rgba(127,127,127,.12);
padding: 2px 6px; border-radius: 8px;
}
noscript {
display: block;
max-width: 720px; margin: 24px auto; padding: 16px 20px;
border-radius: 12px; background: #ffe9e9; color: #5d0000;
border: 1px solid #ffc2c2;
}
</style>
</head>
<body>
<div id="root">
<!-- Fallback aparece até o React montar -->
<div class="boot">
<div class="card">
<div class="brand">
<div class="dot" aria-hidden="true"></div>
<h1 class="title">Admin • Barbershop</h1>
</div>
<p class="muted">Carregando painel…</p>
<div class="progress" aria-label="Carregando">
<div class="spinner" role="status" aria-hidden="true"></div>
<span>Preparando aplicação</span>
</div>
<div class="tips">
<div>Se demorar, atualize a página. Em alterações grandes, o Space pode estar rebuildando.</div>
<div>Dica: configure <code>VITE_CLIENT_URL</code> nas Variáveis do Space para linkar de volta ao site.</div>
</div>
</div>
</div>
</div>
<noscript>Ative o JavaScript para usar o painel administrativo.</noscript>
<!-- Entrada do app (Vite) -->
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
|