mirror of
https://gitlab.w-hs.de/an14051/backerup-website.git
synced 2026-07-27 17:35:29 +00:00
Refactor database interactions and update footer text
- Removed community sharing and self-hosted features from the features list in page.tsx. - Updated footer text in layout.tsx to remove the MIT License mention. - Added @libsql/client dependency to package.json and bun.lock for database management. - Implemented a new db.ts file to handle SQLite database connections and migrations. - Refactored user and file management functions in users.ts and store.ts to utilize the new database client. - Ensured legacy JSON data is imported into the new SQLite database structure on first run.
This commit is contained in:
+3
-21
@@ -101,24 +101,6 @@ const features = [
|
||||
title: "Scheduled backups",
|
||||
body: "Define cron-based backup jobs per container with configurable retention: keep latest N, keep every N-th, or purge older than N days.",
|
||||
},
|
||||
{
|
||||
icon: <ShareIcon />,
|
||||
gradient: "from-pink-500/15 to-rose-600/15",
|
||||
border: "border-pink-500/20",
|
||||
iconBg: "bg-pink-500/10",
|
||||
iconColor: "text-pink-400",
|
||||
title: "Community sharing",
|
||||
body: "Publish your container configs so others can spin up the same setup in seconds. Browse configs shared by the community right here.",
|
||||
},
|
||||
{
|
||||
icon: <ShieldIcon />,
|
||||
gradient: "from-slate-400/10 to-slate-500/10",
|
||||
border: "border-slate-600/30",
|
||||
iconBg: "bg-slate-500/10",
|
||||
iconColor: "text-slate-300",
|
||||
title: "Self-hosted & private",
|
||||
body: "Runs entirely inside your Docker environment. No cloud dependencies, no data leaves your server unless you choose to share.",
|
||||
},
|
||||
];
|
||||
|
||||
const steps = [
|
||||
@@ -153,16 +135,16 @@ const steps = [
|
||||
];
|
||||
|
||||
const pills = [
|
||||
{ label: "MIT Licensed", color: "text-emerald-400 bg-emerald-500/10 border-emerald-500/20" },
|
||||
{ label: "Open source", color: "text-emerald-400 bg-emerald-500/10 border-emerald-500/20" },
|
||||
{ label: "Zero cloud deps", color: "text-cyan-400 bg-cyan-500/10 border-cyan-500/20" },
|
||||
{ label: "Self-hosted", color: "text-violet-400 bg-violet-500/10 border-violet-500/20" },
|
||||
{ label: "Docker native", color: "text-blue-400 bg-blue-500/10 border-blue-500/20" },
|
||||
];
|
||||
|
||||
const stats = [
|
||||
{ num: 100, suffix: "%", label: "Open source", sub: "MIT licensed" },
|
||||
{ num: 100, suffix: "%", label: "Open source", sub: "source available" },
|
||||
{ num: 500, suffix: " MB", label: "Max file size", sub: "per upload" },
|
||||
{ num: 6, suffix: "+", label: "Backup strategies", sub: "fully configurable" },
|
||||
{ num: 4, suffix: "", label: "Backup strategies", sub: "fully configurable" },
|
||||
{ num: 0, suffix: "", label: "Cloud dependencies", sub: "runs on your infra" },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user