Add site builder service to Docker Compose and remove obsolete scripts

- Introduced a new service `igny8_site_builder` in `docker-compose.app.yml` for site building functionality, including environment variables and volume mappings.
- Deleted several outdated scripts: `create_test_users.py`, `test_image_write_access.py`, `update_free_plan.py`, and the database file `db.sqlite3` to clean up the backend.
- Updated Django settings and URL configurations to integrate the new site builder module.
This commit is contained in:
IGNY8 VPS (Salman)
2025-11-17 16:08:51 +00:00
parent e3d4ba2c02
commit 5a36686844
74 changed files with 7217 additions and 374 deletions

View File

@@ -0,0 +1,45 @@
.sb-card {
background: #ffffff;
border-radius: 16px;
border: 1px solid rgba(15, 23, 42, 0.08);
padding: 1.5rem;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
display: flex;
flex-direction: column;
gap: 1rem;
}
.sb-card__header {
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.sb-card__title {
font-size: 1.1rem;
font-weight: 600;
color: #0f172a;
margin: 0;
}
.sb-card__description {
color: #475569;
margin: 0;
font-size: 0.95rem;
}
.sb-card__body {
display: flex;
flex-direction: column;
gap: 1rem;
}
.sb-card__footer {
border-top: 1px solid rgba(15, 23, 42, 0.06);
padding-top: 1rem;
display: flex;
justify-content: flex-end;
gap: 0.75rem;
}

View File

@@ -0,0 +1,25 @@
import type { PropsWithChildren, ReactNode } from 'react';
import './Card.css';
interface CardProps extends PropsWithChildren {
title?: ReactNode;
description?: ReactNode;
footer?: ReactNode;
}
export function Card({ title, description, footer, children }: CardProps) {
return (
<section className="sb-card">
{(title || description) && (
<header className="sb-card__header">
{title && <h2 className="sb-card__title">{title}</h2>}
{description && <p className="sb-card__description">{description}</p>}
</header>
)}
<div className="sb-card__body">{children}</div>
{footer && <footer className="sb-card__footer">{footer}</footer>}
</section>
);
}