feat: branding PrintForge + logo + dominio 3d.consultoria-as.com
- Nombre de app: PrintForge - Logo generado: icono + version completa - Integracion en navbar y favicon de todas las paginas - QR code apunta a https://3d.consultoria-as.com - README actualizado con URL de produccion
This commit is contained in:
@@ -67,7 +67,7 @@ export PATH="$HOME/.local/bin:$PATH"
|
||||
uv run uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
|
||||
```
|
||||
|
||||
Abrir en navegador: `http://localhost:8000`
|
||||
Abrir en navegador: `https://3d.consultoria-as.com` (o `http://localhost:8000` en desarrollo)
|
||||
|
||||
### Docker
|
||||
```bash
|
||||
|
||||
@@ -731,7 +731,7 @@ def get_thumbnail(model_id: int, db: Session = Depends(get_db)):
|
||||
def get_qr(model_id: int, db: Session = Depends(get_db)):
|
||||
model = db.query(Model3D).filter(Model3D.id == model_id).first()
|
||||
if not model: raise HTTPException(status_code=404, detail="Model not found")
|
||||
url = f"http://192.168.10.104:8000/model/{model_id}"
|
||||
url = f"https://3d.consultoria-as.com/model/{model_id}"
|
||||
qr = qrcode.QRCode(version=1, box_size=10, border=2)
|
||||
qr.add_data(url); qr.make(fit=True)
|
||||
img = qr.make_image(fill_color="#0f172a", back_color="#ffffff")
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Detalle - STL Repository</title>
|
||||
<title>Detalle - PrintForge</title>
|
||||
<link rel="icon" type="image/png" href="/static/logo-icon.png">
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<script>
|
||||
@@ -26,12 +27,10 @@
|
||||
<nav class="glass sticky top-0 z-50 border-b border-white/5">
|
||||
<div class="max-w-7xl mx-auto px-6 py-4 flex items-center justify-between">
|
||||
<a href="/" class="flex items-center gap-3 group">
|
||||
<div class="w-10 h-10 rounded-xl bg-gradient-to-br from-cyan-500 to-blue-600 flex items-center justify-center text-xl shadow-lg group-hover:scale-110 transition-transform">
|
||||
🖨️
|
||||
</div>
|
||||
<img src="/static/logo-icon.png" alt="PrintForge" class="w-10 h-10 rounded-xl shadow-lg group-hover:scale-110 transition-transform">
|
||||
<div>
|
||||
<h1 class="text-xl font-bold bg-gradient-to-r from-cyan-400 to-blue-400 bg-clip-text text-transparent">STL Repository</h1>
|
||||
<p class="text-xs text-slate-400 -mt-0.5">Modelos 3D para imprimir</p>
|
||||
<h1 class="text-xl font-bold bg-gradient-to-r from-cyan-400 to-blue-400 bg-clip-text text-transparent">PrintForge</h1>
|
||||
<p class="text-xs text-slate-400 -mt-0.5">Forja tus ideas en 3D</p>
|
||||
</div>
|
||||
</a>
|
||||
<div class="flex items-center">
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>STL Repository</title>
|
||||
<title>PrintForge</title>
|
||||
<link rel="icon" type="image/png" href="/static/logo-icon.png">
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<script>
|
||||
@@ -23,12 +24,10 @@
|
||||
<nav class="glass sticky top-0 z-50 border-b border-white/5">
|
||||
<div class="max-w-7xl mx-auto px-6 py-4 flex items-center justify-between">
|
||||
<a href="/" class="flex items-center gap-3 group">
|
||||
<div class="w-10 h-10 rounded-xl bg-gradient-to-br from-cyan-500 to-blue-600 flex items-center justify-center text-xl shadow-lg group-hover:scale-110 transition-transform">
|
||||
🖨️
|
||||
</div>
|
||||
<img src="/static/logo-icon.png" alt="PrintForge" class="w-10 h-10 rounded-xl shadow-lg group-hover:scale-110 transition-transform">
|
||||
<div>
|
||||
<h1 class="text-xl font-bold bg-gradient-to-r from-cyan-400 to-blue-400 bg-clip-text text-transparent">STL Repository</h1>
|
||||
<p class="text-xs text-slate-400 -mt-0.5">Modelos 3D para imprimir</p>
|
||||
<h1 class="text-xl font-bold bg-gradient-to-r from-cyan-400 to-blue-400 bg-clip-text text-transparent">PrintForge</h1>
|
||||
<p class="text-xs text-slate-400 -mt-0.5">Forja tus ideas en 3D</p>
|
||||
</div>
|
||||
</a>
|
||||
<button id="theme-toggle" class="p-2.5 rounded-xl bg-slate-800 hover:bg-slate-700 border border-white/10 text-slate-400 hover:text-yellow-400 transition-colors" title="Cambiar tema">
|
||||
|
||||
BIN
static/logo-full.png
Normal file
BIN
static/logo-full.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
BIN
static/logo-icon.png
Normal file
BIN
static/logo-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
@@ -3,7 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Subir Modelo - STL Repository</title>
|
||||
<title>Subir Modelo - PrintForge</title>
|
||||
<link rel="icon" type="image/png" href="/static/logo-icon.png">
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<script>
|
||||
@@ -23,12 +24,10 @@
|
||||
<nav class="glass sticky top-0 z-50 border-b border-white/5">
|
||||
<div class="max-w-7xl mx-auto px-6 py-4 flex items-center justify-between">
|
||||
<a href="/" class="flex items-center gap-3 group">
|
||||
<div class="w-10 h-10 rounded-xl bg-gradient-to-br from-cyan-500 to-blue-600 flex items-center justify-center text-xl shadow-lg group-hover:scale-110 transition-transform">
|
||||
🖨️
|
||||
</div>
|
||||
<img src="/static/logo-icon.png" alt="PrintForge" class="w-10 h-10 rounded-xl shadow-lg group-hover:scale-110 transition-transform">
|
||||
<div>
|
||||
<h1 class="text-xl font-bold bg-gradient-to-r from-cyan-400 to-blue-400 bg-clip-text text-transparent">STL Repository</h1>
|
||||
<p class="text-xs text-slate-400 -mt-0.5">Modelos 3D para imprimir</p>
|
||||
<h1 class="text-xl font-bold bg-gradient-to-r from-cyan-400 to-blue-400 bg-clip-text text-transparent">PrintForge</h1>
|
||||
<p class="text-xs text-slate-400 -mt-0.5">Forja tus ideas en 3D</p>
|
||||
</div>
|
||||
</a>
|
||||
<button id="theme-toggle" class="p-2.5 rounded-xl bg-slate-800 hover:bg-slate-700 border border-white/10 text-slate-400 hover:text-yellow-400 transition-colors mr-2" title="Cambiar tema">
|
||||
|
||||
Reference in New Issue
Block a user